@fedify/vocab 2.0.9 → 2.0.10
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--vowmj74.mjs → deno-CToCOpwi.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-B2Bh5Rdt.mjs → vocab-D3NJe4Ki.mjs} +184 -184
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
|
@@ -712,7 +712,7 @@ var Object$1 = class Object$1 {
|
|
|
712
712
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
713
713
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
714
714
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
715
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
715
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
716
716
|
let fetchResult;
|
|
717
717
|
try {
|
|
718
718
|
fetchResult = await documentLoader(url.href);
|
|
@@ -858,7 +858,7 @@ var Object$1 = class Object$1 {
|
|
|
858
858
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
859
859
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
860
860
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
861
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
861
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
862
862
|
let fetchResult;
|
|
863
863
|
try {
|
|
864
864
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1070,7 +1070,7 @@ var Object$1 = class Object$1 {
|
|
|
1070
1070
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1071
1071
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1072
1072
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1073
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1073
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1074
1074
|
let fetchResult;
|
|
1075
1075
|
try {
|
|
1076
1076
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1254,7 +1254,7 @@ var Object$1 = class Object$1 {
|
|
|
1254
1254
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1255
1255
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1256
1256
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1257
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1257
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1258
1258
|
let fetchResult;
|
|
1259
1259
|
try {
|
|
1260
1260
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1416,7 +1416,7 @@ var Object$1 = class Object$1 {
|
|
|
1416
1416
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1417
1417
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1418
1418
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1419
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1419
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1420
1420
|
let fetchResult;
|
|
1421
1421
|
try {
|
|
1422
1422
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1546,7 +1546,7 @@ var Object$1 = class Object$1 {
|
|
|
1546
1546
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1547
1547
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1548
1548
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1549
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1549
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1550
1550
|
let fetchResult;
|
|
1551
1551
|
try {
|
|
1552
1552
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1712,7 +1712,7 @@ var Object$1 = class Object$1 {
|
|
|
1712
1712
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1713
1713
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1714
1714
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1715
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1715
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1716
1716
|
let fetchResult;
|
|
1717
1717
|
try {
|
|
1718
1718
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1878,7 +1878,7 @@ var Object$1 = class Object$1 {
|
|
|
1878
1878
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1879
1879
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1880
1880
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1881
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1881
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1882
1882
|
let fetchResult;
|
|
1883
1883
|
try {
|
|
1884
1884
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2052,7 +2052,7 @@ var Object$1 = class Object$1 {
|
|
|
2052
2052
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2053
2053
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2054
2054
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2055
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2055
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2056
2056
|
let fetchResult;
|
|
2057
2057
|
try {
|
|
2058
2058
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2226,7 +2226,7 @@ var Object$1 = class Object$1 {
|
|
|
2226
2226
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2227
2227
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2228
2228
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2229
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2229
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2230
2230
|
let fetchResult;
|
|
2231
2231
|
try {
|
|
2232
2232
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2405,7 +2405,7 @@ var Object$1 = class Object$1 {
|
|
|
2405
2405
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2406
2406
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2407
2407
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2408
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2408
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2409
2409
|
let fetchResult;
|
|
2410
2410
|
try {
|
|
2411
2411
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2526,7 +2526,7 @@ var Object$1 = class Object$1 {
|
|
|
2526
2526
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2527
2527
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2528
2528
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2529
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2529
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2530
2530
|
let fetchResult;
|
|
2531
2531
|
try {
|
|
2532
2532
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2653,7 +2653,7 @@ var Object$1 = class Object$1 {
|
|
|
2653
2653
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2654
2654
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2655
2655
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2656
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2656
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2657
2657
|
let fetchResult;
|
|
2658
2658
|
try {
|
|
2659
2659
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2780,7 +2780,7 @@ var Object$1 = class Object$1 {
|
|
|
2780
2780
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2781
2781
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2782
2782
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2783
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2783
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2784
2784
|
let fetchResult;
|
|
2785
2785
|
try {
|
|
2786
2786
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2925,7 +2925,7 @@ var Object$1 = class Object$1 {
|
|
|
2925
2925
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2926
2926
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2927
2927
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2928
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2928
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2929
2929
|
let fetchResult;
|
|
2930
2930
|
try {
|
|
2931
2931
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3077,7 +3077,7 @@ var Object$1 = class Object$1 {
|
|
|
3077
3077
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3078
3078
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3079
3079
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3080
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3080
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3081
3081
|
let fetchResult;
|
|
3082
3082
|
try {
|
|
3083
3083
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3241,7 +3241,7 @@ var Object$1 = class Object$1 {
|
|
|
3241
3241
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3242
3242
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3243
3243
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3244
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3244
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3245
3245
|
let fetchResult;
|
|
3246
3246
|
try {
|
|
3247
3247
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3405,7 +3405,7 @@ var Object$1 = class Object$1 {
|
|
|
3405
3405
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3406
3406
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3407
3407
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3408
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3408
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3409
3409
|
let fetchResult;
|
|
3410
3410
|
try {
|
|
3411
3411
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3569,7 +3569,7 @@ var Object$1 = class Object$1 {
|
|
|
3569
3569
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3570
3570
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3571
3571
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3572
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3572
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3573
3573
|
let fetchResult;
|
|
3574
3574
|
try {
|
|
3575
3575
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3770,7 +3770,7 @@ var Object$1 = class Object$1 {
|
|
|
3770
3770
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3771
3771
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3772
3772
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3773
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3773
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3774
3774
|
let fetchResult;
|
|
3775
3775
|
try {
|
|
3776
3776
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4559,7 +4559,7 @@ var Object$1 = class Object$1 {
|
|
|
4559
4559
|
* @throws {TypeError} If the given `json` is invalid.
|
|
4560
4560
|
*/
|
|
4561
4561
|
static async fromJsonLd(json, options = {}) {
|
|
4562
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
4562
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
4563
4563
|
try {
|
|
4564
4564
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
4565
4565
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -5803,7 +5803,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
5803
5803
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5804
5804
|
*/
|
|
5805
5805
|
static async fromJsonLd(json, options = {}) {
|
|
5806
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
5806
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5807
5807
|
try {
|
|
5808
5808
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
5809
5809
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6040,7 +6040,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6040
6040
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6041
6041
|
*/
|
|
6042
6042
|
static async fromJsonLd(json, options = {}) {
|
|
6043
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
6043
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6044
6044
|
try {
|
|
6045
6045
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
6046
6046
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6321,7 +6321,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6321
6321
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6322
6322
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6323
6323
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6324
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6324
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6325
6325
|
let fetchResult;
|
|
6326
6326
|
try {
|
|
6327
6327
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6533,7 +6533,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6533
6533
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6534
6534
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6535
6535
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6536
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6536
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6537
6537
|
let fetchResult;
|
|
6538
6538
|
try {
|
|
6539
6539
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6699,7 +6699,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6699
6699
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6700
6700
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6701
6701
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6702
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6702
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6703
6703
|
let fetchResult;
|
|
6704
6704
|
try {
|
|
6705
6705
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6871,7 +6871,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6871
6871
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6872
6872
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6873
6873
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6874
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6874
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6875
6875
|
let fetchResult;
|
|
6876
6876
|
try {
|
|
6877
6877
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7037,7 +7037,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7037
7037
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7038
7038
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7039
7039
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7040
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7040
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7041
7041
|
let fetchResult;
|
|
7042
7042
|
try {
|
|
7043
7043
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7205,7 +7205,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7205
7205
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7206
7206
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7207
7207
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7208
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7208
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7209
7209
|
let fetchResult;
|
|
7210
7210
|
try {
|
|
7211
7211
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7455,7 +7455,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7455
7455
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7456
7456
|
*/
|
|
7457
7457
|
static async fromJsonLd(json, options = {}) {
|
|
7458
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
7458
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7459
7459
|
try {
|
|
7460
7460
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
7461
7461
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7773,7 +7773,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
7773
7773
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7774
7774
|
*/
|
|
7775
7775
|
static async fromJsonLd(json, options = {}) {
|
|
7776
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
7776
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7777
7777
|
try {
|
|
7778
7778
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
7779
7779
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8019,7 +8019,7 @@ var PropertyValue = class {
|
|
|
8019
8019
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8020
8020
|
*/
|
|
8021
8021
|
static async fromJsonLd(json, options = {}) {
|
|
8022
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8022
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8023
8023
|
try {
|
|
8024
8024
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
8025
8025
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8253,7 +8253,7 @@ var DidService = class {
|
|
|
8253
8253
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8254
8254
|
*/
|
|
8255
8255
|
static async fromJsonLd(json, options = {}) {
|
|
8256
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8256
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8257
8257
|
try {
|
|
8258
8258
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
8259
8259
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8407,7 +8407,7 @@ var Export = class Export extends DidService {
|
|
|
8407
8407
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8408
8408
|
*/
|
|
8409
8409
|
static async fromJsonLd(json, options = {}) {
|
|
8410
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8410
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8411
8411
|
try {
|
|
8412
8412
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
8413
8413
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8580,7 +8580,7 @@ var DataIntegrityProof = class {
|
|
|
8580
8580
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8581
8581
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8582
8582
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8583
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
8583
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8584
8584
|
let fetchResult;
|
|
8585
8585
|
try {
|
|
8586
8586
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8799,7 +8799,7 @@ var DataIntegrityProof = class {
|
|
|
8799
8799
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8800
8800
|
*/
|
|
8801
8801
|
static async fromJsonLd(json, options = {}) {
|
|
8802
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8802
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8803
8803
|
try {
|
|
8804
8804
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
8805
8805
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9013,7 +9013,7 @@ var CryptographicKey = class {
|
|
|
9013
9013
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9014
9014
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9015
9015
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9016
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
9016
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9017
9017
|
let fetchResult;
|
|
9018
9018
|
try {
|
|
9019
9019
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9275,7 +9275,7 @@ var CryptographicKey = class {
|
|
|
9275
9275
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9276
9276
|
*/
|
|
9277
9277
|
static async fromJsonLd(json, options = {}) {
|
|
9278
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9278
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9279
9279
|
try {
|
|
9280
9280
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
9281
9281
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9470,7 +9470,7 @@ var Multikey = class {
|
|
|
9470
9470
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9471
9471
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9472
9472
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9473
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
9473
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9474
9474
|
let fetchResult;
|
|
9475
9475
|
try {
|
|
9476
9476
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9738,7 +9738,7 @@ var Multikey = class {
|
|
|
9738
9738
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9739
9739
|
*/
|
|
9740
9740
|
static async fromJsonLd(json, options = {}) {
|
|
9741
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9741
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9742
9742
|
try {
|
|
9743
9743
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
9744
9744
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9932,7 +9932,7 @@ var Accept = class Accept extends Activity {
|
|
|
9932
9932
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9933
9933
|
*/
|
|
9934
9934
|
static async fromJsonLd(json, options = {}) {
|
|
9935
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9935
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9936
9936
|
try {
|
|
9937
9937
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
9938
9938
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10083,7 +10083,7 @@ var Add = class Add extends Activity {
|
|
|
10083
10083
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10084
10084
|
*/
|
|
10085
10085
|
static async fromJsonLd(json, options = {}) {
|
|
10086
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10086
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10087
10087
|
try {
|
|
10088
10088
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
10089
10089
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10251,7 +10251,7 @@ var Announce = class Announce extends Activity {
|
|
|
10251
10251
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10252
10252
|
*/
|
|
10253
10253
|
static async fromJsonLd(json, options = {}) {
|
|
10254
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10254
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10255
10255
|
try {
|
|
10256
10256
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
10257
10257
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10646,7 +10646,7 @@ var Application = class Application extends Object$1 {
|
|
|
10646
10646
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10647
10647
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10648
10648
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10649
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
10649
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10650
10650
|
let fetchResult;
|
|
10651
10651
|
try {
|
|
10652
10652
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10808,7 +10808,7 @@ var Application = class Application extends Object$1 {
|
|
|
10808
10808
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10809
10809
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10810
10810
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10811
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
10811
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10812
10812
|
let fetchResult;
|
|
10813
10813
|
try {
|
|
10814
10814
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10988,7 +10988,7 @@ var Application = class Application extends Object$1 {
|
|
|
10988
10988
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10989
10989
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10990
10990
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10991
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
10991
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10992
10992
|
let fetchResult;
|
|
10993
10993
|
try {
|
|
10994
10994
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11130,7 +11130,7 @@ var Application = class Application extends Object$1 {
|
|
|
11130
11130
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11131
11131
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11132
11132
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11133
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11133
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11134
11134
|
let fetchResult;
|
|
11135
11135
|
try {
|
|
11136
11136
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11269,7 +11269,7 @@ var Application = class Application extends Object$1 {
|
|
|
11269
11269
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11270
11270
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11271
11271
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11272
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11272
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11273
11273
|
let fetchResult;
|
|
11274
11274
|
try {
|
|
11275
11275
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11393,7 +11393,7 @@ var Application = class Application extends Object$1 {
|
|
|
11393
11393
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11394
11394
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11395
11395
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11396
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11396
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11397
11397
|
let fetchResult;
|
|
11398
11398
|
try {
|
|
11399
11399
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11520,7 +11520,7 @@ var Application = class Application extends Object$1 {
|
|
|
11520
11520
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11521
11521
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11522
11522
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11523
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11523
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11524
11524
|
let fetchResult;
|
|
11525
11525
|
try {
|
|
11526
11526
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11645,7 +11645,7 @@ var Application = class Application extends Object$1 {
|
|
|
11645
11645
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11646
11646
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11647
11647
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11648
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11648
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11649
11649
|
let fetchResult;
|
|
11650
11650
|
try {
|
|
11651
11651
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11768,7 +11768,7 @@ var Application = class Application extends Object$1 {
|
|
|
11768
11768
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11769
11769
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11770
11770
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11771
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11771
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11772
11772
|
let fetchResult;
|
|
11773
11773
|
try {
|
|
11774
11774
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11891,7 +11891,7 @@ var Application = class Application extends Object$1 {
|
|
|
11891
11891
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11892
11892
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11893
11893
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11894
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11894
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11895
11895
|
let fetchResult;
|
|
11896
11896
|
try {
|
|
11897
11897
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12053,7 +12053,7 @@ var Application = class Application extends Object$1 {
|
|
|
12053
12053
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12054
12054
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12055
12055
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12056
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12056
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12057
12057
|
let fetchResult;
|
|
12058
12058
|
try {
|
|
12059
12059
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12219,7 +12219,7 @@ var Application = class Application extends Object$1 {
|
|
|
12219
12219
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12220
12220
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12221
12221
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12222
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12222
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12223
12223
|
let fetchResult;
|
|
12224
12224
|
try {
|
|
12225
12225
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12433,7 +12433,7 @@ var Application = class Application extends Object$1 {
|
|
|
12433
12433
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12434
12434
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12435
12435
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12436
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12436
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12437
12437
|
let fetchResult;
|
|
12438
12438
|
try {
|
|
12439
12439
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13116,7 +13116,7 @@ var Application = class Application extends Object$1 {
|
|
|
13116
13116
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13117
13117
|
*/
|
|
13118
13118
|
static async fromJsonLd(json, options = {}) {
|
|
13119
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
13119
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13120
13120
|
try {
|
|
13121
13121
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
13122
13122
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13669,7 +13669,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
13669
13669
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13670
13670
|
*/
|
|
13671
13671
|
static async fromJsonLd(json, options = {}) {
|
|
13672
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
13672
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13673
13673
|
try {
|
|
13674
13674
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
13675
13675
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13821,7 +13821,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
13821
13821
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13822
13822
|
*/
|
|
13823
13823
|
static async fromJsonLd(json, options = {}) {
|
|
13824
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
13824
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13825
13825
|
try {
|
|
13826
13826
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
13827
13827
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14056,7 +14056,7 @@ var Article = class Article extends Object$1 {
|
|
|
14056
14056
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14057
14057
|
*/
|
|
14058
14058
|
static async fromJsonLd(json, options = {}) {
|
|
14059
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14059
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14060
14060
|
try {
|
|
14061
14061
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
14062
14062
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14285,7 +14285,7 @@ var Document = class Document extends Object$1 {
|
|
|
14285
14285
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14286
14286
|
*/
|
|
14287
14287
|
static async fromJsonLd(json, options = {}) {
|
|
14288
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14288
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14289
14289
|
try {
|
|
14290
14290
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
14291
14291
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14468,7 +14468,7 @@ var Audio = class Audio extends Document {
|
|
|
14468
14468
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14469
14469
|
*/
|
|
14470
14470
|
static async fromJsonLd(json, options = {}) {
|
|
14471
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14471
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14472
14472
|
try {
|
|
14473
14473
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
14474
14474
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14616,7 +14616,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
14616
14616
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14617
14617
|
*/
|
|
14618
14618
|
static async fromJsonLd(json, options = {}) {
|
|
14619
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14619
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14620
14620
|
try {
|
|
14621
14621
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
14622
14622
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14767,7 +14767,7 @@ var Block = class Block extends Ignore {
|
|
|
14767
14767
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14768
14768
|
*/
|
|
14769
14769
|
static async fromJsonLd(json, options = {}) {
|
|
14770
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14770
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14771
14771
|
try {
|
|
14772
14772
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
14773
14773
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15031,7 +15031,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15031
15031
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15032
15032
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15033
15033
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15034
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15034
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15035
15035
|
let fetchResult;
|
|
15036
15036
|
try {
|
|
15037
15037
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15152,7 +15152,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15152
15152
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15153
15153
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15154
15154
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15155
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15155
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15156
15156
|
let fetchResult;
|
|
15157
15157
|
try {
|
|
15158
15158
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15273,7 +15273,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15273
15273
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15274
15274
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15275
15275
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15276
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15276
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15277
15277
|
let fetchResult;
|
|
15278
15278
|
try {
|
|
15279
15279
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15394,7 +15394,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15394
15394
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15395
15395
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15396
15396
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15397
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15397
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15398
15398
|
let fetchResult;
|
|
15399
15399
|
try {
|
|
15400
15400
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15525,7 +15525,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15525
15525
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15526
15526
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15527
15527
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15528
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15528
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15529
15529
|
let fetchResult;
|
|
15530
15530
|
try {
|
|
15531
15531
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15645,7 +15645,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15645
15645
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15646
15646
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15647
15647
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15648
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15648
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15649
15649
|
let fetchResult;
|
|
15650
15650
|
try {
|
|
15651
15651
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15765,7 +15765,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15765
15765
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15766
15766
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15767
15767
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15768
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15768
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15769
15769
|
let fetchResult;
|
|
15770
15770
|
try {
|
|
15771
15771
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15885,7 +15885,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15885
15885
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15886
15886
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15887
15887
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15888
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15888
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15889
15889
|
let fetchResult;
|
|
15890
15890
|
try {
|
|
15891
15891
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16005,7 +16005,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16005
16005
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16006
16006
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16007
16007
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16008
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16008
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16009
16009
|
let fetchResult;
|
|
16010
16010
|
try {
|
|
16011
16011
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16125,7 +16125,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16125
16125
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16126
16126
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16127
16127
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16128
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16128
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16129
16129
|
let fetchResult;
|
|
16130
16130
|
try {
|
|
16131
16131
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16245,7 +16245,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16245
16245
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16246
16246
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16247
16247
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16248
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16248
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16249
16249
|
let fetchResult;
|
|
16250
16250
|
try {
|
|
16251
16251
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16365,7 +16365,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16365
16365
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16366
16366
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16367
16367
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16368
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16368
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16369
16369
|
let fetchResult;
|
|
16370
16370
|
try {
|
|
16371
16371
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16792,7 +16792,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16792
16792
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16793
16793
|
*/
|
|
16794
16794
|
static async fromJsonLd(json, options = {}) {
|
|
16795
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
16795
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16796
16796
|
try {
|
|
16797
16797
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
16798
16798
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17239,7 +17239,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
17239
17239
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17240
17240
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17241
17241
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17242
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17242
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17243
17243
|
let fetchResult;
|
|
17244
17244
|
try {
|
|
17245
17245
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17360,7 +17360,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
17360
17360
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17361
17361
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17362
17362
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17363
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17363
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17364
17364
|
let fetchResult;
|
|
17365
17365
|
try {
|
|
17366
17366
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17480,7 +17480,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
17480
17480
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17481
17481
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17482
17482
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17483
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17483
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17484
17484
|
let fetchResult;
|
|
17485
17485
|
try {
|
|
17486
17486
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17744,7 +17744,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
17744
17744
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17745
17745
|
*/
|
|
17746
17746
|
static async fromJsonLd(json, options = {}) {
|
|
17747
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
17747
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17748
17748
|
try {
|
|
17749
17749
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
17750
17750
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17970,7 +17970,7 @@ var Create = class Create extends Activity {
|
|
|
17970
17970
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17971
17971
|
*/
|
|
17972
17972
|
static async fromJsonLd(json, options = {}) {
|
|
17973
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
17973
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17974
17974
|
try {
|
|
17975
17975
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
17976
17976
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18134,7 +18134,7 @@ var Delete = class Delete extends Activity {
|
|
|
18134
18134
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18135
18135
|
*/
|
|
18136
18136
|
static async fromJsonLd(json, options = {}) {
|
|
18137
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18137
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18138
18138
|
try {
|
|
18139
18139
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
18140
18140
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18285,7 +18285,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
18285
18285
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18286
18286
|
*/
|
|
18287
18287
|
static async fromJsonLd(json, options = {}) {
|
|
18288
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18288
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18289
18289
|
try {
|
|
18290
18290
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
18291
18291
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18632,7 +18632,7 @@ var Endpoints = class {
|
|
|
18632
18632
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18633
18633
|
*/
|
|
18634
18634
|
static async fromJsonLd(json, options = {}) {
|
|
18635
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18635
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18636
18636
|
try {
|
|
18637
18637
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
18638
18638
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18858,7 +18858,7 @@ var Event = class Event extends Object$1 {
|
|
|
18858
18858
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18859
18859
|
*/
|
|
18860
18860
|
static async fromJsonLd(json, options = {}) {
|
|
18861
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18861
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18862
18862
|
try {
|
|
18863
18863
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
18864
18864
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19007,7 +19007,7 @@ var Flag = class Flag extends Activity {
|
|
|
19007
19007
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19008
19008
|
*/
|
|
19009
19009
|
static async fromJsonLd(json, options = {}) {
|
|
19010
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19010
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19011
19011
|
try {
|
|
19012
19012
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
19013
19013
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19160,7 +19160,7 @@ var Follow = class Follow extends Activity {
|
|
|
19160
19160
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19161
19161
|
*/
|
|
19162
19162
|
static async fromJsonLd(json, options = {}) {
|
|
19163
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19163
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19164
19164
|
try {
|
|
19165
19165
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
19166
19166
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19555,7 +19555,7 @@ var Group = class Group extends Object$1 {
|
|
|
19555
19555
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19556
19556
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19557
19557
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19558
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
19558
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19559
19559
|
let fetchResult;
|
|
19560
19560
|
try {
|
|
19561
19561
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19717,7 +19717,7 @@ var Group = class Group extends Object$1 {
|
|
|
19717
19717
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19718
19718
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19719
19719
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19720
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
19720
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19721
19721
|
let fetchResult;
|
|
19722
19722
|
try {
|
|
19723
19723
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19897,7 +19897,7 @@ var Group = class Group extends Object$1 {
|
|
|
19897
19897
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19898
19898
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19899
19899
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19900
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
19900
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19901
19901
|
let fetchResult;
|
|
19902
19902
|
try {
|
|
19903
19903
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20039,7 +20039,7 @@ var Group = class Group extends Object$1 {
|
|
|
20039
20039
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20040
20040
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20041
20041
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20042
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20042
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20043
20043
|
let fetchResult;
|
|
20044
20044
|
try {
|
|
20045
20045
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20178,7 +20178,7 @@ var Group = class Group extends Object$1 {
|
|
|
20178
20178
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20179
20179
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20180
20180
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20181
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20181
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20182
20182
|
let fetchResult;
|
|
20183
20183
|
try {
|
|
20184
20184
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20302,7 +20302,7 @@ var Group = class Group extends Object$1 {
|
|
|
20302
20302
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20303
20303
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20304
20304
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20305
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20305
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20306
20306
|
let fetchResult;
|
|
20307
20307
|
try {
|
|
20308
20308
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20429,7 +20429,7 @@ var Group = class Group extends Object$1 {
|
|
|
20429
20429
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20430
20430
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20431
20431
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20432
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20432
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20433
20433
|
let fetchResult;
|
|
20434
20434
|
try {
|
|
20435
20435
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20554,7 +20554,7 @@ var Group = class Group extends Object$1 {
|
|
|
20554
20554
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20555
20555
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20556
20556
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20557
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20557
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20558
20558
|
let fetchResult;
|
|
20559
20559
|
try {
|
|
20560
20560
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20677,7 +20677,7 @@ var Group = class Group extends Object$1 {
|
|
|
20677
20677
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20678
20678
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20679
20679
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20680
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20680
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20681
20681
|
let fetchResult;
|
|
20682
20682
|
try {
|
|
20683
20683
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20800,7 +20800,7 @@ var Group = class Group extends Object$1 {
|
|
|
20800
20800
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20801
20801
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20802
20802
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20803
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20803
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20804
20804
|
let fetchResult;
|
|
20805
20805
|
try {
|
|
20806
20806
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20962,7 +20962,7 @@ var Group = class Group extends Object$1 {
|
|
|
20962
20962
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20963
20963
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20964
20964
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20965
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20965
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20966
20966
|
let fetchResult;
|
|
20967
20967
|
try {
|
|
20968
20968
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21128,7 +21128,7 @@ var Group = class Group extends Object$1 {
|
|
|
21128
21128
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21129
21129
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21130
21130
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21131
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21131
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21132
21132
|
let fetchResult;
|
|
21133
21133
|
try {
|
|
21134
21134
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21342,7 +21342,7 @@ var Group = class Group extends Object$1 {
|
|
|
21342
21342
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21343
21343
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21344
21344
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21345
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21345
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21346
21346
|
let fetchResult;
|
|
21347
21347
|
try {
|
|
21348
21348
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22025,7 +22025,7 @@ var Group = class Group extends Object$1 {
|
|
|
22025
22025
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22026
22026
|
*/
|
|
22027
22027
|
static async fromJsonLd(json, options = {}) {
|
|
22028
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
22028
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22029
22029
|
try {
|
|
22030
22030
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
22031
22031
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22717,7 +22717,7 @@ var Link = class Link {
|
|
|
22717
22717
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22718
22718
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22719
22719
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22720
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
22720
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22721
22721
|
let fetchResult;
|
|
22722
22722
|
try {
|
|
22723
22723
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23009,7 +23009,7 @@ var Link = class Link {
|
|
|
23009
23009
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23010
23010
|
*/
|
|
23011
23011
|
static async fromJsonLd(json, options = {}) {
|
|
23012
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23012
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23013
23013
|
try {
|
|
23014
23014
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
23015
23015
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23336,7 +23336,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
23336
23336
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23337
23337
|
*/
|
|
23338
23338
|
static async fromJsonLd(json, options = {}) {
|
|
23339
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23339
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23340
23340
|
try {
|
|
23341
23341
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
23342
23342
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23490,7 +23490,7 @@ var Image = class Image extends Document {
|
|
|
23490
23490
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23491
23491
|
*/
|
|
23492
23492
|
static async fromJsonLd(json, options = {}) {
|
|
23493
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23493
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23494
23494
|
try {
|
|
23495
23495
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
23496
23496
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23639,7 +23639,7 @@ var Offer = class Offer extends Activity {
|
|
|
23639
23639
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23640
23640
|
*/
|
|
23641
23641
|
static async fromJsonLd(json, options = {}) {
|
|
23642
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23642
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23643
23643
|
try {
|
|
23644
23644
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
23645
23645
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23788,7 +23788,7 @@ var Invite = class Invite extends Offer {
|
|
|
23788
23788
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23789
23789
|
*/
|
|
23790
23790
|
static async fromJsonLd(json, options = {}) {
|
|
23791
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23791
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23792
23792
|
try {
|
|
23793
23793
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
23794
23794
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23936,7 +23936,7 @@ var Join = class Join extends Activity {
|
|
|
23936
23936
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23937
23937
|
*/
|
|
23938
23938
|
static async fromJsonLd(json, options = {}) {
|
|
23939
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23939
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23940
23940
|
try {
|
|
23941
23941
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
23942
23942
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24084,7 +24084,7 @@ var Leave = class Leave extends Activity {
|
|
|
24084
24084
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24085
24085
|
*/
|
|
24086
24086
|
static async fromJsonLd(json, options = {}) {
|
|
24087
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24087
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24088
24088
|
try {
|
|
24089
24089
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
24090
24090
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24236,7 +24236,7 @@ var Like = class Like extends Activity {
|
|
|
24236
24236
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24237
24237
|
*/
|
|
24238
24238
|
static async fromJsonLd(json, options = {}) {
|
|
24239
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24239
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24240
24240
|
try {
|
|
24241
24241
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
24242
24242
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24383,7 +24383,7 @@ var Listen = class Listen extends Activity {
|
|
|
24383
24383
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24384
24384
|
*/
|
|
24385
24385
|
static async fromJsonLd(json, options = {}) {
|
|
24386
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24386
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24387
24387
|
try {
|
|
24388
24388
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
24389
24389
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24534,7 +24534,7 @@ var Mention = class Mention extends Link {
|
|
|
24534
24534
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24535
24535
|
*/
|
|
24536
24536
|
static async fromJsonLd(json, options = {}) {
|
|
24537
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24537
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24538
24538
|
try {
|
|
24539
24539
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
24540
24540
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24683,7 +24683,7 @@ var Move = class Move extends Activity {
|
|
|
24683
24683
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24684
24684
|
*/
|
|
24685
24685
|
static async fromJsonLd(json, options = {}) {
|
|
24686
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24686
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24687
24687
|
try {
|
|
24688
24688
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
24689
24689
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24919,7 +24919,7 @@ var Note = class Note extends Object$1 {
|
|
|
24919
24919
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24920
24920
|
*/
|
|
24921
24921
|
static async fromJsonLd(json, options = {}) {
|
|
24922
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24922
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24923
24923
|
try {
|
|
24924
24924
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
24925
24925
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25048,7 +25048,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
25048
25048
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25049
25049
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25050
25050
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25051
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
25051
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25052
25052
|
let fetchResult;
|
|
25053
25053
|
try {
|
|
25054
25054
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25296,7 +25296,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
25296
25296
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25297
25297
|
*/
|
|
25298
25298
|
static async fromJsonLd(json, options = {}) {
|
|
25299
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25299
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25300
25300
|
try {
|
|
25301
25301
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
25302
25302
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25502,7 +25502,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
25502
25502
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25503
25503
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25504
25504
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25505
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
25505
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25506
25506
|
let fetchResult;
|
|
25507
25507
|
try {
|
|
25508
25508
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25773,7 +25773,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
25773
25773
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25774
25774
|
*/
|
|
25775
25775
|
static async fromJsonLd(json, options = {}) {
|
|
25776
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25776
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25777
25777
|
try {
|
|
25778
25778
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
25779
25779
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26265,7 +26265,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
26265
26265
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26266
26266
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26267
26267
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26268
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26268
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26269
26269
|
let fetchResult;
|
|
26270
26270
|
try {
|
|
26271
26271
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26427,7 +26427,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
26427
26427
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26428
26428
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26429
26429
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26430
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26430
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26431
26431
|
let fetchResult;
|
|
26432
26432
|
try {
|
|
26433
26433
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26607,7 +26607,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
26607
26607
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26608
26608
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26609
26609
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26610
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26610
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26611
26611
|
let fetchResult;
|
|
26612
26612
|
try {
|
|
26613
26613
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26749,7 +26749,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
26749
26749
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26750
26750
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26751
26751
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26752
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26752
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26753
26753
|
let fetchResult;
|
|
26754
26754
|
try {
|
|
26755
26755
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26888,7 +26888,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
26888
26888
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26889
26889
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26890
26890
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26891
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26891
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26892
26892
|
let fetchResult;
|
|
26893
26893
|
try {
|
|
26894
26894
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27012,7 +27012,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27012
27012
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27013
27013
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27014
27014
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27015
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27015
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27016
27016
|
let fetchResult;
|
|
27017
27017
|
try {
|
|
27018
27018
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27139,7 +27139,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27139
27139
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27140
27140
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27141
27141
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27142
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27142
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27143
27143
|
let fetchResult;
|
|
27144
27144
|
try {
|
|
27145
27145
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27264,7 +27264,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27264
27264
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27265
27265
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27266
27266
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27267
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27267
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27268
27268
|
let fetchResult;
|
|
27269
27269
|
try {
|
|
27270
27270
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27387,7 +27387,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27387
27387
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27388
27388
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27389
27389
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27390
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27390
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27391
27391
|
let fetchResult;
|
|
27392
27392
|
try {
|
|
27393
27393
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27510,7 +27510,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27510
27510
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27511
27511
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27512
27512
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27513
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27513
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27514
27514
|
let fetchResult;
|
|
27515
27515
|
try {
|
|
27516
27516
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27672,7 +27672,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27672
27672
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27673
27673
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27674
27674
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27675
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27675
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27676
27676
|
let fetchResult;
|
|
27677
27677
|
try {
|
|
27678
27678
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27838,7 +27838,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27838
27838
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27839
27839
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27840
27840
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27841
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27841
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27842
27842
|
let fetchResult;
|
|
27843
27843
|
try {
|
|
27844
27844
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28052,7 +28052,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28052
28052
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28053
28053
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28054
28054
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28055
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28055
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28056
28056
|
let fetchResult;
|
|
28057
28057
|
try {
|
|
28058
28058
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28735,7 +28735,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28735
28735
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28736
28736
|
*/
|
|
28737
28737
|
static async fromJsonLd(json, options = {}) {
|
|
28738
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
28738
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28739
28739
|
try {
|
|
28740
28740
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
28741
28741
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29293,7 +29293,7 @@ var Page = class Page extends Document {
|
|
|
29293
29293
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29294
29294
|
*/
|
|
29295
29295
|
static async fromJsonLd(json, options = {}) {
|
|
29296
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
29296
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29297
29297
|
try {
|
|
29298
29298
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
29299
29299
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29688,7 +29688,7 @@ var Person = class Person extends Object$1 {
|
|
|
29688
29688
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29689
29689
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29690
29690
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29691
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29691
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29692
29692
|
let fetchResult;
|
|
29693
29693
|
try {
|
|
29694
29694
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29850,7 +29850,7 @@ var Person = class Person extends Object$1 {
|
|
|
29850
29850
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29851
29851
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29852
29852
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29853
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29853
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29854
29854
|
let fetchResult;
|
|
29855
29855
|
try {
|
|
29856
29856
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30030,7 +30030,7 @@ var Person = class Person extends Object$1 {
|
|
|
30030
30030
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30031
30031
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30032
30032
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30033
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30033
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30034
30034
|
let fetchResult;
|
|
30035
30035
|
try {
|
|
30036
30036
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30172,7 +30172,7 @@ var Person = class Person extends Object$1 {
|
|
|
30172
30172
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30173
30173
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30174
30174
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30175
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30175
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30176
30176
|
let fetchResult;
|
|
30177
30177
|
try {
|
|
30178
30178
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30311,7 +30311,7 @@ var Person = class Person extends Object$1 {
|
|
|
30311
30311
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30312
30312
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30313
30313
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30314
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30314
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30315
30315
|
let fetchResult;
|
|
30316
30316
|
try {
|
|
30317
30317
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30435,7 +30435,7 @@ var Person = class Person extends Object$1 {
|
|
|
30435
30435
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30436
30436
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30437
30437
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30438
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30438
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30439
30439
|
let fetchResult;
|
|
30440
30440
|
try {
|
|
30441
30441
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30562,7 +30562,7 @@ var Person = class Person extends Object$1 {
|
|
|
30562
30562
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30563
30563
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30564
30564
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30565
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30565
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30566
30566
|
let fetchResult;
|
|
30567
30567
|
try {
|
|
30568
30568
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30687,7 +30687,7 @@ var Person = class Person extends Object$1 {
|
|
|
30687
30687
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30688
30688
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30689
30689
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30690
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30690
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30691
30691
|
let fetchResult;
|
|
30692
30692
|
try {
|
|
30693
30693
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30810,7 +30810,7 @@ var Person = class Person extends Object$1 {
|
|
|
30810
30810
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30811
30811
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30812
30812
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30813
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30813
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30814
30814
|
let fetchResult;
|
|
30815
30815
|
try {
|
|
30816
30816
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30933,7 +30933,7 @@ var Person = class Person extends Object$1 {
|
|
|
30933
30933
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30934
30934
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30935
30935
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30936
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30936
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30937
30937
|
let fetchResult;
|
|
30938
30938
|
try {
|
|
30939
30939
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31095,7 +31095,7 @@ var Person = class Person extends Object$1 {
|
|
|
31095
31095
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31096
31096
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31097
31097
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31098
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31098
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31099
31099
|
let fetchResult;
|
|
31100
31100
|
try {
|
|
31101
31101
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31261,7 +31261,7 @@ var Person = class Person extends Object$1 {
|
|
|
31261
31261
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31262
31262
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31263
31263
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31264
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31264
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31265
31265
|
let fetchResult;
|
|
31266
31266
|
try {
|
|
31267
31267
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31475,7 +31475,7 @@ var Person = class Person extends Object$1 {
|
|
|
31475
31475
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31476
31476
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31477
31477
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31478
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31478
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31479
31479
|
let fetchResult;
|
|
31480
31480
|
try {
|
|
31481
31481
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32158,7 +32158,7 @@ var Person = class Person extends Object$1 {
|
|
|
32158
32158
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32159
32159
|
*/
|
|
32160
32160
|
static async fromJsonLd(json, options = {}) {
|
|
32161
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
32161
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32162
32162
|
try {
|
|
32163
32163
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
32164
32164
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32893,7 +32893,7 @@ var Place = class Place extends Object$1 {
|
|
|
32893
32893
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32894
32894
|
*/
|
|
32895
32895
|
static async fromJsonLd(json, options = {}) {
|
|
32896
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
32896
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32897
32897
|
try {
|
|
32898
32898
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
32899
32899
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33084,7 +33084,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
33084
33084
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33085
33085
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33086
33086
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33087
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
33087
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33088
33088
|
let fetchResult;
|
|
33089
33089
|
try {
|
|
33090
33090
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33277,7 +33277,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
33277
33277
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33278
33278
|
*/
|
|
33279
33279
|
static async fromJsonLd(json, options = {}) {
|
|
33280
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
33280
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33281
33281
|
try {
|
|
33282
33282
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
33283
33283
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33448,7 +33448,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
33448
33448
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33449
33449
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33450
33450
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33451
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
33451
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33452
33452
|
let fetchResult;
|
|
33453
33453
|
try {
|
|
33454
33454
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33570,7 +33570,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
33570
33570
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33571
33571
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33572
33572
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33573
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
33573
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33574
33574
|
let fetchResult;
|
|
33575
33575
|
try {
|
|
33576
33576
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33833,7 +33833,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
33833
33833
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33834
33834
|
*/
|
|
33835
33835
|
static async fromJsonLd(json, options = {}) {
|
|
33836
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
33836
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33837
33837
|
try {
|
|
33838
33838
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
33839
33839
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34059,7 +34059,7 @@ var Read = class Read extends Activity {
|
|
|
34059
34059
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34060
34060
|
*/
|
|
34061
34061
|
static async fromJsonLd(json, options = {}) {
|
|
34062
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
34062
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34063
34063
|
try {
|
|
34064
34064
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
34065
34065
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34207,7 +34207,7 @@ var Reject = class Reject extends Activity {
|
|
|
34207
34207
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34208
34208
|
*/
|
|
34209
34209
|
static async fromJsonLd(json, options = {}) {
|
|
34210
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
34210
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34211
34211
|
try {
|
|
34212
34212
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
34213
34213
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34380,7 +34380,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
34380
34380
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34381
34381
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34382
34382
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34383
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
34383
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34384
34384
|
let fetchResult;
|
|
34385
34385
|
try {
|
|
34386
34386
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34503,7 +34503,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
34503
34503
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34504
34504
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34505
34505
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34506
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
34506
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34507
34507
|
let fetchResult;
|
|
34508
34508
|
try {
|
|
34509
34509
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34665,7 +34665,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
34665
34665
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34666
34666
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34667
34667
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34668
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
34668
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34669
34669
|
let fetchResult;
|
|
34670
34670
|
try {
|
|
34671
34671
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34935,7 +34935,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
34935
34935
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34936
34936
|
*/
|
|
34937
34937
|
static async fromJsonLd(json, options = {}) {
|
|
34938
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
34938
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34939
34939
|
try {
|
|
34940
34940
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
34941
34941
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35143,7 +35143,7 @@ var Remove = class Remove extends Activity {
|
|
|
35143
35143
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35144
35144
|
*/
|
|
35145
35145
|
static async fromJsonLd(json, options = {}) {
|
|
35146
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
35146
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35147
35147
|
try {
|
|
35148
35148
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
35149
35149
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35538,7 +35538,7 @@ var Service = class Service extends Object$1 {
|
|
|
35538
35538
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35539
35539
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35540
35540
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35541
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35541
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35542
35542
|
let fetchResult;
|
|
35543
35543
|
try {
|
|
35544
35544
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35700,7 +35700,7 @@ var Service = class Service extends Object$1 {
|
|
|
35700
35700
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35701
35701
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35702
35702
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35703
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35703
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35704
35704
|
let fetchResult;
|
|
35705
35705
|
try {
|
|
35706
35706
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35880,7 +35880,7 @@ var Service = class Service extends Object$1 {
|
|
|
35880
35880
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35881
35881
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35882
35882
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35883
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35883
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35884
35884
|
let fetchResult;
|
|
35885
35885
|
try {
|
|
35886
35886
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36022,7 +36022,7 @@ var Service = class Service extends Object$1 {
|
|
|
36022
36022
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36023
36023
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36024
36024
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36025
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36025
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36026
36026
|
let fetchResult;
|
|
36027
36027
|
try {
|
|
36028
36028
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36161,7 +36161,7 @@ var Service = class Service extends Object$1 {
|
|
|
36161
36161
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36162
36162
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36163
36163
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36164
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36164
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36165
36165
|
let fetchResult;
|
|
36166
36166
|
try {
|
|
36167
36167
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36285,7 +36285,7 @@ var Service = class Service extends Object$1 {
|
|
|
36285
36285
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36286
36286
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36287
36287
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36288
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36288
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36289
36289
|
let fetchResult;
|
|
36290
36290
|
try {
|
|
36291
36291
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36412,7 +36412,7 @@ var Service = class Service extends Object$1 {
|
|
|
36412
36412
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36413
36413
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36414
36414
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36415
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36415
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36416
36416
|
let fetchResult;
|
|
36417
36417
|
try {
|
|
36418
36418
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36537,7 +36537,7 @@ var Service = class Service extends Object$1 {
|
|
|
36537
36537
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36538
36538
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36539
36539
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36540
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36540
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36541
36541
|
let fetchResult;
|
|
36542
36542
|
try {
|
|
36543
36543
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36660,7 +36660,7 @@ var Service = class Service extends Object$1 {
|
|
|
36660
36660
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36661
36661
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36662
36662
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36663
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36663
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36664
36664
|
let fetchResult;
|
|
36665
36665
|
try {
|
|
36666
36666
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36783,7 +36783,7 @@ var Service = class Service extends Object$1 {
|
|
|
36783
36783
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36784
36784
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36785
36785
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36786
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36786
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36787
36787
|
let fetchResult;
|
|
36788
36788
|
try {
|
|
36789
36789
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36945,7 +36945,7 @@ var Service = class Service extends Object$1 {
|
|
|
36945
36945
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36946
36946
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36947
36947
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36948
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36948
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36949
36949
|
let fetchResult;
|
|
36950
36950
|
try {
|
|
36951
36951
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37111,7 +37111,7 @@ var Service = class Service extends Object$1 {
|
|
|
37111
37111
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37112
37112
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37113
37113
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37114
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37114
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37115
37115
|
let fetchResult;
|
|
37116
37116
|
try {
|
|
37117
37117
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37325,7 +37325,7 @@ var Service = class Service extends Object$1 {
|
|
|
37325
37325
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37326
37326
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37327
37327
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37328
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37328
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37329
37329
|
let fetchResult;
|
|
37330
37330
|
try {
|
|
37331
37331
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38008,7 +38008,7 @@ var Service = class Service extends Object$1 {
|
|
|
38008
38008
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38009
38009
|
*/
|
|
38010
38010
|
static async fromJsonLd(json, options = {}) {
|
|
38011
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
38011
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38012
38012
|
try {
|
|
38013
38013
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
38014
38014
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38658,7 +38658,7 @@ var Source = class {
|
|
|
38658
38658
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38659
38659
|
*/
|
|
38660
38660
|
static async fromJsonLd(json, options = {}) {
|
|
38661
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
38661
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38662
38662
|
try {
|
|
38663
38663
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
38664
38664
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38833,7 +38833,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
38833
38833
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38834
38834
|
*/
|
|
38835
38835
|
static async fromJsonLd(json, options = {}) {
|
|
38836
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
38836
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38837
38837
|
try {
|
|
38838
38838
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
38839
38839
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38981,7 +38981,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
38981
38981
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38982
38982
|
*/
|
|
38983
38983
|
static async fromJsonLd(json, options = {}) {
|
|
38984
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
38984
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38985
38985
|
try {
|
|
38986
38986
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
38987
38987
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39168,7 +39168,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
39168
39168
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39169
39169
|
*/
|
|
39170
39170
|
static async fromJsonLd(json, options = {}) {
|
|
39171
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39171
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39172
39172
|
try {
|
|
39173
39173
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
39174
39174
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39331,7 +39331,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
39331
39331
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39332
39332
|
*/
|
|
39333
39333
|
static async fromJsonLd(json, options = {}) {
|
|
39334
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39334
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39335
39335
|
try {
|
|
39336
39336
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
39337
39337
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39493,7 +39493,7 @@ var Undo = class Undo extends Activity {
|
|
|
39493
39493
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39494
39494
|
*/
|
|
39495
39495
|
static async fromJsonLd(json, options = {}) {
|
|
39496
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39496
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39497
39497
|
try {
|
|
39498
39498
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
39499
39499
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39693,7 +39693,7 @@ var Update = class Update extends Activity {
|
|
|
39693
39693
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39694
39694
|
*/
|
|
39695
39695
|
static async fromJsonLd(json, options = {}) {
|
|
39696
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39696
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39697
39697
|
try {
|
|
39698
39698
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
39699
39699
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39847,7 +39847,7 @@ var Video = class Video extends Document {
|
|
|
39847
39847
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39848
39848
|
*/
|
|
39849
39849
|
static async fromJsonLd(json, options = {}) {
|
|
39850
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39850
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39851
39851
|
try {
|
|
39852
39852
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
39853
39853
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39994,7 +39994,7 @@ var View = class View extends Activity {
|
|
|
39994
39994
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39995
39995
|
*/
|
|
39996
39996
|
static async fromJsonLd(json, options = {}) {
|
|
39997
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39997
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39998
39998
|
try {
|
|
39999
39999
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
40000
40000
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|