@fedify/vocab 2.1.28 → 2.1.30
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-DbR-EaeW.mjs → deno-C-AmqlF6.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-ccd63sNg.mjs → vocab-BdFWN1ns.mjs} +201 -201
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
|
@@ -797,7 +797,7 @@ var Object$1 = class Object$1 {
|
|
|
797
797
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
798
798
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
799
799
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
800
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
800
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
801
801
|
let fetchResult;
|
|
802
802
|
try {
|
|
803
803
|
fetchResult = await documentLoader(url.href);
|
|
@@ -953,7 +953,7 @@ var Object$1 = class Object$1 {
|
|
|
953
953
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
954
954
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
955
955
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
956
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
956
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
957
957
|
let fetchResult;
|
|
958
958
|
try {
|
|
959
959
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1184,7 +1184,7 @@ var Object$1 = class Object$1 {
|
|
|
1184
1184
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1185
1185
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1186
1186
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1187
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1187
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1188
1188
|
let fetchResult;
|
|
1189
1189
|
try {
|
|
1190
1190
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1387,7 +1387,7 @@ var Object$1 = class Object$1 {
|
|
|
1387
1387
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1388
1388
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1389
1389
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1390
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1390
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1391
1391
|
let fetchResult;
|
|
1392
1392
|
try {
|
|
1393
1393
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1559,7 +1559,7 @@ var Object$1 = class Object$1 {
|
|
|
1559
1559
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1560
1560
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1561
1561
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1562
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1562
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1563
1563
|
let fetchResult;
|
|
1564
1564
|
try {
|
|
1565
1565
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1699,7 +1699,7 @@ var Object$1 = class Object$1 {
|
|
|
1699
1699
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1700
1700
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1701
1701
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1702
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1702
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1703
1703
|
let fetchResult;
|
|
1704
1704
|
try {
|
|
1705
1705
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1884,7 +1884,7 @@ var Object$1 = class Object$1 {
|
|
|
1884
1884
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1885
1885
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1886
1886
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1887
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1887
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1888
1888
|
let fetchResult;
|
|
1889
1889
|
try {
|
|
1890
1890
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2069,7 +2069,7 @@ var Object$1 = class Object$1 {
|
|
|
2069
2069
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2070
2070
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2071
2071
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2072
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2072
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2073
2073
|
let fetchResult;
|
|
2074
2074
|
try {
|
|
2075
2075
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2262,7 +2262,7 @@ var Object$1 = class Object$1 {
|
|
|
2262
2262
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2263
2263
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2264
2264
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2265
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2265
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2266
2266
|
let fetchResult;
|
|
2267
2267
|
try {
|
|
2268
2268
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2455,7 +2455,7 @@ var Object$1 = class Object$1 {
|
|
|
2455
2455
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2456
2456
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2457
2457
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2458
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2458
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2459
2459
|
let fetchResult;
|
|
2460
2460
|
try {
|
|
2461
2461
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2653,7 +2653,7 @@ var Object$1 = class Object$1 {
|
|
|
2653
2653
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2654
2654
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2655
2655
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2656
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2656
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2657
2657
|
let fetchResult;
|
|
2658
2658
|
try {
|
|
2659
2659
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2783,7 +2783,7 @@ var Object$1 = class Object$1 {
|
|
|
2783
2783
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2784
2784
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2785
2785
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2786
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2786
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2787
2787
|
let fetchResult;
|
|
2788
2788
|
try {
|
|
2789
2789
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2919,7 +2919,7 @@ var Object$1 = class Object$1 {
|
|
|
2919
2919
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2920
2920
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2921
2921
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2922
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2922
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2923
2923
|
let fetchResult;
|
|
2924
2924
|
try {
|
|
2925
2925
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3055,7 +3055,7 @@ var Object$1 = class Object$1 {
|
|
|
3055
3055
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3056
3056
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3057
3057
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3058
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3058
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3059
3059
|
let fetchResult;
|
|
3060
3060
|
try {
|
|
3061
3061
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3209,7 +3209,7 @@ var Object$1 = class Object$1 {
|
|
|
3209
3209
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3210
3210
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3211
3211
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3212
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3212
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3213
3213
|
let fetchResult;
|
|
3214
3214
|
try {
|
|
3215
3215
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3371,7 +3371,7 @@ var Object$1 = class Object$1 {
|
|
|
3371
3371
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3372
3372
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3373
3373
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3374
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3374
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3375
3375
|
let fetchResult;
|
|
3376
3376
|
try {
|
|
3377
3377
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3554,7 +3554,7 @@ var Object$1 = class Object$1 {
|
|
|
3554
3554
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3555
3555
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3556
3556
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3557
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3557
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3558
3558
|
let fetchResult;
|
|
3559
3559
|
try {
|
|
3560
3560
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3737,7 +3737,7 @@ var Object$1 = class Object$1 {
|
|
|
3737
3737
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3738
3738
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3739
3739
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3740
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3740
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3741
3741
|
let fetchResult;
|
|
3742
3742
|
try {
|
|
3743
3743
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3920,7 +3920,7 @@ var Object$1 = class Object$1 {
|
|
|
3920
3920
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3921
3921
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3922
3922
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3923
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3923
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3924
3924
|
let fetchResult;
|
|
3925
3925
|
try {
|
|
3926
3926
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4140,7 +4140,7 @@ var Object$1 = class Object$1 {
|
|
|
4140
4140
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4141
4141
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4142
4142
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4143
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4143
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4144
4144
|
let fetchResult;
|
|
4145
4145
|
try {
|
|
4146
4146
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4346,7 +4346,7 @@ var Object$1 = class Object$1 {
|
|
|
4346
4346
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4347
4347
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4348
4348
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4349
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4349
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4350
4350
|
let fetchResult;
|
|
4351
4351
|
try {
|
|
4352
4352
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4476,7 +4476,7 @@ var Object$1 = class Object$1 {
|
|
|
4476
4476
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4477
4477
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4478
4478
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4479
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4479
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4480
4480
|
let fetchResult;
|
|
4481
4481
|
try {
|
|
4482
4482
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4606,7 +4606,7 @@ var Object$1 = class Object$1 {
|
|
|
4606
4606
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4607
4607
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4608
4608
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4609
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4609
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4610
4610
|
let fetchResult;
|
|
4611
4611
|
try {
|
|
4612
4612
|
fetchResult = await documentLoader(url.href);
|
|
@@ -5442,7 +5442,7 @@ var Object$1 = class Object$1 {
|
|
|
5442
5442
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5443
5443
|
*/
|
|
5444
5444
|
static async fromJsonLd(json, options = {}) {
|
|
5445
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
5445
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5446
5446
|
try {
|
|
5447
5447
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
5448
5448
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6919,7 +6919,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
6919
6919
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6920
6920
|
*/
|
|
6921
6921
|
static async fromJsonLd(json, options = {}) {
|
|
6922
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
6922
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6923
6923
|
try {
|
|
6924
6924
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
6925
6925
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7161,7 +7161,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7161
7161
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7162
7162
|
*/
|
|
7163
7163
|
static async fromJsonLd(json, options = {}) {
|
|
7164
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
7164
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7165
7165
|
try {
|
|
7166
7166
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
7167
7167
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7451,7 +7451,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7451
7451
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7452
7452
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7453
7453
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7454
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7454
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7455
7455
|
let fetchResult;
|
|
7456
7456
|
try {
|
|
7457
7457
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7682,7 +7682,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7682
7682
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7683
7683
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7684
7684
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7685
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7685
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7686
7686
|
let fetchResult;
|
|
7687
7687
|
try {
|
|
7688
7688
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7867,7 +7867,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7867
7867
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7868
7868
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7869
7869
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7870
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7870
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7871
7871
|
let fetchResult;
|
|
7872
7872
|
try {
|
|
7873
7873
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8058,7 +8058,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8058
8058
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8059
8059
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8060
8060
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8061
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
8061
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8062
8062
|
let fetchResult;
|
|
8063
8063
|
try {
|
|
8064
8064
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8243,7 +8243,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8243
8243
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8244
8244
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8245
8245
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8246
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
8246
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8247
8247
|
let fetchResult;
|
|
8248
8248
|
try {
|
|
8249
8249
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8430,7 +8430,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8430
8430
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8431
8431
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8432
8432
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8433
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
8433
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8434
8434
|
let fetchResult;
|
|
8435
8435
|
try {
|
|
8436
8436
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8700,7 +8700,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8700
8700
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8701
8701
|
*/
|
|
8702
8702
|
static async fromJsonLd(json, options = {}) {
|
|
8703
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
8703
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8704
8704
|
try {
|
|
8705
8705
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
8706
8706
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9039,7 +9039,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
9039
9039
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9040
9040
|
*/
|
|
9041
9041
|
static async fromJsonLd(json, options = {}) {
|
|
9042
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9042
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9043
9043
|
try {
|
|
9044
9044
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
9045
9045
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9300,7 +9300,7 @@ var PropertyValue = class {
|
|
|
9300
9300
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9301
9301
|
*/
|
|
9302
9302
|
static async fromJsonLd(json, options = {}) {
|
|
9303
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9303
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9304
9304
|
try {
|
|
9305
9305
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
9306
9306
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9471,7 +9471,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9471
9471
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9472
9472
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9473
9473
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9474
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
9474
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9475
9475
|
let fetchResult;
|
|
9476
9476
|
try {
|
|
9477
9477
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9601,7 +9601,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9601
9601
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9602
9602
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9603
9603
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9604
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
9604
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9605
9605
|
let fetchResult;
|
|
9606
9606
|
try {
|
|
9607
9607
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9826,7 +9826,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9826
9826
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9827
9827
|
*/
|
|
9828
9828
|
static async fromJsonLd(json, options = {}) {
|
|
9829
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9829
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9830
9830
|
try {
|
|
9831
9831
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
9832
9832
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10030,7 +10030,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
10030
10030
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10031
10031
|
*/
|
|
10032
10032
|
static async fromJsonLd(json, options = {}) {
|
|
10033
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
10033
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10034
10034
|
try {
|
|
10035
10035
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
10036
10036
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10285,7 +10285,7 @@ var InteractionPolicy = class {
|
|
|
10285
10285
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10286
10286
|
*/
|
|
10287
10287
|
static async fromJsonLd(json, options = {}) {
|
|
10288
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
10288
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10289
10289
|
try {
|
|
10290
10290
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
10291
10291
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10608,7 +10608,7 @@ var InteractionRule = class {
|
|
|
10608
10608
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10609
10609
|
*/
|
|
10610
10610
|
static async fromJsonLd(json, options = {}) {
|
|
10611
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
10611
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10612
10612
|
try {
|
|
10613
10613
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
10614
10614
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10772,7 +10772,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10772
10772
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10773
10773
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10774
10774
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10775
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10775
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10776
10776
|
let fetchResult;
|
|
10777
10777
|
try {
|
|
10778
10778
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10902,7 +10902,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10902
10902
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10903
10903
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10904
10904
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10905
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10905
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10906
10906
|
let fetchResult;
|
|
10907
10907
|
try {
|
|
10908
10908
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11127,7 +11127,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11127
11127
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11128
11128
|
*/
|
|
11129
11129
|
static async fromJsonLd(json, options = {}) {
|
|
11130
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11130
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11131
11131
|
try {
|
|
11132
11132
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
11133
11133
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11330,7 +11330,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
11330
11330
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11331
11331
|
*/
|
|
11332
11332
|
static async fromJsonLd(json, options = {}) {
|
|
11333
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11333
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11334
11334
|
try {
|
|
11335
11335
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
11336
11336
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11464,7 +11464,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11464
11464
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11465
11465
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11466
11466
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11467
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
11467
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11468
11468
|
let fetchResult;
|
|
11469
11469
|
try {
|
|
11470
11470
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11594,7 +11594,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11594
11594
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11595
11595
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11596
11596
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11597
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
11597
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11598
11598
|
let fetchResult;
|
|
11599
11599
|
try {
|
|
11600
11600
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11819,7 +11819,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11819
11819
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11820
11820
|
*/
|
|
11821
11821
|
static async fromJsonLd(json, options = {}) {
|
|
11822
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11822
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11823
11823
|
try {
|
|
11824
11824
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
11825
11825
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12022,7 +12022,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
12022
12022
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12023
12023
|
*/
|
|
12024
12024
|
static async fromJsonLd(json, options = {}) {
|
|
12025
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12025
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12026
12026
|
try {
|
|
12027
12027
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
12028
12028
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12243,7 +12243,7 @@ var DidService = class {
|
|
|
12243
12243
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12244
12244
|
*/
|
|
12245
12245
|
static async fromJsonLd(json, options = {}) {
|
|
12246
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12246
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12247
12247
|
try {
|
|
12248
12248
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
12249
12249
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12402,7 +12402,7 @@ var Export = class Export extends DidService {
|
|
|
12402
12402
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12403
12403
|
*/
|
|
12404
12404
|
static async fromJsonLd(json, options = {}) {
|
|
12405
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12405
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12406
12406
|
try {
|
|
12407
12407
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
12408
12408
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12590,7 +12590,7 @@ var DataIntegrityProof = class {
|
|
|
12590
12590
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12591
12591
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12592
12592
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12593
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
12593
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12594
12594
|
let fetchResult;
|
|
12595
12595
|
try {
|
|
12596
12596
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12809,7 +12809,7 @@ var DataIntegrityProof = class {
|
|
|
12809
12809
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12810
12810
|
*/
|
|
12811
12811
|
static async fromJsonLd(json, options = {}) {
|
|
12812
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12812
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12813
12813
|
try {
|
|
12814
12814
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
12815
12815
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13048,7 +13048,7 @@ var CryptographicKey = class {
|
|
|
13048
13048
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13049
13049
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13050
13050
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13051
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
13051
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13052
13052
|
let fetchResult;
|
|
13053
13053
|
try {
|
|
13054
13054
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13319,7 +13319,7 @@ var CryptographicKey = class {
|
|
|
13319
13319
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13320
13320
|
*/
|
|
13321
13321
|
static async fromJsonLd(json, options = {}) {
|
|
13322
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13322
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13323
13323
|
try {
|
|
13324
13324
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
13325
13325
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13535,7 +13535,7 @@ var Multikey = class {
|
|
|
13535
13535
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13536
13536
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13537
13537
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13538
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
13538
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13539
13539
|
let fetchResult;
|
|
13540
13540
|
try {
|
|
13541
13541
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13812,7 +13812,7 @@ var Multikey = class {
|
|
|
13812
13812
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13813
13813
|
*/
|
|
13814
13814
|
static async fromJsonLd(json, options = {}) {
|
|
13815
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13815
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13816
13816
|
try {
|
|
13817
13817
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
13818
13818
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14016,7 +14016,7 @@ var Accept = class Accept extends Activity {
|
|
|
14016
14016
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14017
14017
|
*/
|
|
14018
14018
|
static async fromJsonLd(json, options = {}) {
|
|
14019
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
14019
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14020
14020
|
try {
|
|
14021
14021
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
14022
14022
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14171,7 +14171,7 @@ var Add = class Add extends Activity {
|
|
|
14171
14171
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14172
14172
|
*/
|
|
14173
14173
|
static async fromJsonLd(json, options = {}) {
|
|
14174
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
14174
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14175
14175
|
try {
|
|
14176
14176
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
14177
14177
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14343,7 +14343,7 @@ var Announce = class Announce extends Activity {
|
|
|
14343
14343
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14344
14344
|
*/
|
|
14345
14345
|
static async fromJsonLd(json, options = {}) {
|
|
14346
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
14346
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14347
14347
|
try {
|
|
14348
14348
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
14349
14349
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14741,7 +14741,7 @@ var Application = class Application extends Object$1 {
|
|
|
14741
14741
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14742
14742
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14743
14743
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14744
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14744
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14745
14745
|
let fetchResult;
|
|
14746
14746
|
try {
|
|
14747
14747
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14922,7 +14922,7 @@ var Application = class Application extends Object$1 {
|
|
|
14922
14922
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14923
14923
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14924
14924
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14925
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14925
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14926
14926
|
let fetchResult;
|
|
14927
14927
|
try {
|
|
14928
14928
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15121,7 +15121,7 @@ var Application = class Application extends Object$1 {
|
|
|
15121
15121
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15122
15122
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15123
15123
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15124
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15124
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15125
15125
|
let fetchResult;
|
|
15126
15126
|
try {
|
|
15127
15127
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15272,7 +15272,7 @@ var Application = class Application extends Object$1 {
|
|
|
15272
15272
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15273
15273
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15274
15274
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15275
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15275
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15276
15276
|
let fetchResult;
|
|
15277
15277
|
try {
|
|
15278
15278
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15420,7 +15420,7 @@ var Application = class Application extends Object$1 {
|
|
|
15420
15420
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15421
15421
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15422
15422
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15423
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15423
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15424
15424
|
let fetchResult;
|
|
15425
15425
|
try {
|
|
15426
15426
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15553,7 +15553,7 @@ var Application = class Application extends Object$1 {
|
|
|
15553
15553
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15554
15554
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15555
15555
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15556
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15556
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15557
15557
|
let fetchResult;
|
|
15558
15558
|
try {
|
|
15559
15559
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15689,7 +15689,7 @@ var Application = class Application extends Object$1 {
|
|
|
15689
15689
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15690
15690
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15691
15691
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15692
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15692
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15693
15693
|
let fetchResult;
|
|
15694
15694
|
try {
|
|
15695
15695
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15823,7 +15823,7 @@ var Application = class Application extends Object$1 {
|
|
|
15823
15823
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15824
15824
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15825
15825
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15826
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15826
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15827
15827
|
let fetchResult;
|
|
15828
15828
|
try {
|
|
15829
15829
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15955,7 +15955,7 @@ var Application = class Application extends Object$1 {
|
|
|
15955
15955
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15956
15956
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15957
15957
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15958
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15958
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15959
15959
|
let fetchResult;
|
|
15960
15960
|
try {
|
|
15961
15961
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16087,7 +16087,7 @@ var Application = class Application extends Object$1 {
|
|
|
16087
16087
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16088
16088
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16089
16089
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16090
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
16090
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16091
16091
|
let fetchResult;
|
|
16092
16092
|
try {
|
|
16093
16093
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16259,7 +16259,7 @@ var Application = class Application extends Object$1 {
|
|
|
16259
16259
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16260
16260
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16261
16261
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16262
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
16262
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16263
16263
|
let fetchResult;
|
|
16264
16264
|
try {
|
|
16265
16265
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16434,7 +16434,7 @@ var Application = class Application extends Object$1 {
|
|
|
16434
16434
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16435
16435
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16436
16436
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16437
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
16437
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16438
16438
|
let fetchResult;
|
|
16439
16439
|
try {
|
|
16440
16440
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16667,7 +16667,7 @@ var Application = class Application extends Object$1 {
|
|
|
16667
16667
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16668
16668
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16669
16669
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16670
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
16670
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16671
16671
|
let fetchResult;
|
|
16672
16672
|
try {
|
|
16673
16673
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17371,7 +17371,7 @@ var Application = class Application extends Object$1 {
|
|
|
17371
17371
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17372
17372
|
*/
|
|
17373
17373
|
static async fromJsonLd(json, options = {}) {
|
|
17374
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17374
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17375
17375
|
try {
|
|
17376
17376
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
17377
17377
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17982,7 +17982,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
17982
17982
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17983
17983
|
*/
|
|
17984
17984
|
static async fromJsonLd(json, options = {}) {
|
|
17985
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17985
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17986
17986
|
try {
|
|
17987
17987
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
17988
17988
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18138,7 +18138,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
18138
18138
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18139
18139
|
*/
|
|
18140
18140
|
static async fromJsonLd(json, options = {}) {
|
|
18141
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18141
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18142
18142
|
try {
|
|
18143
18143
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
18144
18144
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18378,7 +18378,7 @@ var Article = class Article extends Object$1 {
|
|
|
18378
18378
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18379
18379
|
*/
|
|
18380
18380
|
static async fromJsonLd(json, options = {}) {
|
|
18381
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18381
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18382
18382
|
try {
|
|
18383
18383
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
18384
18384
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18624,7 +18624,7 @@ var Document = class Document extends Object$1 {
|
|
|
18624
18624
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18625
18625
|
*/
|
|
18626
18626
|
static async fromJsonLd(json, options = {}) {
|
|
18627
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18627
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18628
18628
|
try {
|
|
18629
18629
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
18630
18630
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18822,7 +18822,7 @@ var Audio = class Audio extends Document {
|
|
|
18822
18822
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18823
18823
|
*/
|
|
18824
18824
|
static async fromJsonLd(json, options = {}) {
|
|
18825
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18825
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18826
18826
|
try {
|
|
18827
18827
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
18828
18828
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18974,7 +18974,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
18974
18974
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18975
18975
|
*/
|
|
18976
18976
|
static async fromJsonLd(json, options = {}) {
|
|
18977
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18977
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18978
18978
|
try {
|
|
18979
18979
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
18980
18980
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19129,7 +19129,7 @@ var Block = class Block extends Ignore {
|
|
|
19129
19129
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19130
19130
|
*/
|
|
19131
19131
|
static async fromJsonLd(json, options = {}) {
|
|
19132
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
19132
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19133
19133
|
try {
|
|
19134
19134
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
19135
19135
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19396,7 +19396,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19396
19396
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19397
19397
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19398
19398
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19399
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19399
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19400
19400
|
let fetchResult;
|
|
19401
19401
|
try {
|
|
19402
19402
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19526,7 +19526,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19526
19526
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19527
19527
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19528
19528
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19529
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19529
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19530
19530
|
let fetchResult;
|
|
19531
19531
|
try {
|
|
19532
19532
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19656,7 +19656,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19656
19656
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19657
19657
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19658
19658
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19659
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19659
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19660
19660
|
let fetchResult;
|
|
19661
19661
|
try {
|
|
19662
19662
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19786,7 +19786,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19786
19786
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19787
19787
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19788
19788
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19789
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19789
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19790
19790
|
let fetchResult;
|
|
19791
19791
|
try {
|
|
19792
19792
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19927,7 +19927,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19927
19927
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19928
19928
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19929
19929
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19930
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19930
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19931
19931
|
let fetchResult;
|
|
19932
19932
|
try {
|
|
19933
19933
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20056,7 +20056,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20056
20056
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20057
20057
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20058
20058
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20059
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20059
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20060
20060
|
let fetchResult;
|
|
20061
20061
|
try {
|
|
20062
20062
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20185,7 +20185,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20185
20185
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20186
20186
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20187
20187
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20188
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20188
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20189
20189
|
let fetchResult;
|
|
20190
20190
|
try {
|
|
20191
20191
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20314,7 +20314,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20314
20314
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20315
20315
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20316
20316
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20317
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20317
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20318
20318
|
let fetchResult;
|
|
20319
20319
|
try {
|
|
20320
20320
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20443,7 +20443,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20443
20443
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20444
20444
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20445
20445
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20446
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20446
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20447
20447
|
let fetchResult;
|
|
20448
20448
|
try {
|
|
20449
20449
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20572,7 +20572,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20572
20572
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20573
20573
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20574
20574
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20575
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20575
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20576
20576
|
let fetchResult;
|
|
20577
20577
|
try {
|
|
20578
20578
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20701,7 +20701,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20701
20701
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20702
20702
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20703
20703
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20704
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20704
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20705
20705
|
let fetchResult;
|
|
20706
20706
|
try {
|
|
20707
20707
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20830,7 +20830,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20830
20830
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20831
20831
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20832
20832
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20833
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20833
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20834
20834
|
let fetchResult;
|
|
20835
20835
|
try {
|
|
20836
20836
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21268,7 +21268,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21268
21268
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21269
21269
|
*/
|
|
21270
21270
|
static async fromJsonLd(json, options = {}) {
|
|
21271
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21271
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21272
21272
|
try {
|
|
21273
21273
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
21274
21274
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21752,7 +21752,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
21752
21752
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21753
21753
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21754
21754
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21755
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
21755
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21756
21756
|
let fetchResult;
|
|
21757
21757
|
try {
|
|
21758
21758
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21882,7 +21882,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
21882
21882
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21883
21883
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21884
21884
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21885
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
21885
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21886
21886
|
let fetchResult;
|
|
21887
21887
|
try {
|
|
21888
21888
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22011,7 +22011,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
22011
22011
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22012
22012
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22013
22013
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22014
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
22014
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22015
22015
|
let fetchResult;
|
|
22016
22016
|
try {
|
|
22017
22017
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22286,7 +22286,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
22286
22286
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22287
22287
|
*/
|
|
22288
22288
|
static async fromJsonLd(json, options = {}) {
|
|
22289
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22289
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22290
22290
|
try {
|
|
22291
22291
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
22292
22292
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22522,7 +22522,7 @@ var Create = class Create extends Activity {
|
|
|
22522
22522
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22523
22523
|
*/
|
|
22524
22524
|
static async fromJsonLd(json, options = {}) {
|
|
22525
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22525
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22526
22526
|
try {
|
|
22527
22527
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
22528
22528
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22690,7 +22690,7 @@ var Delete = class Delete extends Activity {
|
|
|
22690
22690
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22691
22691
|
*/
|
|
22692
22692
|
static async fromJsonLd(json, options = {}) {
|
|
22693
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22693
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22694
22694
|
try {
|
|
22695
22695
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
22696
22696
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22845,7 +22845,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
22845
22845
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22846
22846
|
*/
|
|
22847
22847
|
static async fromJsonLd(json, options = {}) {
|
|
22848
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22848
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22849
22849
|
try {
|
|
22850
22850
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
22851
22851
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23205,7 +23205,7 @@ var Endpoints = class {
|
|
|
23205
23205
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23206
23206
|
*/
|
|
23207
23207
|
static async fromJsonLd(json, options = {}) {
|
|
23208
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
23208
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23209
23209
|
try {
|
|
23210
23210
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
23211
23211
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23454,7 +23454,7 @@ var Event = class Event extends Object$1 {
|
|
|
23454
23454
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23455
23455
|
*/
|
|
23456
23456
|
static async fromJsonLd(json, options = {}) {
|
|
23457
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
23457
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23458
23458
|
try {
|
|
23459
23459
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
23460
23460
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23607,7 +23607,7 @@ var Flag = class Flag extends Activity {
|
|
|
23607
23607
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23608
23608
|
*/
|
|
23609
23609
|
static async fromJsonLd(json, options = {}) {
|
|
23610
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
23610
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23611
23611
|
try {
|
|
23612
23612
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
23613
23613
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23764,7 +23764,7 @@ var Follow = class Follow extends Activity {
|
|
|
23764
23764
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23765
23765
|
*/
|
|
23766
23766
|
static async fromJsonLd(json, options = {}) {
|
|
23767
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
23767
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23768
23768
|
try {
|
|
23769
23769
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
23770
23770
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24162,7 +24162,7 @@ var Group = class Group extends Object$1 {
|
|
|
24162
24162
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24163
24163
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24164
24164
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24165
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24165
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24166
24166
|
let fetchResult;
|
|
24167
24167
|
try {
|
|
24168
24168
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24343,7 +24343,7 @@ var Group = class Group extends Object$1 {
|
|
|
24343
24343
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24344
24344
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24345
24345
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24346
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24346
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24347
24347
|
let fetchResult;
|
|
24348
24348
|
try {
|
|
24349
24349
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24542,7 +24542,7 @@ var Group = class Group extends Object$1 {
|
|
|
24542
24542
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24543
24543
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24544
24544
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24545
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24545
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24546
24546
|
let fetchResult;
|
|
24547
24547
|
try {
|
|
24548
24548
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24693,7 +24693,7 @@ var Group = class Group extends Object$1 {
|
|
|
24693
24693
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24694
24694
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24695
24695
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24696
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24696
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24697
24697
|
let fetchResult;
|
|
24698
24698
|
try {
|
|
24699
24699
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24841,7 +24841,7 @@ var Group = class Group extends Object$1 {
|
|
|
24841
24841
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24842
24842
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24843
24843
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24844
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24844
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24845
24845
|
let fetchResult;
|
|
24846
24846
|
try {
|
|
24847
24847
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24974,7 +24974,7 @@ var Group = class Group extends Object$1 {
|
|
|
24974
24974
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24975
24975
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24976
24976
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24977
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24977
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24978
24978
|
let fetchResult;
|
|
24979
24979
|
try {
|
|
24980
24980
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25110,7 +25110,7 @@ var Group = class Group extends Object$1 {
|
|
|
25110
25110
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25111
25111
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25112
25112
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25113
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25113
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25114
25114
|
let fetchResult;
|
|
25115
25115
|
try {
|
|
25116
25116
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25244,7 +25244,7 @@ var Group = class Group extends Object$1 {
|
|
|
25244
25244
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25245
25245
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25246
25246
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25247
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25247
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25248
25248
|
let fetchResult;
|
|
25249
25249
|
try {
|
|
25250
25250
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25376,7 +25376,7 @@ var Group = class Group extends Object$1 {
|
|
|
25376
25376
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25377
25377
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25378
25378
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25379
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25379
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25380
25380
|
let fetchResult;
|
|
25381
25381
|
try {
|
|
25382
25382
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25508,7 +25508,7 @@ var Group = class Group extends Object$1 {
|
|
|
25508
25508
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25509
25509
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25510
25510
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25511
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25511
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25512
25512
|
let fetchResult;
|
|
25513
25513
|
try {
|
|
25514
25514
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25680,7 +25680,7 @@ var Group = class Group extends Object$1 {
|
|
|
25680
25680
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25681
25681
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25682
25682
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25683
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25683
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25684
25684
|
let fetchResult;
|
|
25685
25685
|
try {
|
|
25686
25686
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25855,7 +25855,7 @@ var Group = class Group extends Object$1 {
|
|
|
25855
25855
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25856
25856
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25857
25857
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25858
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25858
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25859
25859
|
let fetchResult;
|
|
25860
25860
|
try {
|
|
25861
25861
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26088,7 +26088,7 @@ var Group = class Group extends Object$1 {
|
|
|
26088
26088
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26089
26089
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26090
26090
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26091
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
26091
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26092
26092
|
let fetchResult;
|
|
26093
26093
|
try {
|
|
26094
26094
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26792,7 +26792,7 @@ var Group = class Group extends Object$1 {
|
|
|
26792
26792
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26793
26793
|
*/
|
|
26794
26794
|
static async fromJsonLd(json, options = {}) {
|
|
26795
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
26795
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26796
26796
|
try {
|
|
26797
26797
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
26798
26798
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27553,7 +27553,7 @@ var Link = class Link {
|
|
|
27553
27553
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27554
27554
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27555
27555
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27556
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
27556
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27557
27557
|
let fetchResult;
|
|
27558
27558
|
try {
|
|
27559
27559
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27855,7 +27855,7 @@ var Link = class Link {
|
|
|
27855
27855
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27856
27856
|
*/
|
|
27857
27857
|
static async fromJsonLd(json, options = {}) {
|
|
27858
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27858
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27859
27859
|
try {
|
|
27860
27860
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
27861
27861
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28211,7 +28211,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
28211
28211
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28212
28212
|
*/
|
|
28213
28213
|
static async fromJsonLd(json, options = {}) {
|
|
28214
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28214
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28215
28215
|
try {
|
|
28216
28216
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
28217
28217
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28376,7 +28376,7 @@ var Image = class Image extends Document {
|
|
|
28376
28376
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28377
28377
|
*/
|
|
28378
28378
|
static async fromJsonLd(json, options = {}) {
|
|
28379
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28379
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28380
28380
|
try {
|
|
28381
28381
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
28382
28382
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28529,7 +28529,7 @@ var Offer = class Offer extends Activity {
|
|
|
28529
28529
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28530
28530
|
*/
|
|
28531
28531
|
static async fromJsonLd(json, options = {}) {
|
|
28532
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28532
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28533
28533
|
try {
|
|
28534
28534
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
28535
28535
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28682,7 +28682,7 @@ var Invite = class Invite extends Offer {
|
|
|
28682
28682
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28683
28683
|
*/
|
|
28684
28684
|
static async fromJsonLd(json, options = {}) {
|
|
28685
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28685
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28686
28686
|
try {
|
|
28687
28687
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
28688
28688
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28834,7 +28834,7 @@ var Join = class Join extends Activity {
|
|
|
28834
28834
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28835
28835
|
*/
|
|
28836
28836
|
static async fromJsonLd(json, options = {}) {
|
|
28837
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28837
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28838
28838
|
try {
|
|
28839
28839
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
28840
28840
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28986,7 +28986,7 @@ var Leave = class Leave extends Activity {
|
|
|
28986
28986
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28987
28987
|
*/
|
|
28988
28988
|
static async fromJsonLd(json, options = {}) {
|
|
28989
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28989
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28990
28990
|
try {
|
|
28991
28991
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
28992
28992
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29142,7 +29142,7 @@ var Like = class Like extends Activity {
|
|
|
29142
29142
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29143
29143
|
*/
|
|
29144
29144
|
static async fromJsonLd(json, options = {}) {
|
|
29145
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
29145
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29146
29146
|
try {
|
|
29147
29147
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
29148
29148
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29293,7 +29293,7 @@ var Listen = class Listen extends Activity {
|
|
|
29293
29293
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29294
29294
|
*/
|
|
29295
29295
|
static async fromJsonLd(json, options = {}) {
|
|
29296
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
29296
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29297
29297
|
try {
|
|
29298
29298
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
29299
29299
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29447,7 +29447,7 @@ var Mention = class Mention extends Link {
|
|
|
29447
29447
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29448
29448
|
*/
|
|
29449
29449
|
static async fromJsonLd(json, options = {}) {
|
|
29450
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
29450
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29451
29451
|
try {
|
|
29452
29452
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
29453
29453
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29600,7 +29600,7 @@ var Move = class Move extends Activity {
|
|
|
29600
29600
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29601
29601
|
*/
|
|
29602
29602
|
static async fromJsonLd(json, options = {}) {
|
|
29603
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
29603
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29604
29604
|
try {
|
|
29605
29605
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
29606
29606
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29841,7 +29841,7 @@ var Note = class Note extends Object$1 {
|
|
|
29841
29841
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29842
29842
|
*/
|
|
29843
29843
|
static async fromJsonLd(json, options = {}) {
|
|
29844
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
29844
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29845
29845
|
try {
|
|
29846
29846
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
29847
29847
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29979,7 +29979,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
29979
29979
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29980
29980
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29981
29981
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29982
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
29982
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29983
29983
|
let fetchResult;
|
|
29984
29984
|
try {
|
|
29985
29985
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30239,7 +30239,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
30239
30239
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30240
30240
|
*/
|
|
30241
30241
|
static async fromJsonLd(json, options = {}) {
|
|
30242
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
30242
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30243
30243
|
try {
|
|
30244
30244
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
30245
30245
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30458,7 +30458,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
30458
30458
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30459
30459
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30460
30460
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30461
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30461
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30462
30462
|
let fetchResult;
|
|
30463
30463
|
try {
|
|
30464
30464
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30741,7 +30741,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
30741
30741
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30742
30742
|
*/
|
|
30743
30743
|
static async fromJsonLd(json, options = {}) {
|
|
30744
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
30744
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30745
30745
|
try {
|
|
30746
30746
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
30747
30747
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31248,7 +31248,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31248
31248
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31249
31249
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31250
31250
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31251
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31251
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31252
31252
|
let fetchResult;
|
|
31253
31253
|
try {
|
|
31254
31254
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31429,7 +31429,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31429
31429
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31430
31430
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31431
31431
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31432
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31432
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31433
31433
|
let fetchResult;
|
|
31434
31434
|
try {
|
|
31435
31435
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31628,7 +31628,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31628
31628
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31629
31629
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31630
31630
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31631
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31631
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31632
31632
|
let fetchResult;
|
|
31633
31633
|
try {
|
|
31634
31634
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31779,7 +31779,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31779
31779
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31780
31780
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31781
31781
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31782
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31782
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31783
31783
|
let fetchResult;
|
|
31784
31784
|
try {
|
|
31785
31785
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31927,7 +31927,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31927
31927
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31928
31928
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31929
31929
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31930
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31930
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31931
31931
|
let fetchResult;
|
|
31932
31932
|
try {
|
|
31933
31933
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32060,7 +32060,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32060
32060
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32061
32061
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32062
32062
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32063
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32063
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32064
32064
|
let fetchResult;
|
|
32065
32065
|
try {
|
|
32066
32066
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32196,7 +32196,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32196
32196
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32197
32197
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32198
32198
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32199
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32199
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32200
32200
|
let fetchResult;
|
|
32201
32201
|
try {
|
|
32202
32202
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32330,7 +32330,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32330
32330
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32331
32331
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32332
32332
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32333
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32333
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32334
32334
|
let fetchResult;
|
|
32335
32335
|
try {
|
|
32336
32336
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32462,7 +32462,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32462
32462
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32463
32463
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32464
32464
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32465
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32465
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32466
32466
|
let fetchResult;
|
|
32467
32467
|
try {
|
|
32468
32468
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32594,7 +32594,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32594
32594
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32595
32595
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32596
32596
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32597
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32597
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32598
32598
|
let fetchResult;
|
|
32599
32599
|
try {
|
|
32600
32600
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32766,7 +32766,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32766
32766
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32767
32767
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32768
32768
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32769
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32769
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32770
32770
|
let fetchResult;
|
|
32771
32771
|
try {
|
|
32772
32772
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32941,7 +32941,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32941
32941
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32942
32942
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32943
32943
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32944
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32944
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32945
32945
|
let fetchResult;
|
|
32946
32946
|
try {
|
|
32947
32947
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33174,7 +33174,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33174
33174
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33175
33175
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33176
33176
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33177
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33177
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33178
33178
|
let fetchResult;
|
|
33179
33179
|
try {
|
|
33180
33180
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33878,7 +33878,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33878
33878
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33879
33879
|
*/
|
|
33880
33880
|
static async fromJsonLd(json, options = {}) {
|
|
33881
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
33881
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33882
33882
|
try {
|
|
33883
33883
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
33884
33884
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34501,7 +34501,7 @@ var Page = class Page extends Document {
|
|
|
34501
34501
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34502
34502
|
*/
|
|
34503
34503
|
static async fromJsonLd(json, options = {}) {
|
|
34504
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
34504
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34505
34505
|
try {
|
|
34506
34506
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
34507
34507
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34899,7 +34899,7 @@ var Person = class Person extends Object$1 {
|
|
|
34899
34899
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34900
34900
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34901
34901
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34902
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34902
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34903
34903
|
let fetchResult;
|
|
34904
34904
|
try {
|
|
34905
34905
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35080,7 +35080,7 @@ var Person = class Person extends Object$1 {
|
|
|
35080
35080
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35081
35081
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35082
35082
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35083
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35083
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35084
35084
|
let fetchResult;
|
|
35085
35085
|
try {
|
|
35086
35086
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35279,7 +35279,7 @@ var Person = class Person extends Object$1 {
|
|
|
35279
35279
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35280
35280
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35281
35281
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35282
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35282
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35283
35283
|
let fetchResult;
|
|
35284
35284
|
try {
|
|
35285
35285
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35430,7 +35430,7 @@ var Person = class Person extends Object$1 {
|
|
|
35430
35430
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35431
35431
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35432
35432
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35433
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35433
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35434
35434
|
let fetchResult;
|
|
35435
35435
|
try {
|
|
35436
35436
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35578,7 +35578,7 @@ var Person = class Person extends Object$1 {
|
|
|
35578
35578
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35579
35579
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35580
35580
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35581
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35581
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35582
35582
|
let fetchResult;
|
|
35583
35583
|
try {
|
|
35584
35584
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35711,7 +35711,7 @@ var Person = class Person extends Object$1 {
|
|
|
35711
35711
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35712
35712
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35713
35713
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35714
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35714
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35715
35715
|
let fetchResult;
|
|
35716
35716
|
try {
|
|
35717
35717
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35847,7 +35847,7 @@ var Person = class Person extends Object$1 {
|
|
|
35847
35847
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35848
35848
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35849
35849
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35850
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35850
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35851
35851
|
let fetchResult;
|
|
35852
35852
|
try {
|
|
35853
35853
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35981,7 +35981,7 @@ var Person = class Person extends Object$1 {
|
|
|
35981
35981
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35982
35982
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35983
35983
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35984
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35984
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35985
35985
|
let fetchResult;
|
|
35986
35986
|
try {
|
|
35987
35987
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36113,7 +36113,7 @@ var Person = class Person extends Object$1 {
|
|
|
36113
36113
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36114
36114
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36115
36115
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36116
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36116
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36117
36117
|
let fetchResult;
|
|
36118
36118
|
try {
|
|
36119
36119
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36245,7 +36245,7 @@ var Person = class Person extends Object$1 {
|
|
|
36245
36245
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36246
36246
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36247
36247
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36248
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36248
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36249
36249
|
let fetchResult;
|
|
36250
36250
|
try {
|
|
36251
36251
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36417,7 +36417,7 @@ var Person = class Person extends Object$1 {
|
|
|
36417
36417
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36418
36418
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36419
36419
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36420
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36420
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36421
36421
|
let fetchResult;
|
|
36422
36422
|
try {
|
|
36423
36423
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36592,7 +36592,7 @@ var Person = class Person extends Object$1 {
|
|
|
36592
36592
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36593
36593
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36594
36594
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36595
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36595
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36596
36596
|
let fetchResult;
|
|
36597
36597
|
try {
|
|
36598
36598
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36825,7 +36825,7 @@ var Person = class Person extends Object$1 {
|
|
|
36825
36825
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36826
36826
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36827
36827
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36828
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36828
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36829
36829
|
let fetchResult;
|
|
36830
36830
|
try {
|
|
36831
36831
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37529,7 +37529,7 @@ var Person = class Person extends Object$1 {
|
|
|
37529
37529
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37530
37530
|
*/
|
|
37531
37531
|
static async fromJsonLd(json, options = {}) {
|
|
37532
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
37532
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37533
37533
|
try {
|
|
37534
37534
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
37535
37535
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38329,7 +38329,7 @@ var Place = class Place extends Object$1 {
|
|
|
38329
38329
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38330
38330
|
*/
|
|
38331
38331
|
static async fromJsonLd(json, options = {}) {
|
|
38332
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
38332
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38333
38333
|
try {
|
|
38334
38334
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
38335
38335
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38537,7 +38537,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
38537
38537
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38538
38538
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38539
38539
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38540
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
38540
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38541
38541
|
let fetchResult;
|
|
38542
38542
|
try {
|
|
38543
38543
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38747,7 +38747,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
38747
38747
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38748
38748
|
*/
|
|
38749
38749
|
static async fromJsonLd(json, options = {}) {
|
|
38750
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
38750
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38751
38751
|
try {
|
|
38752
38752
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
38753
38753
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38923,7 +38923,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
38923
38923
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38924
38924
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38925
38925
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38926
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
38926
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38927
38927
|
let fetchResult;
|
|
38928
38928
|
try {
|
|
38929
38929
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39055,7 +39055,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
39055
39055
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39056
39056
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39057
39057
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39058
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39058
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39059
39059
|
let fetchResult;
|
|
39060
39060
|
try {
|
|
39061
39061
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39329,7 +39329,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
39329
39329
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39330
39330
|
*/
|
|
39331
39331
|
static async fromJsonLd(json, options = {}) {
|
|
39332
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
39332
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39333
39333
|
try {
|
|
39334
39334
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
39335
39335
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39575,7 +39575,7 @@ var Read = class Read extends Activity {
|
|
|
39575
39575
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39576
39576
|
*/
|
|
39577
39577
|
static async fromJsonLd(json, options = {}) {
|
|
39578
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
39578
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39579
39579
|
try {
|
|
39580
39580
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
39581
39581
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39727,7 +39727,7 @@ var Reject = class Reject extends Activity {
|
|
|
39727
39727
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39728
39728
|
*/
|
|
39729
39729
|
static async fromJsonLd(json, options = {}) {
|
|
39730
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
39730
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39731
39731
|
try {
|
|
39732
39732
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
39733
39733
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39903,7 +39903,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
39903
39903
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39904
39904
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39905
39905
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39906
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39906
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39907
39907
|
let fetchResult;
|
|
39908
39908
|
try {
|
|
39909
39909
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40035,7 +40035,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
40035
40035
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40036
40036
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40037
40037
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40038
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40038
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40039
40039
|
let fetchResult;
|
|
40040
40040
|
try {
|
|
40041
40041
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40216,7 +40216,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
40216
40216
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40217
40217
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40218
40218
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40219
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40219
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40220
40220
|
let fetchResult;
|
|
40221
40221
|
try {
|
|
40222
40222
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40513,7 +40513,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
40513
40513
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40514
40514
|
*/
|
|
40515
40515
|
static async fromJsonLd(json, options = {}) {
|
|
40516
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
40516
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40517
40517
|
try {
|
|
40518
40518
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
40519
40519
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40731,7 +40731,7 @@ var Remove = class Remove extends Activity {
|
|
|
40731
40731
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40732
40732
|
*/
|
|
40733
40733
|
static async fromJsonLd(json, options = {}) {
|
|
40734
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
40734
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40735
40735
|
try {
|
|
40736
40736
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
40737
40737
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41129,7 +41129,7 @@ var Service = class Service extends Object$1 {
|
|
|
41129
41129
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41130
41130
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41131
41131
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41132
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41132
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41133
41133
|
let fetchResult;
|
|
41134
41134
|
try {
|
|
41135
41135
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41310,7 +41310,7 @@ var Service = class Service extends Object$1 {
|
|
|
41310
41310
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41311
41311
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41312
41312
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41313
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41313
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41314
41314
|
let fetchResult;
|
|
41315
41315
|
try {
|
|
41316
41316
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41509,7 +41509,7 @@ var Service = class Service extends Object$1 {
|
|
|
41509
41509
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41510
41510
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41511
41511
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41512
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41512
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41513
41513
|
let fetchResult;
|
|
41514
41514
|
try {
|
|
41515
41515
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41660,7 +41660,7 @@ var Service = class Service extends Object$1 {
|
|
|
41660
41660
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41661
41661
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41662
41662
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41663
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41663
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41664
41664
|
let fetchResult;
|
|
41665
41665
|
try {
|
|
41666
41666
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41808,7 +41808,7 @@ var Service = class Service extends Object$1 {
|
|
|
41808
41808
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41809
41809
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41810
41810
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41811
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41811
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41812
41812
|
let fetchResult;
|
|
41813
41813
|
try {
|
|
41814
41814
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41941,7 +41941,7 @@ var Service = class Service extends Object$1 {
|
|
|
41941
41941
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41942
41942
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41943
41943
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41944
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41944
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41945
41945
|
let fetchResult;
|
|
41946
41946
|
try {
|
|
41947
41947
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42077,7 +42077,7 @@ var Service = class Service extends Object$1 {
|
|
|
42077
42077
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42078
42078
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42079
42079
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42080
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
42080
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42081
42081
|
let fetchResult;
|
|
42082
42082
|
try {
|
|
42083
42083
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42211,7 +42211,7 @@ var Service = class Service extends Object$1 {
|
|
|
42211
42211
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42212
42212
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42213
42213
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42214
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
42214
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42215
42215
|
let fetchResult;
|
|
42216
42216
|
try {
|
|
42217
42217
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42343,7 +42343,7 @@ var Service = class Service extends Object$1 {
|
|
|
42343
42343
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42344
42344
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42345
42345
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42346
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
42346
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42347
42347
|
let fetchResult;
|
|
42348
42348
|
try {
|
|
42349
42349
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42475,7 +42475,7 @@ var Service = class Service extends Object$1 {
|
|
|
42475
42475
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42476
42476
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42477
42477
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42478
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
42478
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42479
42479
|
let fetchResult;
|
|
42480
42480
|
try {
|
|
42481
42481
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42647,7 +42647,7 @@ var Service = class Service extends Object$1 {
|
|
|
42647
42647
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42648
42648
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42649
42649
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42650
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
42650
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42651
42651
|
let fetchResult;
|
|
42652
42652
|
try {
|
|
42653
42653
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42822,7 +42822,7 @@ var Service = class Service extends Object$1 {
|
|
|
42822
42822
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42823
42823
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42824
42824
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42825
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
42825
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42826
42826
|
let fetchResult;
|
|
42827
42827
|
try {
|
|
42828
42828
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43055,7 +43055,7 @@ var Service = class Service extends Object$1 {
|
|
|
43055
43055
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43056
43056
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43057
43057
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43058
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
43058
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43059
43059
|
let fetchResult;
|
|
43060
43060
|
try {
|
|
43061
43061
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43759,7 +43759,7 @@ var Service = class Service extends Object$1 {
|
|
|
43759
43759
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43760
43760
|
*/
|
|
43761
43761
|
static async fromJsonLd(json, options = {}) {
|
|
43762
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
43762
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43763
43763
|
try {
|
|
43764
43764
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
43765
43765
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44476,7 +44476,7 @@ var Source = class {
|
|
|
44476
44476
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44477
44477
|
*/
|
|
44478
44478
|
static async fromJsonLd(json, options = {}) {
|
|
44479
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
44479
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44480
44480
|
try {
|
|
44481
44481
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
44482
44482
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44661,7 +44661,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
44661
44661
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44662
44662
|
*/
|
|
44663
44663
|
static async fromJsonLd(json, options = {}) {
|
|
44664
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
44664
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44665
44665
|
try {
|
|
44666
44666
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
44667
44667
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44813,7 +44813,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
44813
44813
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44814
44814
|
*/
|
|
44815
44815
|
static async fromJsonLd(json, options = {}) {
|
|
44816
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
44816
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44817
44817
|
try {
|
|
44818
44818
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
44819
44819
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45011,7 +45011,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
45011
45011
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45012
45012
|
*/
|
|
45013
45013
|
static async fromJsonLd(json, options = {}) {
|
|
45014
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
45014
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45015
45015
|
try {
|
|
45016
45016
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
45017
45017
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45180,7 +45180,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
45180
45180
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45181
45181
|
*/
|
|
45182
45182
|
static async fromJsonLd(json, options = {}) {
|
|
45183
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
45183
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45184
45184
|
try {
|
|
45185
45185
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
45186
45186
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45346,7 +45346,7 @@ var Undo = class Undo extends Activity {
|
|
|
45346
45346
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45347
45347
|
*/
|
|
45348
45348
|
static async fromJsonLd(json, options = {}) {
|
|
45349
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
45349
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45350
45350
|
try {
|
|
45351
45351
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
45352
45352
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45550,7 +45550,7 @@ var Update = class Update extends Activity {
|
|
|
45550
45550
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45551
45551
|
*/
|
|
45552
45552
|
static async fromJsonLd(json, options = {}) {
|
|
45553
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
45553
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45554
45554
|
try {
|
|
45555
45555
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
45556
45556
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45715,7 +45715,7 @@ var Video = class Video extends Document {
|
|
|
45715
45715
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45716
45716
|
*/
|
|
45717
45717
|
static async fromJsonLd(json, options = {}) {
|
|
45718
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
45718
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45719
45719
|
try {
|
|
45720
45720
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
45721
45721
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45866,7 +45866,7 @@ var View = class View extends Activity {
|
|
|
45866
45866
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45867
45867
|
*/
|
|
45868
45868
|
static async fromJsonLd(json, options = {}) {
|
|
45869
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
45869
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45870
45870
|
try {
|
|
45871
45871
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
45872
45872
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|