@fedify/vocab 2.1.25 → 2.1.26
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 +202 -202
- package/dist/mod.js +202 -202
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/{deno-DHi8-LT3.mjs → deno-Cz-KMvez.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-CyEe0PZp.mjs → vocab-CUCvA5FQ.mjs} +201 -201
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
|
@@ -796,7 +796,7 @@ var Object$1 = class Object$1 {
|
|
|
796
796
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
797
797
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
798
798
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
799
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
799
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
800
800
|
let fetchResult;
|
|
801
801
|
try {
|
|
802
802
|
fetchResult = await documentLoader(url.href);
|
|
@@ -952,7 +952,7 @@ var Object$1 = class Object$1 {
|
|
|
952
952
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
953
953
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
954
954
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
955
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
955
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
956
956
|
let fetchResult;
|
|
957
957
|
try {
|
|
958
958
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1183,7 +1183,7 @@ var Object$1 = class Object$1 {
|
|
|
1183
1183
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1184
1184
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1185
1185
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1186
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1186
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1187
1187
|
let fetchResult;
|
|
1188
1188
|
try {
|
|
1189
1189
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1386,7 +1386,7 @@ var Object$1 = class Object$1 {
|
|
|
1386
1386
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1387
1387
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1388
1388
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1389
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1389
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1390
1390
|
let fetchResult;
|
|
1391
1391
|
try {
|
|
1392
1392
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1558,7 +1558,7 @@ var Object$1 = class Object$1 {
|
|
|
1558
1558
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1559
1559
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1560
1560
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1561
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1561
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1562
1562
|
let fetchResult;
|
|
1563
1563
|
try {
|
|
1564
1564
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1698,7 +1698,7 @@ var Object$1 = class Object$1 {
|
|
|
1698
1698
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1699
1699
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1700
1700
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1701
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1701
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1702
1702
|
let fetchResult;
|
|
1703
1703
|
try {
|
|
1704
1704
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1883,7 +1883,7 @@ var Object$1 = class Object$1 {
|
|
|
1883
1883
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1884
1884
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1885
1885
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1886
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1886
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1887
1887
|
let fetchResult;
|
|
1888
1888
|
try {
|
|
1889
1889
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2068,7 +2068,7 @@ var Object$1 = class Object$1 {
|
|
|
2068
2068
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2069
2069
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2070
2070
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2071
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2071
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2072
2072
|
let fetchResult;
|
|
2073
2073
|
try {
|
|
2074
2074
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2261,7 +2261,7 @@ var Object$1 = class Object$1 {
|
|
|
2261
2261
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2262
2262
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2263
2263
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2264
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2264
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2265
2265
|
let fetchResult;
|
|
2266
2266
|
try {
|
|
2267
2267
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2454,7 +2454,7 @@ var Object$1 = class Object$1 {
|
|
|
2454
2454
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2455
2455
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2456
2456
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2457
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2457
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2458
2458
|
let fetchResult;
|
|
2459
2459
|
try {
|
|
2460
2460
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2652,7 +2652,7 @@ var Object$1 = class Object$1 {
|
|
|
2652
2652
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2653
2653
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2654
2654
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2655
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2655
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2656
2656
|
let fetchResult;
|
|
2657
2657
|
try {
|
|
2658
2658
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2782,7 +2782,7 @@ var Object$1 = class Object$1 {
|
|
|
2782
2782
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2783
2783
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2784
2784
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2785
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2785
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2786
2786
|
let fetchResult;
|
|
2787
2787
|
try {
|
|
2788
2788
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2918,7 +2918,7 @@ var Object$1 = class Object$1 {
|
|
|
2918
2918
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2919
2919
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2920
2920
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2921
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2921
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2922
2922
|
let fetchResult;
|
|
2923
2923
|
try {
|
|
2924
2924
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3054,7 +3054,7 @@ var Object$1 = class Object$1 {
|
|
|
3054
3054
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3055
3055
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3056
3056
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3057
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3057
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3058
3058
|
let fetchResult;
|
|
3059
3059
|
try {
|
|
3060
3060
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3208,7 +3208,7 @@ var Object$1 = class Object$1 {
|
|
|
3208
3208
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3209
3209
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3210
3210
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3211
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3211
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3212
3212
|
let fetchResult;
|
|
3213
3213
|
try {
|
|
3214
3214
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3370,7 +3370,7 @@ var Object$1 = class Object$1 {
|
|
|
3370
3370
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3371
3371
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3372
3372
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3373
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3373
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3374
3374
|
let fetchResult;
|
|
3375
3375
|
try {
|
|
3376
3376
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3553,7 +3553,7 @@ var Object$1 = class Object$1 {
|
|
|
3553
3553
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3554
3554
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3555
3555
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3556
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3556
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3557
3557
|
let fetchResult;
|
|
3558
3558
|
try {
|
|
3559
3559
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3736,7 +3736,7 @@ var Object$1 = class Object$1 {
|
|
|
3736
3736
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3737
3737
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3738
3738
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3739
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3739
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3740
3740
|
let fetchResult;
|
|
3741
3741
|
try {
|
|
3742
3742
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3919,7 +3919,7 @@ var Object$1 = class Object$1 {
|
|
|
3919
3919
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3920
3920
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3921
3921
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3922
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3922
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3923
3923
|
let fetchResult;
|
|
3924
3924
|
try {
|
|
3925
3925
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4139,7 +4139,7 @@ var Object$1 = class Object$1 {
|
|
|
4139
4139
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4140
4140
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4141
4141
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4142
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4142
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4143
4143
|
let fetchResult;
|
|
4144
4144
|
try {
|
|
4145
4145
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4345,7 +4345,7 @@ var Object$1 = class Object$1 {
|
|
|
4345
4345
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4346
4346
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4347
4347
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4348
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4348
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4349
4349
|
let fetchResult;
|
|
4350
4350
|
try {
|
|
4351
4351
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4475,7 +4475,7 @@ var Object$1 = class Object$1 {
|
|
|
4475
4475
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4476
4476
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4477
4477
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4478
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4478
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4479
4479
|
let fetchResult;
|
|
4480
4480
|
try {
|
|
4481
4481
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4605,7 +4605,7 @@ var Object$1 = class Object$1 {
|
|
|
4605
4605
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4606
4606
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4607
4607
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4608
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4608
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4609
4609
|
let fetchResult;
|
|
4610
4610
|
try {
|
|
4611
4611
|
fetchResult = await documentLoader(url.href);
|
|
@@ -5441,7 +5441,7 @@ var Object$1 = class Object$1 {
|
|
|
5441
5441
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5442
5442
|
*/
|
|
5443
5443
|
static async fromJsonLd(json, options = {}) {
|
|
5444
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
5444
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5445
5445
|
try {
|
|
5446
5446
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
5447
5447
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6917,7 +6917,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
6917
6917
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6918
6918
|
*/
|
|
6919
6919
|
static async fromJsonLd(json, options = {}) {
|
|
6920
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
6920
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6921
6921
|
try {
|
|
6922
6922
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
6923
6923
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7158,7 +7158,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7158
7158
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7159
7159
|
*/
|
|
7160
7160
|
static async fromJsonLd(json, options = {}) {
|
|
7161
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
7161
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7162
7162
|
try {
|
|
7163
7163
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
7164
7164
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7447,7 +7447,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7447
7447
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7448
7448
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7449
7449
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7450
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7450
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7451
7451
|
let fetchResult;
|
|
7452
7452
|
try {
|
|
7453
7453
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7678,7 +7678,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7678
7678
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7679
7679
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7680
7680
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7681
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7681
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7682
7682
|
let fetchResult;
|
|
7683
7683
|
try {
|
|
7684
7684
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7863,7 +7863,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7863
7863
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7864
7864
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7865
7865
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7866
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7866
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7867
7867
|
let fetchResult;
|
|
7868
7868
|
try {
|
|
7869
7869
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8054,7 +8054,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8054
8054
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8055
8055
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8056
8056
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8057
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
8057
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8058
8058
|
let fetchResult;
|
|
8059
8059
|
try {
|
|
8060
8060
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8239,7 +8239,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8239
8239
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8240
8240
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8241
8241
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8242
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
8242
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8243
8243
|
let fetchResult;
|
|
8244
8244
|
try {
|
|
8245
8245
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8426,7 +8426,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8426
8426
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8427
8427
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8428
8428
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8429
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
8429
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8430
8430
|
let fetchResult;
|
|
8431
8431
|
try {
|
|
8432
8432
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8696,7 +8696,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8696
8696
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8697
8697
|
*/
|
|
8698
8698
|
static async fromJsonLd(json, options = {}) {
|
|
8699
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
8699
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8700
8700
|
try {
|
|
8701
8701
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
8702
8702
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9034,7 +9034,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
9034
9034
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9035
9035
|
*/
|
|
9036
9036
|
static async fromJsonLd(json, options = {}) {
|
|
9037
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9037
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9038
9038
|
try {
|
|
9039
9039
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
9040
9040
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9294,7 +9294,7 @@ var PropertyValue = class {
|
|
|
9294
9294
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9295
9295
|
*/
|
|
9296
9296
|
static async fromJsonLd(json, options = {}) {
|
|
9297
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9297
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9298
9298
|
try {
|
|
9299
9299
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
9300
9300
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9464,7 +9464,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9464
9464
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9465
9465
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9466
9466
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9467
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
9467
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9468
9468
|
let fetchResult;
|
|
9469
9469
|
try {
|
|
9470
9470
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9594,7 +9594,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9594
9594
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9595
9595
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9596
9596
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9597
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
9597
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9598
9598
|
let fetchResult;
|
|
9599
9599
|
try {
|
|
9600
9600
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9819,7 +9819,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9819
9819
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9820
9820
|
*/
|
|
9821
9821
|
static async fromJsonLd(json, options = {}) {
|
|
9822
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9822
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9823
9823
|
try {
|
|
9824
9824
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
9825
9825
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10022,7 +10022,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
10022
10022
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10023
10023
|
*/
|
|
10024
10024
|
static async fromJsonLd(json, options = {}) {
|
|
10025
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
10025
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10026
10026
|
try {
|
|
10027
10027
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
10028
10028
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10276,7 +10276,7 @@ var InteractionPolicy = class {
|
|
|
10276
10276
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10277
10277
|
*/
|
|
10278
10278
|
static async fromJsonLd(json, options = {}) {
|
|
10279
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
10279
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10280
10280
|
try {
|
|
10281
10281
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
10282
10282
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10598,7 +10598,7 @@ var InteractionRule = class {
|
|
|
10598
10598
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10599
10599
|
*/
|
|
10600
10600
|
static async fromJsonLd(json, options = {}) {
|
|
10601
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
10601
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10602
10602
|
try {
|
|
10603
10603
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
10604
10604
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10761,7 +10761,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10761
10761
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10762
10762
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10763
10763
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10764
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10764
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10765
10765
|
let fetchResult;
|
|
10766
10766
|
try {
|
|
10767
10767
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10891,7 +10891,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10891
10891
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10892
10892
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10893
10893
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10894
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10894
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10895
10895
|
let fetchResult;
|
|
10896
10896
|
try {
|
|
10897
10897
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11116,7 +11116,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11116
11116
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11117
11117
|
*/
|
|
11118
11118
|
static async fromJsonLd(json, options = {}) {
|
|
11119
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11119
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11120
11120
|
try {
|
|
11121
11121
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
11122
11122
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11318,7 +11318,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
11318
11318
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11319
11319
|
*/
|
|
11320
11320
|
static async fromJsonLd(json, options = {}) {
|
|
11321
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11321
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11322
11322
|
try {
|
|
11323
11323
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
11324
11324
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11451,7 +11451,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11451
11451
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11452
11452
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11453
11453
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11454
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
11454
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11455
11455
|
let fetchResult;
|
|
11456
11456
|
try {
|
|
11457
11457
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11581,7 +11581,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11581
11581
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11582
11582
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11583
11583
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11584
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
11584
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11585
11585
|
let fetchResult;
|
|
11586
11586
|
try {
|
|
11587
11587
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11806,7 +11806,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11806
11806
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11807
11807
|
*/
|
|
11808
11808
|
static async fromJsonLd(json, options = {}) {
|
|
11809
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11809
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11810
11810
|
try {
|
|
11811
11811
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
11812
11812
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12008,7 +12008,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
12008
12008
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12009
12009
|
*/
|
|
12010
12010
|
static async fromJsonLd(json, options = {}) {
|
|
12011
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12011
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12012
12012
|
try {
|
|
12013
12013
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
12014
12014
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12228,7 +12228,7 @@ var DidService = class {
|
|
|
12228
12228
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12229
12229
|
*/
|
|
12230
12230
|
static async fromJsonLd(json, options = {}) {
|
|
12231
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12231
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12232
12232
|
try {
|
|
12233
12233
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
12234
12234
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12386,7 +12386,7 @@ var Export = class Export extends DidService {
|
|
|
12386
12386
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12387
12387
|
*/
|
|
12388
12388
|
static async fromJsonLd(json, options = {}) {
|
|
12389
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12389
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12390
12390
|
try {
|
|
12391
12391
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
12392
12392
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12573,7 +12573,7 @@ var DataIntegrityProof = class {
|
|
|
12573
12573
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12574
12574
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12575
12575
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12576
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
12576
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12577
12577
|
let fetchResult;
|
|
12578
12578
|
try {
|
|
12579
12579
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12792,7 +12792,7 @@ var DataIntegrityProof = class {
|
|
|
12792
12792
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12793
12793
|
*/
|
|
12794
12794
|
static async fromJsonLd(json, options = {}) {
|
|
12795
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12795
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12796
12796
|
try {
|
|
12797
12797
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
12798
12798
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13030,7 +13030,7 @@ var CryptographicKey = class {
|
|
|
13030
13030
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13031
13031
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13032
13032
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13033
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
13033
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13034
13034
|
let fetchResult;
|
|
13035
13035
|
try {
|
|
13036
13036
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13301,7 +13301,7 @@ var CryptographicKey = class {
|
|
|
13301
13301
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13302
13302
|
*/
|
|
13303
13303
|
static async fromJsonLd(json, options = {}) {
|
|
13304
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13304
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13305
13305
|
try {
|
|
13306
13306
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
13307
13307
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13516,7 +13516,7 @@ var Multikey = class {
|
|
|
13516
13516
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13517
13517
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13518
13518
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13519
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
13519
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13520
13520
|
let fetchResult;
|
|
13521
13521
|
try {
|
|
13522
13522
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13793,7 +13793,7 @@ var Multikey = class {
|
|
|
13793
13793
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13794
13794
|
*/
|
|
13795
13795
|
static async fromJsonLd(json, options = {}) {
|
|
13796
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13796
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13797
13797
|
try {
|
|
13798
13798
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
13799
13799
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13996,7 +13996,7 @@ var Accept = class Accept extends Activity {
|
|
|
13996
13996
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13997
13997
|
*/
|
|
13998
13998
|
static async fromJsonLd(json, options = {}) {
|
|
13999
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13999
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14000
14000
|
try {
|
|
14001
14001
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
14002
14002
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14150,7 +14150,7 @@ var Add = class Add extends Activity {
|
|
|
14150
14150
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14151
14151
|
*/
|
|
14152
14152
|
static async fromJsonLd(json, options = {}) {
|
|
14153
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
14153
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14154
14154
|
try {
|
|
14155
14155
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
14156
14156
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14321,7 +14321,7 @@ var Announce = class Announce extends Activity {
|
|
|
14321
14321
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14322
14322
|
*/
|
|
14323
14323
|
static async fromJsonLd(json, options = {}) {
|
|
14324
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
14324
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14325
14325
|
try {
|
|
14326
14326
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
14327
14327
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14718,7 +14718,7 @@ var Application = class Application extends Object$1 {
|
|
|
14718
14718
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14719
14719
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14720
14720
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14721
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14721
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14722
14722
|
let fetchResult;
|
|
14723
14723
|
try {
|
|
14724
14724
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14899,7 +14899,7 @@ var Application = class Application extends Object$1 {
|
|
|
14899
14899
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14900
14900
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14901
14901
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14902
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14902
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14903
14903
|
let fetchResult;
|
|
14904
14904
|
try {
|
|
14905
14905
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15098,7 +15098,7 @@ var Application = class Application extends Object$1 {
|
|
|
15098
15098
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15099
15099
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15100
15100
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15101
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15101
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15102
15102
|
let fetchResult;
|
|
15103
15103
|
try {
|
|
15104
15104
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15249,7 +15249,7 @@ var Application = class Application extends Object$1 {
|
|
|
15249
15249
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15250
15250
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15251
15251
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15252
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15252
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15253
15253
|
let fetchResult;
|
|
15254
15254
|
try {
|
|
15255
15255
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15397,7 +15397,7 @@ var Application = class Application extends Object$1 {
|
|
|
15397
15397
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15398
15398
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15399
15399
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15400
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15400
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15401
15401
|
let fetchResult;
|
|
15402
15402
|
try {
|
|
15403
15403
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15530,7 +15530,7 @@ var Application = class Application extends Object$1 {
|
|
|
15530
15530
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15531
15531
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15532
15532
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15533
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15533
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15534
15534
|
let fetchResult;
|
|
15535
15535
|
try {
|
|
15536
15536
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15666,7 +15666,7 @@ var Application = class Application extends Object$1 {
|
|
|
15666
15666
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15667
15667
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15668
15668
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15669
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15669
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15670
15670
|
let fetchResult;
|
|
15671
15671
|
try {
|
|
15672
15672
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15800,7 +15800,7 @@ var Application = class Application extends Object$1 {
|
|
|
15800
15800
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15801
15801
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15802
15802
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15803
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15803
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15804
15804
|
let fetchResult;
|
|
15805
15805
|
try {
|
|
15806
15806
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15932,7 +15932,7 @@ var Application = class Application extends Object$1 {
|
|
|
15932
15932
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15933
15933
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15934
15934
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15935
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15935
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15936
15936
|
let fetchResult;
|
|
15937
15937
|
try {
|
|
15938
15938
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16064,7 +16064,7 @@ var Application = class Application extends Object$1 {
|
|
|
16064
16064
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16065
16065
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16066
16066
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16067
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
16067
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16068
16068
|
let fetchResult;
|
|
16069
16069
|
try {
|
|
16070
16070
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16236,7 +16236,7 @@ var Application = class Application extends Object$1 {
|
|
|
16236
16236
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16237
16237
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16238
16238
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16239
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
16239
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16240
16240
|
let fetchResult;
|
|
16241
16241
|
try {
|
|
16242
16242
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16411,7 +16411,7 @@ var Application = class Application extends Object$1 {
|
|
|
16411
16411
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16412
16412
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16413
16413
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16414
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
16414
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16415
16415
|
let fetchResult;
|
|
16416
16416
|
try {
|
|
16417
16417
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16644,7 +16644,7 @@ var Application = class Application extends Object$1 {
|
|
|
16644
16644
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16645
16645
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16646
16646
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16647
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
16647
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16648
16648
|
let fetchResult;
|
|
16649
16649
|
try {
|
|
16650
16650
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17348,7 +17348,7 @@ var Application = class Application extends Object$1 {
|
|
|
17348
17348
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17349
17349
|
*/
|
|
17350
17350
|
static async fromJsonLd(json, options = {}) {
|
|
17351
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17351
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17352
17352
|
try {
|
|
17353
17353
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
17354
17354
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17958,7 +17958,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
17958
17958
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17959
17959
|
*/
|
|
17960
17960
|
static async fromJsonLd(json, options = {}) {
|
|
17961
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17961
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17962
17962
|
try {
|
|
17963
17963
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
17964
17964
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18113,7 +18113,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
18113
18113
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18114
18114
|
*/
|
|
18115
18115
|
static async fromJsonLd(json, options = {}) {
|
|
18116
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18116
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18117
18117
|
try {
|
|
18118
18118
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
18119
18119
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18352,7 +18352,7 @@ var Article = class Article extends Object$1 {
|
|
|
18352
18352
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18353
18353
|
*/
|
|
18354
18354
|
static async fromJsonLd(json, options = {}) {
|
|
18355
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18355
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18356
18356
|
try {
|
|
18357
18357
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
18358
18358
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18597,7 +18597,7 @@ var Document = class Document extends Object$1 {
|
|
|
18597
18597
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18598
18598
|
*/
|
|
18599
18599
|
static async fromJsonLd(json, options = {}) {
|
|
18600
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18600
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18601
18601
|
try {
|
|
18602
18602
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
18603
18603
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18794,7 +18794,7 @@ var Audio = class Audio extends Document {
|
|
|
18794
18794
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18795
18795
|
*/
|
|
18796
18796
|
static async fromJsonLd(json, options = {}) {
|
|
18797
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18797
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18798
18798
|
try {
|
|
18799
18799
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
18800
18800
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18945,7 +18945,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
18945
18945
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18946
18946
|
*/
|
|
18947
18947
|
static async fromJsonLd(json, options = {}) {
|
|
18948
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18948
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18949
18949
|
try {
|
|
18950
18950
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
18951
18951
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19099,7 +19099,7 @@ var Block = class Block extends Ignore {
|
|
|
19099
19099
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19100
19100
|
*/
|
|
19101
19101
|
static async fromJsonLd(json, options = {}) {
|
|
19102
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
19102
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19103
19103
|
try {
|
|
19104
19104
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
19105
19105
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19365,7 +19365,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19365
19365
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19366
19366
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19367
19367
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19368
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19368
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19369
19369
|
let fetchResult;
|
|
19370
19370
|
try {
|
|
19371
19371
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19495,7 +19495,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19495
19495
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19496
19496
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19497
19497
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19498
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19498
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19499
19499
|
let fetchResult;
|
|
19500
19500
|
try {
|
|
19501
19501
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19625,7 +19625,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19625
19625
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19626
19626
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19627
19627
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19628
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19628
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19629
19629
|
let fetchResult;
|
|
19630
19630
|
try {
|
|
19631
19631
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19755,7 +19755,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19755
19755
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19756
19756
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19757
19757
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19758
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19758
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19759
19759
|
let fetchResult;
|
|
19760
19760
|
try {
|
|
19761
19761
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19896,7 +19896,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19896
19896
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19897
19897
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19898
19898
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19899
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19899
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19900
19900
|
let fetchResult;
|
|
19901
19901
|
try {
|
|
19902
19902
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20025,7 +20025,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20025
20025
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20026
20026
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20027
20027
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20028
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20028
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20029
20029
|
let fetchResult;
|
|
20030
20030
|
try {
|
|
20031
20031
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20154,7 +20154,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20154
20154
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20155
20155
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20156
20156
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20157
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20157
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20158
20158
|
let fetchResult;
|
|
20159
20159
|
try {
|
|
20160
20160
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20283,7 +20283,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20283
20283
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20284
20284
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20285
20285
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20286
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20286
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20287
20287
|
let fetchResult;
|
|
20288
20288
|
try {
|
|
20289
20289
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20412,7 +20412,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20412
20412
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20413
20413
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20414
20414
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20415
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20415
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20416
20416
|
let fetchResult;
|
|
20417
20417
|
try {
|
|
20418
20418
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20541,7 +20541,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20541
20541
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20542
20542
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20543
20543
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20544
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20544
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20545
20545
|
let fetchResult;
|
|
20546
20546
|
try {
|
|
20547
20547
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20670,7 +20670,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20670
20670
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20671
20671
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20672
20672
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20673
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20673
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20674
20674
|
let fetchResult;
|
|
20675
20675
|
try {
|
|
20676
20676
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20799,7 +20799,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20799
20799
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20800
20800
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20801
20801
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20802
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20802
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20803
20803
|
let fetchResult;
|
|
20804
20804
|
try {
|
|
20805
20805
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21237,7 +21237,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21237
21237
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21238
21238
|
*/
|
|
21239
21239
|
static async fromJsonLd(json, options = {}) {
|
|
21240
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21240
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21241
21241
|
try {
|
|
21242
21242
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
21243
21243
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21720,7 +21720,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
21720
21720
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21721
21721
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21722
21722
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21723
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
21723
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21724
21724
|
let fetchResult;
|
|
21725
21725
|
try {
|
|
21726
21726
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21850,7 +21850,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
21850
21850
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21851
21851
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21852
21852
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21853
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
21853
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21854
21854
|
let fetchResult;
|
|
21855
21855
|
try {
|
|
21856
21856
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21979,7 +21979,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
21979
21979
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21980
21980
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21981
21981
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21982
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
21982
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21983
21983
|
let fetchResult;
|
|
21984
21984
|
try {
|
|
21985
21985
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22254,7 +22254,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
22254
22254
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22255
22255
|
*/
|
|
22256
22256
|
static async fromJsonLd(json, options = {}) {
|
|
22257
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22257
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22258
22258
|
try {
|
|
22259
22259
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
22260
22260
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22489,7 +22489,7 @@ var Create = class Create extends Activity {
|
|
|
22489
22489
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22490
22490
|
*/
|
|
22491
22491
|
static async fromJsonLd(json, options = {}) {
|
|
22492
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22492
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22493
22493
|
try {
|
|
22494
22494
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
22495
22495
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22656,7 +22656,7 @@ var Delete = class Delete extends Activity {
|
|
|
22656
22656
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22657
22657
|
*/
|
|
22658
22658
|
static async fromJsonLd(json, options = {}) {
|
|
22659
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22659
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22660
22660
|
try {
|
|
22661
22661
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
22662
22662
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22810,7 +22810,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
22810
22810
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22811
22811
|
*/
|
|
22812
22812
|
static async fromJsonLd(json, options = {}) {
|
|
22813
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22813
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22814
22814
|
try {
|
|
22815
22815
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
22816
22816
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23169,7 +23169,7 @@ var Endpoints = class {
|
|
|
23169
23169
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23170
23170
|
*/
|
|
23171
23171
|
static async fromJsonLd(json, options = {}) {
|
|
23172
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
23172
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23173
23173
|
try {
|
|
23174
23174
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
23175
23175
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23417,7 +23417,7 @@ var Event = class Event extends Object$1 {
|
|
|
23417
23417
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23418
23418
|
*/
|
|
23419
23419
|
static async fromJsonLd(json, options = {}) {
|
|
23420
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
23420
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23421
23421
|
try {
|
|
23422
23422
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
23423
23423
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23569,7 +23569,7 @@ var Flag = class Flag extends Activity {
|
|
|
23569
23569
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23570
23570
|
*/
|
|
23571
23571
|
static async fromJsonLd(json, options = {}) {
|
|
23572
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
23572
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23573
23573
|
try {
|
|
23574
23574
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
23575
23575
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23725,7 +23725,7 @@ var Follow = class Follow extends Activity {
|
|
|
23725
23725
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23726
23726
|
*/
|
|
23727
23727
|
static async fromJsonLd(json, options = {}) {
|
|
23728
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
23728
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23729
23729
|
try {
|
|
23730
23730
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
23731
23731
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24122,7 +24122,7 @@ var Group = class Group extends Object$1 {
|
|
|
24122
24122
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24123
24123
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24124
24124
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24125
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24125
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24126
24126
|
let fetchResult;
|
|
24127
24127
|
try {
|
|
24128
24128
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24303,7 +24303,7 @@ var Group = class Group extends Object$1 {
|
|
|
24303
24303
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24304
24304
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24305
24305
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24306
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24306
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24307
24307
|
let fetchResult;
|
|
24308
24308
|
try {
|
|
24309
24309
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24502,7 +24502,7 @@ var Group = class Group extends Object$1 {
|
|
|
24502
24502
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24503
24503
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24504
24504
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24505
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24505
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24506
24506
|
let fetchResult;
|
|
24507
24507
|
try {
|
|
24508
24508
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24653,7 +24653,7 @@ var Group = class Group extends Object$1 {
|
|
|
24653
24653
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24654
24654
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24655
24655
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24656
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24656
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24657
24657
|
let fetchResult;
|
|
24658
24658
|
try {
|
|
24659
24659
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24801,7 +24801,7 @@ var Group = class Group extends Object$1 {
|
|
|
24801
24801
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24802
24802
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24803
24803
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24804
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24804
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24805
24805
|
let fetchResult;
|
|
24806
24806
|
try {
|
|
24807
24807
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24934,7 +24934,7 @@ var Group = class Group extends Object$1 {
|
|
|
24934
24934
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24935
24935
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24936
24936
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24937
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24937
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24938
24938
|
let fetchResult;
|
|
24939
24939
|
try {
|
|
24940
24940
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25070,7 +25070,7 @@ var Group = class Group extends Object$1 {
|
|
|
25070
25070
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25071
25071
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25072
25072
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25073
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25073
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25074
25074
|
let fetchResult;
|
|
25075
25075
|
try {
|
|
25076
25076
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25204,7 +25204,7 @@ var Group = class Group extends Object$1 {
|
|
|
25204
25204
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25205
25205
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25206
25206
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25207
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25207
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25208
25208
|
let fetchResult;
|
|
25209
25209
|
try {
|
|
25210
25210
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25336,7 +25336,7 @@ var Group = class Group extends Object$1 {
|
|
|
25336
25336
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25337
25337
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25338
25338
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25339
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25339
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25340
25340
|
let fetchResult;
|
|
25341
25341
|
try {
|
|
25342
25342
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25468,7 +25468,7 @@ var Group = class Group extends Object$1 {
|
|
|
25468
25468
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25469
25469
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25470
25470
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25471
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25471
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25472
25472
|
let fetchResult;
|
|
25473
25473
|
try {
|
|
25474
25474
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25640,7 +25640,7 @@ var Group = class Group extends Object$1 {
|
|
|
25640
25640
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25641
25641
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25642
25642
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25643
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25643
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25644
25644
|
let fetchResult;
|
|
25645
25645
|
try {
|
|
25646
25646
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25815,7 +25815,7 @@ var Group = class Group extends Object$1 {
|
|
|
25815
25815
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25816
25816
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25817
25817
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25818
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25818
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25819
25819
|
let fetchResult;
|
|
25820
25820
|
try {
|
|
25821
25821
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26048,7 +26048,7 @@ var Group = class Group extends Object$1 {
|
|
|
26048
26048
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26049
26049
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26050
26050
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26051
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
26051
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26052
26052
|
let fetchResult;
|
|
26053
26053
|
try {
|
|
26054
26054
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26752,7 +26752,7 @@ var Group = class Group extends Object$1 {
|
|
|
26752
26752
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26753
26753
|
*/
|
|
26754
26754
|
static async fromJsonLd(json, options = {}) {
|
|
26755
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
26755
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26756
26756
|
try {
|
|
26757
26757
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
26758
26758
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27512,7 +27512,7 @@ var Link = class Link {
|
|
|
27512
27512
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27513
27513
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27514
27514
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27515
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
27515
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27516
27516
|
let fetchResult;
|
|
27517
27517
|
try {
|
|
27518
27518
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27814,7 +27814,7 @@ var Link = class Link {
|
|
|
27814
27814
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27815
27815
|
*/
|
|
27816
27816
|
static async fromJsonLd(json, options = {}) {
|
|
27817
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27817
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27818
27818
|
try {
|
|
27819
27819
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
27820
27820
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28169,7 +28169,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
28169
28169
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28170
28170
|
*/
|
|
28171
28171
|
static async fromJsonLd(json, options = {}) {
|
|
28172
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28172
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28173
28173
|
try {
|
|
28174
28174
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
28175
28175
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28333,7 +28333,7 @@ var Image = class Image extends Document {
|
|
|
28333
28333
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28334
28334
|
*/
|
|
28335
28335
|
static async fromJsonLd(json, options = {}) {
|
|
28336
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28336
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28337
28337
|
try {
|
|
28338
28338
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
28339
28339
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28485,7 +28485,7 @@ var Offer = class Offer extends Activity {
|
|
|
28485
28485
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28486
28486
|
*/
|
|
28487
28487
|
static async fromJsonLd(json, options = {}) {
|
|
28488
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28488
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28489
28489
|
try {
|
|
28490
28490
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
28491
28491
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28637,7 +28637,7 @@ var Invite = class Invite extends Offer {
|
|
|
28637
28637
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28638
28638
|
*/
|
|
28639
28639
|
static async fromJsonLd(json, options = {}) {
|
|
28640
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28640
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28641
28641
|
try {
|
|
28642
28642
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
28643
28643
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28788,7 +28788,7 @@ var Join = class Join extends Activity {
|
|
|
28788
28788
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28789
28789
|
*/
|
|
28790
28790
|
static async fromJsonLd(json, options = {}) {
|
|
28791
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28791
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28792
28792
|
try {
|
|
28793
28793
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
28794
28794
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28939,7 +28939,7 @@ var Leave = class Leave extends Activity {
|
|
|
28939
28939
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28940
28940
|
*/
|
|
28941
28941
|
static async fromJsonLd(json, options = {}) {
|
|
28942
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28942
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28943
28943
|
try {
|
|
28944
28944
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
28945
28945
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29094,7 +29094,7 @@ var Like = class Like extends Activity {
|
|
|
29094
29094
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29095
29095
|
*/
|
|
29096
29096
|
static async fromJsonLd(json, options = {}) {
|
|
29097
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
29097
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29098
29098
|
try {
|
|
29099
29099
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
29100
29100
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29244,7 +29244,7 @@ var Listen = class Listen extends Activity {
|
|
|
29244
29244
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29245
29245
|
*/
|
|
29246
29246
|
static async fromJsonLd(json, options = {}) {
|
|
29247
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
29247
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29248
29248
|
try {
|
|
29249
29249
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
29250
29250
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29397,7 +29397,7 @@ var Mention = class Mention extends Link {
|
|
|
29397
29397
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29398
29398
|
*/
|
|
29399
29399
|
static async fromJsonLd(json, options = {}) {
|
|
29400
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
29400
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29401
29401
|
try {
|
|
29402
29402
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
29403
29403
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29549,7 +29549,7 @@ var Move = class Move extends Activity {
|
|
|
29549
29549
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29550
29550
|
*/
|
|
29551
29551
|
static async fromJsonLd(json, options = {}) {
|
|
29552
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
29552
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29553
29553
|
try {
|
|
29554
29554
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
29555
29555
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29789,7 +29789,7 @@ var Note = class Note extends Object$1 {
|
|
|
29789
29789
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29790
29790
|
*/
|
|
29791
29791
|
static async fromJsonLd(json, options = {}) {
|
|
29792
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
29792
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29793
29793
|
try {
|
|
29794
29794
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
29795
29795
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29926,7 +29926,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
29926
29926
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29927
29927
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29928
29928
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29929
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
29929
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29930
29930
|
let fetchResult;
|
|
29931
29931
|
try {
|
|
29932
29932
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30186,7 +30186,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
30186
30186
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30187
30187
|
*/
|
|
30188
30188
|
static async fromJsonLd(json, options = {}) {
|
|
30189
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
30189
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30190
30190
|
try {
|
|
30191
30191
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
30192
30192
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30404,7 +30404,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
30404
30404
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30405
30405
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30406
30406
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30407
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30407
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30408
30408
|
let fetchResult;
|
|
30409
30409
|
try {
|
|
30410
30410
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30687,7 +30687,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
30687
30687
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30688
30688
|
*/
|
|
30689
30689
|
static async fromJsonLd(json, options = {}) {
|
|
30690
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
30690
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30691
30691
|
try {
|
|
30692
30692
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
30693
30693
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31193,7 +31193,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31193
31193
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31194
31194
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31195
31195
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31196
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31196
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31197
31197
|
let fetchResult;
|
|
31198
31198
|
try {
|
|
31199
31199
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31374,7 +31374,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31374
31374
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31375
31375
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31376
31376
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31377
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31377
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31378
31378
|
let fetchResult;
|
|
31379
31379
|
try {
|
|
31380
31380
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31573,7 +31573,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31573
31573
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31574
31574
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31575
31575
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31576
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31576
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31577
31577
|
let fetchResult;
|
|
31578
31578
|
try {
|
|
31579
31579
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31724,7 +31724,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31724
31724
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31725
31725
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31726
31726
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31727
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31727
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31728
31728
|
let fetchResult;
|
|
31729
31729
|
try {
|
|
31730
31730
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31872,7 +31872,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31872
31872
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31873
31873
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31874
31874
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31875
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31875
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31876
31876
|
let fetchResult;
|
|
31877
31877
|
try {
|
|
31878
31878
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32005,7 +32005,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32005
32005
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32006
32006
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32007
32007
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32008
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32008
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32009
32009
|
let fetchResult;
|
|
32010
32010
|
try {
|
|
32011
32011
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32141,7 +32141,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32141
32141
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32142
32142
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32143
32143
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32144
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32144
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32145
32145
|
let fetchResult;
|
|
32146
32146
|
try {
|
|
32147
32147
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32275,7 +32275,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32275
32275
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32276
32276
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32277
32277
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32278
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32278
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32279
32279
|
let fetchResult;
|
|
32280
32280
|
try {
|
|
32281
32281
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32407,7 +32407,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32407
32407
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32408
32408
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32409
32409
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32410
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32410
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32411
32411
|
let fetchResult;
|
|
32412
32412
|
try {
|
|
32413
32413
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32539,7 +32539,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32539
32539
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32540
32540
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32541
32541
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32542
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32542
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32543
32543
|
let fetchResult;
|
|
32544
32544
|
try {
|
|
32545
32545
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32711,7 +32711,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32711
32711
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32712
32712
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32713
32713
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32714
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32714
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32715
32715
|
let fetchResult;
|
|
32716
32716
|
try {
|
|
32717
32717
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32886,7 +32886,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32886
32886
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32887
32887
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32888
32888
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32889
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32889
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32890
32890
|
let fetchResult;
|
|
32891
32891
|
try {
|
|
32892
32892
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33119,7 +33119,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33119
33119
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33120
33120
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33121
33121
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33122
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33122
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33123
33123
|
let fetchResult;
|
|
33124
33124
|
try {
|
|
33125
33125
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33823,7 +33823,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33823
33823
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33824
33824
|
*/
|
|
33825
33825
|
static async fromJsonLd(json, options = {}) {
|
|
33826
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
33826
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33827
33827
|
try {
|
|
33828
33828
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
33829
33829
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34445,7 +34445,7 @@ var Page = class Page extends Document {
|
|
|
34445
34445
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34446
34446
|
*/
|
|
34447
34447
|
static async fromJsonLd(json, options = {}) {
|
|
34448
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
34448
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34449
34449
|
try {
|
|
34450
34450
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
34451
34451
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34842,7 +34842,7 @@ var Person = class Person extends Object$1 {
|
|
|
34842
34842
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34843
34843
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34844
34844
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34845
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34845
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34846
34846
|
let fetchResult;
|
|
34847
34847
|
try {
|
|
34848
34848
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35023,7 +35023,7 @@ var Person = class Person extends Object$1 {
|
|
|
35023
35023
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35024
35024
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35025
35025
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35026
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35026
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35027
35027
|
let fetchResult;
|
|
35028
35028
|
try {
|
|
35029
35029
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35222,7 +35222,7 @@ var Person = class Person extends Object$1 {
|
|
|
35222
35222
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35223
35223
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35224
35224
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35225
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35225
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35226
35226
|
let fetchResult;
|
|
35227
35227
|
try {
|
|
35228
35228
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35373,7 +35373,7 @@ var Person = class Person extends Object$1 {
|
|
|
35373
35373
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35374
35374
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35375
35375
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35376
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35376
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35377
35377
|
let fetchResult;
|
|
35378
35378
|
try {
|
|
35379
35379
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35521,7 +35521,7 @@ var Person = class Person extends Object$1 {
|
|
|
35521
35521
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35522
35522
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35523
35523
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35524
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35524
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35525
35525
|
let fetchResult;
|
|
35526
35526
|
try {
|
|
35527
35527
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35654,7 +35654,7 @@ var Person = class Person extends Object$1 {
|
|
|
35654
35654
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35655
35655
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35656
35656
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35657
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35657
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35658
35658
|
let fetchResult;
|
|
35659
35659
|
try {
|
|
35660
35660
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35790,7 +35790,7 @@ var Person = class Person extends Object$1 {
|
|
|
35790
35790
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35791
35791
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35792
35792
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35793
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35793
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35794
35794
|
let fetchResult;
|
|
35795
35795
|
try {
|
|
35796
35796
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35924,7 +35924,7 @@ var Person = class Person extends Object$1 {
|
|
|
35924
35924
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35925
35925
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35926
35926
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35927
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35927
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35928
35928
|
let fetchResult;
|
|
35929
35929
|
try {
|
|
35930
35930
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36056,7 +36056,7 @@ var Person = class Person extends Object$1 {
|
|
|
36056
36056
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36057
36057
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36058
36058
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36059
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36059
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36060
36060
|
let fetchResult;
|
|
36061
36061
|
try {
|
|
36062
36062
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36188,7 +36188,7 @@ var Person = class Person extends Object$1 {
|
|
|
36188
36188
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36189
36189
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36190
36190
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36191
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36191
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36192
36192
|
let fetchResult;
|
|
36193
36193
|
try {
|
|
36194
36194
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36360,7 +36360,7 @@ var Person = class Person extends Object$1 {
|
|
|
36360
36360
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36361
36361
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36362
36362
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36363
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36363
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36364
36364
|
let fetchResult;
|
|
36365
36365
|
try {
|
|
36366
36366
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36535,7 +36535,7 @@ var Person = class Person extends Object$1 {
|
|
|
36535
36535
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36536
36536
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36537
36537
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36538
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36538
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36539
36539
|
let fetchResult;
|
|
36540
36540
|
try {
|
|
36541
36541
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36768,7 +36768,7 @@ var Person = class Person extends Object$1 {
|
|
|
36768
36768
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36769
36769
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36770
36770
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36771
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36771
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36772
36772
|
let fetchResult;
|
|
36773
36773
|
try {
|
|
36774
36774
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37472,7 +37472,7 @@ var Person = class Person extends Object$1 {
|
|
|
37472
37472
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37473
37473
|
*/
|
|
37474
37474
|
static async fromJsonLd(json, options = {}) {
|
|
37475
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
37475
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37476
37476
|
try {
|
|
37477
37477
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
37478
37478
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38271,7 +38271,7 @@ var Place = class Place extends Object$1 {
|
|
|
38271
38271
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38272
38272
|
*/
|
|
38273
38273
|
static async fromJsonLd(json, options = {}) {
|
|
38274
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
38274
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38275
38275
|
try {
|
|
38276
38276
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
38277
38277
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38478,7 +38478,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
38478
38478
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38479
38479
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38480
38480
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38481
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
38481
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38482
38482
|
let fetchResult;
|
|
38483
38483
|
try {
|
|
38484
38484
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38688,7 +38688,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
38688
38688
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38689
38689
|
*/
|
|
38690
38690
|
static async fromJsonLd(json, options = {}) {
|
|
38691
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
38691
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38692
38692
|
try {
|
|
38693
38693
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
38694
38694
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38863,7 +38863,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
38863
38863
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38864
38864
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38865
38865
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38866
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
38866
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38867
38867
|
let fetchResult;
|
|
38868
38868
|
try {
|
|
38869
38869
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38995,7 +38995,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
38995
38995
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38996
38996
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38997
38997
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38998
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
38998
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38999
38999
|
let fetchResult;
|
|
39000
39000
|
try {
|
|
39001
39001
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39269,7 +39269,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
39269
39269
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39270
39270
|
*/
|
|
39271
39271
|
static async fromJsonLd(json, options = {}) {
|
|
39272
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
39272
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39273
39273
|
try {
|
|
39274
39274
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
39275
39275
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39514,7 +39514,7 @@ var Read = class Read extends Activity {
|
|
|
39514
39514
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39515
39515
|
*/
|
|
39516
39516
|
static async fromJsonLd(json, options = {}) {
|
|
39517
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
39517
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39518
39518
|
try {
|
|
39519
39519
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
39520
39520
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39665,7 +39665,7 @@ var Reject = class Reject extends Activity {
|
|
|
39665
39665
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39666
39666
|
*/
|
|
39667
39667
|
static async fromJsonLd(json, options = {}) {
|
|
39668
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
39668
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39669
39669
|
try {
|
|
39670
39670
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
39671
39671
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39840,7 +39840,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
39840
39840
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39841
39841
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39842
39842
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39843
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39843
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39844
39844
|
let fetchResult;
|
|
39845
39845
|
try {
|
|
39846
39846
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39972,7 +39972,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
39972
39972
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39973
39973
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39974
39974
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39975
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39975
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39976
39976
|
let fetchResult;
|
|
39977
39977
|
try {
|
|
39978
39978
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40153,7 +40153,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
40153
40153
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40154
40154
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40155
40155
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40156
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40156
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40157
40157
|
let fetchResult;
|
|
40158
40158
|
try {
|
|
40159
40159
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40450,7 +40450,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
40450
40450
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40451
40451
|
*/
|
|
40452
40452
|
static async fromJsonLd(json, options = {}) {
|
|
40453
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
40453
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40454
40454
|
try {
|
|
40455
40455
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
40456
40456
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40667,7 +40667,7 @@ var Remove = class Remove extends Activity {
|
|
|
40667
40667
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40668
40668
|
*/
|
|
40669
40669
|
static async fromJsonLd(json, options = {}) {
|
|
40670
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
40670
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40671
40671
|
try {
|
|
40672
40672
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
40673
40673
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41064,7 +41064,7 @@ var Service = class Service extends Object$1 {
|
|
|
41064
41064
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41065
41065
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41066
41066
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41067
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41067
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41068
41068
|
let fetchResult;
|
|
41069
41069
|
try {
|
|
41070
41070
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41245,7 +41245,7 @@ var Service = class Service extends Object$1 {
|
|
|
41245
41245
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41246
41246
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41247
41247
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41248
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41248
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41249
41249
|
let fetchResult;
|
|
41250
41250
|
try {
|
|
41251
41251
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41444,7 +41444,7 @@ var Service = class Service extends Object$1 {
|
|
|
41444
41444
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41445
41445
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41446
41446
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41447
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41447
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41448
41448
|
let fetchResult;
|
|
41449
41449
|
try {
|
|
41450
41450
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41595,7 +41595,7 @@ var Service = class Service extends Object$1 {
|
|
|
41595
41595
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41596
41596
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41597
41597
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41598
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41598
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41599
41599
|
let fetchResult;
|
|
41600
41600
|
try {
|
|
41601
41601
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41743,7 +41743,7 @@ var Service = class Service extends Object$1 {
|
|
|
41743
41743
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41744
41744
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41745
41745
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41746
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41746
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41747
41747
|
let fetchResult;
|
|
41748
41748
|
try {
|
|
41749
41749
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41876,7 +41876,7 @@ var Service = class Service extends Object$1 {
|
|
|
41876
41876
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41877
41877
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41878
41878
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41879
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41879
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41880
41880
|
let fetchResult;
|
|
41881
41881
|
try {
|
|
41882
41882
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42012,7 +42012,7 @@ var Service = class Service extends Object$1 {
|
|
|
42012
42012
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42013
42013
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42014
42014
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42015
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
42015
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42016
42016
|
let fetchResult;
|
|
42017
42017
|
try {
|
|
42018
42018
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42146,7 +42146,7 @@ var Service = class Service extends Object$1 {
|
|
|
42146
42146
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42147
42147
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42148
42148
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42149
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
42149
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42150
42150
|
let fetchResult;
|
|
42151
42151
|
try {
|
|
42152
42152
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42278,7 +42278,7 @@ var Service = class Service extends Object$1 {
|
|
|
42278
42278
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42279
42279
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42280
42280
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42281
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
42281
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42282
42282
|
let fetchResult;
|
|
42283
42283
|
try {
|
|
42284
42284
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42410,7 +42410,7 @@ var Service = class Service extends Object$1 {
|
|
|
42410
42410
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42411
42411
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42412
42412
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42413
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
42413
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42414
42414
|
let fetchResult;
|
|
42415
42415
|
try {
|
|
42416
42416
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42582,7 +42582,7 @@ var Service = class Service extends Object$1 {
|
|
|
42582
42582
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42583
42583
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42584
42584
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42585
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
42585
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42586
42586
|
let fetchResult;
|
|
42587
42587
|
try {
|
|
42588
42588
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42757,7 +42757,7 @@ var Service = class Service extends Object$1 {
|
|
|
42757
42757
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42758
42758
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42759
42759
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42760
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
42760
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42761
42761
|
let fetchResult;
|
|
42762
42762
|
try {
|
|
42763
42763
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42990,7 +42990,7 @@ var Service = class Service extends Object$1 {
|
|
|
42990
42990
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42991
42991
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42992
42992
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42993
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
42993
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42994
42994
|
let fetchResult;
|
|
42995
42995
|
try {
|
|
42996
42996
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43694,7 +43694,7 @@ var Service = class Service extends Object$1 {
|
|
|
43694
43694
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43695
43695
|
*/
|
|
43696
43696
|
static async fromJsonLd(json, options = {}) {
|
|
43697
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
43697
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43698
43698
|
try {
|
|
43699
43699
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
43700
43700
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44410,7 +44410,7 @@ var Source = class {
|
|
|
44410
44410
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44411
44411
|
*/
|
|
44412
44412
|
static async fromJsonLd(json, options = {}) {
|
|
44413
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
44413
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44414
44414
|
try {
|
|
44415
44415
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
44416
44416
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44594,7 +44594,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
44594
44594
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44595
44595
|
*/
|
|
44596
44596
|
static async fromJsonLd(json, options = {}) {
|
|
44597
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
44597
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44598
44598
|
try {
|
|
44599
44599
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
44600
44600
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44745,7 +44745,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
44745
44745
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44746
44746
|
*/
|
|
44747
44747
|
static async fromJsonLd(json, options = {}) {
|
|
44748
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
44748
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44749
44749
|
try {
|
|
44750
44750
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
44751
44751
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44942,7 +44942,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
44942
44942
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44943
44943
|
*/
|
|
44944
44944
|
static async fromJsonLd(json, options = {}) {
|
|
44945
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
44945
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44946
44946
|
try {
|
|
44947
44947
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
44948
44948
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45110,7 +45110,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
45110
45110
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45111
45111
|
*/
|
|
45112
45112
|
static async fromJsonLd(json, options = {}) {
|
|
45113
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
45113
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45114
45114
|
try {
|
|
45115
45115
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
45116
45116
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45275,7 +45275,7 @@ var Undo = class Undo extends Activity {
|
|
|
45275
45275
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45276
45276
|
*/
|
|
45277
45277
|
static async fromJsonLd(json, options = {}) {
|
|
45278
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
45278
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45279
45279
|
try {
|
|
45280
45280
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
45281
45281
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45478,7 +45478,7 @@ var Update = class Update extends Activity {
|
|
|
45478
45478
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45479
45479
|
*/
|
|
45480
45480
|
static async fromJsonLd(json, options = {}) {
|
|
45481
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
45481
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45482
45482
|
try {
|
|
45483
45483
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
45484
45484
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45642,7 +45642,7 @@ var Video = class Video extends Document {
|
|
|
45642
45642
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45643
45643
|
*/
|
|
45644
45644
|
static async fromJsonLd(json, options = {}) {
|
|
45645
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
45645
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45646
45646
|
try {
|
|
45647
45647
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
45648
45648
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45792,7 +45792,7 @@ var View = class View extends Activity {
|
|
|
45792
45792
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45793
45793
|
*/
|
|
45794
45794
|
static async fromJsonLd(json, options = {}) {
|
|
45795
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
45795
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45796
45796
|
try {
|
|
45797
45797
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
45798
45798
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|