@fedify/vocab 2.2.14 → 2.2.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deno.json +1 -1
- package/dist/mod.cjs +217 -217
- package/dist/mod.js +217 -217
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/{deno-Bm7tiCIb.mjs → deno-DOTDjuI5.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-B7Fuv7Kz.mjs → vocab-D2M3Itg4.mjs} +216 -216
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
|
@@ -803,7 +803,7 @@ var Object$1 = class Object$1 {
|
|
|
803
803
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
804
804
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
805
805
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
806
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
806
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
807
807
|
let fetchResult;
|
|
808
808
|
try {
|
|
809
809
|
fetchResult = await documentLoader(url.href);
|
|
@@ -959,7 +959,7 @@ var Object$1 = class Object$1 {
|
|
|
959
959
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
960
960
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
961
961
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
962
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
962
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
963
963
|
let fetchResult;
|
|
964
964
|
try {
|
|
965
965
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1190,7 +1190,7 @@ var Object$1 = class Object$1 {
|
|
|
1190
1190
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1191
1191
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1192
1192
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1193
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
1193
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1194
1194
|
let fetchResult;
|
|
1195
1195
|
try {
|
|
1196
1196
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1393,7 +1393,7 @@ var Object$1 = class Object$1 {
|
|
|
1393
1393
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1394
1394
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1395
1395
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1396
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
1396
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1397
1397
|
let fetchResult;
|
|
1398
1398
|
try {
|
|
1399
1399
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1565,7 +1565,7 @@ var Object$1 = class Object$1 {
|
|
|
1565
1565
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1566
1566
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1567
1567
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1568
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
1568
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1569
1569
|
let fetchResult;
|
|
1570
1570
|
try {
|
|
1571
1571
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1705,7 +1705,7 @@ var Object$1 = class Object$1 {
|
|
|
1705
1705
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1706
1706
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1707
1707
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1708
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
1708
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1709
1709
|
let fetchResult;
|
|
1710
1710
|
try {
|
|
1711
1711
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1890,7 +1890,7 @@ var Object$1 = class Object$1 {
|
|
|
1890
1890
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1891
1891
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1892
1892
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1893
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
1893
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1894
1894
|
let fetchResult;
|
|
1895
1895
|
try {
|
|
1896
1896
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2075,7 +2075,7 @@ var Object$1 = class Object$1 {
|
|
|
2075
2075
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2076
2076
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2077
2077
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2078
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
2078
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2079
2079
|
let fetchResult;
|
|
2080
2080
|
try {
|
|
2081
2081
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2268,7 +2268,7 @@ var Object$1 = class Object$1 {
|
|
|
2268
2268
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2269
2269
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2270
2270
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2271
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
2271
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2272
2272
|
let fetchResult;
|
|
2273
2273
|
try {
|
|
2274
2274
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2461,7 +2461,7 @@ var Object$1 = class Object$1 {
|
|
|
2461
2461
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2462
2462
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2463
2463
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2464
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
2464
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2465
2465
|
let fetchResult;
|
|
2466
2466
|
try {
|
|
2467
2467
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2659,7 +2659,7 @@ var Object$1 = class Object$1 {
|
|
|
2659
2659
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2660
2660
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2661
2661
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2662
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
2662
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2663
2663
|
let fetchResult;
|
|
2664
2664
|
try {
|
|
2665
2665
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2789,7 +2789,7 @@ var Object$1 = class Object$1 {
|
|
|
2789
2789
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2790
2790
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2791
2791
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2792
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
2792
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2793
2793
|
let fetchResult;
|
|
2794
2794
|
try {
|
|
2795
2795
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2925,7 +2925,7 @@ var Object$1 = class Object$1 {
|
|
|
2925
2925
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2926
2926
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2927
2927
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2928
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
2928
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2929
2929
|
let fetchResult;
|
|
2930
2930
|
try {
|
|
2931
2931
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3061,7 +3061,7 @@ var Object$1 = class Object$1 {
|
|
|
3061
3061
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3062
3062
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3063
3063
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3064
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
3064
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3065
3065
|
let fetchResult;
|
|
3066
3066
|
try {
|
|
3067
3067
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3215,7 +3215,7 @@ var Object$1 = class Object$1 {
|
|
|
3215
3215
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3216
3216
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3217
3217
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3218
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
3218
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3219
3219
|
let fetchResult;
|
|
3220
3220
|
try {
|
|
3221
3221
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3377,7 +3377,7 @@ var Object$1 = class Object$1 {
|
|
|
3377
3377
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3378
3378
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3379
3379
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3380
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
3380
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3381
3381
|
let fetchResult;
|
|
3382
3382
|
try {
|
|
3383
3383
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3560,7 +3560,7 @@ var Object$1 = class Object$1 {
|
|
|
3560
3560
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3561
3561
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3562
3562
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3563
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
3563
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3564
3564
|
let fetchResult;
|
|
3565
3565
|
try {
|
|
3566
3566
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3743,7 +3743,7 @@ var Object$1 = class Object$1 {
|
|
|
3743
3743
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3744
3744
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3745
3745
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3746
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
3746
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3747
3747
|
let fetchResult;
|
|
3748
3748
|
try {
|
|
3749
3749
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3926,7 +3926,7 @@ var Object$1 = class Object$1 {
|
|
|
3926
3926
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3927
3927
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3928
3928
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3929
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
3929
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3930
3930
|
let fetchResult;
|
|
3931
3931
|
try {
|
|
3932
3932
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4146,7 +4146,7 @@ var Object$1 = class Object$1 {
|
|
|
4146
4146
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4147
4147
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4148
4148
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4149
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
4149
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4150
4150
|
let fetchResult;
|
|
4151
4151
|
try {
|
|
4152
4152
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4352,7 +4352,7 @@ var Object$1 = class Object$1 {
|
|
|
4352
4352
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4353
4353
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4354
4354
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4355
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
4355
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4356
4356
|
let fetchResult;
|
|
4357
4357
|
try {
|
|
4358
4358
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4482,7 +4482,7 @@ var Object$1 = class Object$1 {
|
|
|
4482
4482
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4483
4483
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4484
4484
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4485
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
4485
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4486
4486
|
let fetchResult;
|
|
4487
4487
|
try {
|
|
4488
4488
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4612,7 +4612,7 @@ var Object$1 = class Object$1 {
|
|
|
4612
4612
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4613
4613
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4614
4614
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4615
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
4615
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4616
4616
|
let fetchResult;
|
|
4617
4617
|
try {
|
|
4618
4618
|
fetchResult = await documentLoader(url.href);
|
|
@@ -5448,7 +5448,7 @@ var Object$1 = class Object$1 {
|
|
|
5448
5448
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5449
5449
|
*/
|
|
5450
5450
|
static async fromJsonLd(json, options = {}) {
|
|
5451
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
5451
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5452
5452
|
try {
|
|
5453
5453
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
5454
5454
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7048,7 +7048,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
7048
7048
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7049
7049
|
*/
|
|
7050
7050
|
static async fromJsonLd(json, options = {}) {
|
|
7051
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
7051
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7052
7052
|
try {
|
|
7053
7053
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
7054
7054
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7184,7 +7184,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7184
7184
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7185
7185
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7186
7186
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7187
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
7187
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7188
7188
|
let fetchResult;
|
|
7189
7189
|
try {
|
|
7190
7190
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7331,7 +7331,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7331
7331
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7332
7332
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7333
7333
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7334
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
7334
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7335
7335
|
let fetchResult;
|
|
7336
7336
|
try {
|
|
7337
7337
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7624,7 +7624,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7624
7624
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7625
7625
|
*/
|
|
7626
7626
|
static async fromJsonLd(json, options = {}) {
|
|
7627
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
7627
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7628
7628
|
try {
|
|
7629
7629
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
7630
7630
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7963,7 +7963,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7963
7963
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7964
7964
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7965
7965
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7966
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
7966
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7967
7967
|
let fetchResult;
|
|
7968
7968
|
try {
|
|
7969
7969
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8194,7 +8194,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8194
8194
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8195
8195
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8196
8196
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8197
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8197
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8198
8198
|
let fetchResult;
|
|
8199
8199
|
try {
|
|
8200
8200
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8379,7 +8379,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8379
8379
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8380
8380
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8381
8381
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8382
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8382
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8383
8383
|
let fetchResult;
|
|
8384
8384
|
try {
|
|
8385
8385
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8570,7 +8570,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8570
8570
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8571
8571
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8572
8572
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8573
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8573
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8574
8574
|
let fetchResult;
|
|
8575
8575
|
try {
|
|
8576
8576
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8755,7 +8755,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8755
8755
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8756
8756
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8757
8757
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8758
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8758
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8759
8759
|
let fetchResult;
|
|
8760
8760
|
try {
|
|
8761
8761
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8942,7 +8942,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8942
8942
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8943
8943
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8944
8944
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8945
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8945
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8946
8946
|
let fetchResult;
|
|
8947
8947
|
try {
|
|
8948
8948
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9212,7 +9212,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
9212
9212
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9213
9213
|
*/
|
|
9214
9214
|
static async fromJsonLd(json, options = {}) {
|
|
9215
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
9215
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9216
9216
|
try {
|
|
9217
9217
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
9218
9218
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9571,7 +9571,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
9571
9571
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9572
9572
|
*/
|
|
9573
9573
|
static async fromJsonLd(json, options = {}) {
|
|
9574
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
9574
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9575
9575
|
try {
|
|
9576
9576
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
9577
9577
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9831,7 +9831,7 @@ var PropertyValue = class {
|
|
|
9831
9831
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9832
9832
|
*/
|
|
9833
9833
|
static async fromJsonLd(json, options = {}) {
|
|
9834
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
9834
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9835
9835
|
try {
|
|
9836
9836
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
9837
9837
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10118,7 +10118,7 @@ var Measure = class {
|
|
|
10118
10118
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10119
10119
|
*/
|
|
10120
10120
|
static async fromJsonLd(json, options = {}) {
|
|
10121
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
10121
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10122
10122
|
try {
|
|
10123
10123
|
const object = await this.__fromJsonLd__Measure__(json, span, options);
|
|
10124
10124
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10288,7 +10288,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10288
10288
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10289
10289
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10290
10290
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10291
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
10291
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10292
10292
|
let fetchResult;
|
|
10293
10293
|
try {
|
|
10294
10294
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10418,7 +10418,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10418
10418
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10419
10419
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10420
10420
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10421
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
10421
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10422
10422
|
let fetchResult;
|
|
10423
10423
|
try {
|
|
10424
10424
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10643,7 +10643,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10643
10643
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10644
10644
|
*/
|
|
10645
10645
|
static async fromJsonLd(json, options = {}) {
|
|
10646
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
10646
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10647
10647
|
try {
|
|
10648
10648
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
10649
10649
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10854,7 +10854,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
10854
10854
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10855
10855
|
*/
|
|
10856
10856
|
static async fromJsonLd(json, options = {}) {
|
|
10857
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
10857
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10858
10858
|
try {
|
|
10859
10859
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
10860
10860
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11132,7 +11132,7 @@ var InteractionPolicy = class {
|
|
|
11132
11132
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11133
11133
|
*/
|
|
11134
11134
|
static async fromJsonLd(json, options = {}) {
|
|
11135
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
11135
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11136
11136
|
try {
|
|
11137
11137
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
11138
11138
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11487,7 +11487,7 @@ var InteractionRule = class {
|
|
|
11487
11487
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11488
11488
|
*/
|
|
11489
11489
|
static async fromJsonLd(json, options = {}) {
|
|
11490
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
11490
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11491
11491
|
try {
|
|
11492
11492
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
11493
11493
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11658,7 +11658,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11658
11658
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11659
11659
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11660
11660
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11661
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
11661
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11662
11662
|
let fetchResult;
|
|
11663
11663
|
try {
|
|
11664
11664
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11788,7 +11788,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11788
11788
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11789
11789
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11790
11790
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11791
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
11791
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11792
11792
|
let fetchResult;
|
|
11793
11793
|
try {
|
|
11794
11794
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12013,7 +12013,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
12013
12013
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12014
12014
|
*/
|
|
12015
12015
|
static async fromJsonLd(json, options = {}) {
|
|
12016
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12016
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12017
12017
|
try {
|
|
12018
12018
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
12019
12019
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12223,7 +12223,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
12223
12223
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12224
12224
|
*/
|
|
12225
12225
|
static async fromJsonLd(json, options = {}) {
|
|
12226
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12226
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12227
12227
|
try {
|
|
12228
12228
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
12229
12229
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12356,7 +12356,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12356
12356
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12357
12357
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12358
12358
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12359
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
12359
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12360
12360
|
let fetchResult;
|
|
12361
12361
|
try {
|
|
12362
12362
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12486,7 +12486,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12486
12486
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12487
12487
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12488
12488
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12489
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
12489
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12490
12490
|
let fetchResult;
|
|
12491
12491
|
try {
|
|
12492
12492
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12711,7 +12711,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12711
12711
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12712
12712
|
*/
|
|
12713
12713
|
static async fromJsonLd(json, options = {}) {
|
|
12714
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12714
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12715
12715
|
try {
|
|
12716
12716
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
12717
12717
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12921,7 +12921,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
12921
12921
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12922
12922
|
*/
|
|
12923
12923
|
static async fromJsonLd(json, options = {}) {
|
|
12924
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12924
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12925
12925
|
try {
|
|
12926
12926
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
12927
12927
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13054,7 +13054,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
13054
13054
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13055
13055
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13056
13056
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13057
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
13057
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13058
13058
|
let fetchResult;
|
|
13059
13059
|
try {
|
|
13060
13060
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13183,7 +13183,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
13183
13183
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13184
13184
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13185
13185
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13186
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
13186
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13187
13187
|
let fetchResult;
|
|
13188
13188
|
try {
|
|
13189
13189
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13410,7 +13410,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
13410
13410
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13411
13411
|
*/
|
|
13412
13412
|
static async fromJsonLd(json, options = {}) {
|
|
13413
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13413
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13414
13414
|
try {
|
|
13415
13415
|
const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
|
|
13416
13416
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13650,7 +13650,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
|
|
|
13650
13650
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13651
13651
|
*/
|
|
13652
13652
|
static async fromJsonLd(json, options = {}) {
|
|
13653
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13653
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13654
13654
|
try {
|
|
13655
13655
|
const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
|
|
13656
13656
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13870,7 +13870,7 @@ var DidService = class {
|
|
|
13870
13870
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13871
13871
|
*/
|
|
13872
13872
|
static async fromJsonLd(json, options = {}) {
|
|
13873
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13873
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13874
13874
|
try {
|
|
13875
13875
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
13876
13876
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14032,7 +14032,7 @@ var Export = class Export extends DidService {
|
|
|
14032
14032
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14033
14033
|
*/
|
|
14034
14034
|
static async fromJsonLd(json, options = {}) {
|
|
14035
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
14035
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14036
14036
|
try {
|
|
14037
14037
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
14038
14038
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14219,7 +14219,7 @@ var DataIntegrityProof = class {
|
|
|
14219
14219
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14220
14220
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14221
14221
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14222
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
14222
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14223
14223
|
let fetchResult;
|
|
14224
14224
|
try {
|
|
14225
14225
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14438,7 +14438,7 @@ var DataIntegrityProof = class {
|
|
|
14438
14438
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14439
14439
|
*/
|
|
14440
14440
|
static async fromJsonLd(json, options = {}) {
|
|
14441
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
14441
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14442
14442
|
try {
|
|
14443
14443
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
14444
14444
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14696,7 +14696,7 @@ var CryptographicKey = class {
|
|
|
14696
14696
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14697
14697
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14698
14698
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14699
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
14699
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14700
14700
|
let fetchResult;
|
|
14701
14701
|
try {
|
|
14702
14702
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14967,7 +14967,7 @@ var CryptographicKey = class {
|
|
|
14967
14967
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14968
14968
|
*/
|
|
14969
14969
|
static async fromJsonLd(json, options = {}) {
|
|
14970
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
14970
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14971
14971
|
try {
|
|
14972
14972
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
14973
14973
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15186,7 +15186,7 @@ var Multikey = class {
|
|
|
15186
15186
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15187
15187
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15188
15188
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15189
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
15189
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15190
15190
|
let fetchResult;
|
|
15191
15191
|
try {
|
|
15192
15192
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15463,7 +15463,7 @@ var Multikey = class {
|
|
|
15463
15463
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15464
15464
|
*/
|
|
15465
15465
|
static async fromJsonLd(json, options = {}) {
|
|
15466
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
15466
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15467
15467
|
try {
|
|
15468
15468
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
15469
15469
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15873,7 +15873,7 @@ var Intent = class {
|
|
|
15873
15873
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15874
15874
|
*/
|
|
15875
15875
|
static async fromJsonLd(json, options = {}) {
|
|
15876
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
15876
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15877
15877
|
try {
|
|
15878
15878
|
const object = await this.__fromJsonLd__Intent__(json, span, options);
|
|
15879
15879
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16312,7 +16312,7 @@ var Proposal = class Proposal extends Object$1 {
|
|
|
16312
16312
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16313
16313
|
*/
|
|
16314
16314
|
static async fromJsonLd(json, options = {}) {
|
|
16315
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
16315
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16316
16316
|
try {
|
|
16317
16317
|
const object = await this.__fromJsonLd__Proposal__(json, span, options);
|
|
16318
16318
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16543,7 +16543,7 @@ var Accept = class Accept extends Activity {
|
|
|
16543
16543
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16544
16544
|
*/
|
|
16545
16545
|
static async fromJsonLd(json, options = {}) {
|
|
16546
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
16546
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16547
16547
|
try {
|
|
16548
16548
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
16549
16549
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16697,7 +16697,7 @@ var Add = class Add extends Activity {
|
|
|
16697
16697
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16698
16698
|
*/
|
|
16699
16699
|
static async fromJsonLd(json, options = {}) {
|
|
16700
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
16700
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16701
16701
|
try {
|
|
16702
16702
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
16703
16703
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16878,7 +16878,7 @@ var Announce = class Announce extends Activity {
|
|
|
16878
16878
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16879
16879
|
*/
|
|
16880
16880
|
static async fromJsonLd(json, options = {}) {
|
|
16881
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
16881
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16882
16882
|
try {
|
|
16883
16883
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
16884
16884
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17275,7 +17275,7 @@ var Application = class Application extends Object$1 {
|
|
|
17275
17275
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17276
17276
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17277
17277
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17278
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17278
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17279
17279
|
let fetchResult;
|
|
17280
17280
|
try {
|
|
17281
17281
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17456,7 +17456,7 @@ var Application = class Application extends Object$1 {
|
|
|
17456
17456
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17457
17457
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17458
17458
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17459
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17459
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17460
17460
|
let fetchResult;
|
|
17461
17461
|
try {
|
|
17462
17462
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17655,7 +17655,7 @@ var Application = class Application extends Object$1 {
|
|
|
17655
17655
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17656
17656
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17657
17657
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17658
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17658
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17659
17659
|
let fetchResult;
|
|
17660
17660
|
try {
|
|
17661
17661
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17806,7 +17806,7 @@ var Application = class Application extends Object$1 {
|
|
|
17806
17806
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17807
17807
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17808
17808
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17809
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17809
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17810
17810
|
let fetchResult;
|
|
17811
17811
|
try {
|
|
17812
17812
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17954,7 +17954,7 @@ var Application = class Application extends Object$1 {
|
|
|
17954
17954
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17955
17955
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17956
17956
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17957
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17957
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17958
17958
|
let fetchResult;
|
|
17959
17959
|
try {
|
|
17960
17960
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18087,7 +18087,7 @@ var Application = class Application extends Object$1 {
|
|
|
18087
18087
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18088
18088
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18089
18089
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18090
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18090
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18091
18091
|
let fetchResult;
|
|
18092
18092
|
try {
|
|
18093
18093
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18223,7 +18223,7 @@ var Application = class Application extends Object$1 {
|
|
|
18223
18223
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18224
18224
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18225
18225
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18226
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18226
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18227
18227
|
let fetchResult;
|
|
18228
18228
|
try {
|
|
18229
18229
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18357,7 +18357,7 @@ var Application = class Application extends Object$1 {
|
|
|
18357
18357
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18358
18358
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18359
18359
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18360
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18360
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18361
18361
|
let fetchResult;
|
|
18362
18362
|
try {
|
|
18363
18363
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18489,7 +18489,7 @@ var Application = class Application extends Object$1 {
|
|
|
18489
18489
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18490
18490
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18491
18491
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18492
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18492
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18493
18493
|
let fetchResult;
|
|
18494
18494
|
try {
|
|
18495
18495
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18621,7 +18621,7 @@ var Application = class Application extends Object$1 {
|
|
|
18621
18621
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18622
18622
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18623
18623
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18624
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18624
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18625
18625
|
let fetchResult;
|
|
18626
18626
|
try {
|
|
18627
18627
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18793,7 +18793,7 @@ var Application = class Application extends Object$1 {
|
|
|
18793
18793
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18794
18794
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18795
18795
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18796
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18796
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18797
18797
|
let fetchResult;
|
|
18798
18798
|
try {
|
|
18799
18799
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18968,7 +18968,7 @@ var Application = class Application extends Object$1 {
|
|
|
18968
18968
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18969
18969
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18970
18970
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18971
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18971
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18972
18972
|
let fetchResult;
|
|
18973
18973
|
try {
|
|
18974
18974
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19201,7 +19201,7 @@ var Application = class Application extends Object$1 {
|
|
|
19201
19201
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19202
19202
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19203
19203
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19204
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
19204
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19205
19205
|
let fetchResult;
|
|
19206
19206
|
try {
|
|
19207
19207
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19905,7 +19905,7 @@ var Application = class Application extends Object$1 {
|
|
|
19905
19905
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19906
19906
|
*/
|
|
19907
19907
|
static async fromJsonLd(json, options = {}) {
|
|
19908
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
19908
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19909
19909
|
try {
|
|
19910
19910
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
19911
19911
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20583,7 +20583,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
20583
20583
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20584
20584
|
*/
|
|
20585
20585
|
static async fromJsonLd(json, options = {}) {
|
|
20586
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
20586
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20587
20587
|
try {
|
|
20588
20588
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
20589
20589
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20738,7 +20738,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
20738
20738
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20739
20739
|
*/
|
|
20740
20740
|
static async fromJsonLd(json, options = {}) {
|
|
20741
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
20741
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20742
20742
|
try {
|
|
20743
20743
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
20744
20744
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20870,7 +20870,7 @@ var Article = class Article extends Object$1 {
|
|
|
20870
20870
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20871
20871
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20872
20872
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20873
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
20873
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20874
20874
|
let fetchResult;
|
|
20875
20875
|
try {
|
|
20876
20876
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21017,7 +21017,7 @@ var Article = class Article extends Object$1 {
|
|
|
21017
21017
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21018
21018
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21019
21019
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21020
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
21020
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21021
21021
|
let fetchResult;
|
|
21022
21022
|
try {
|
|
21023
21023
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21312,7 +21312,7 @@ var Article = class Article extends Object$1 {
|
|
|
21312
21312
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21313
21313
|
*/
|
|
21314
21314
|
static async fromJsonLd(json, options = {}) {
|
|
21315
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
21315
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21316
21316
|
try {
|
|
21317
21317
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
21318
21318
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21607,7 +21607,7 @@ var Document = class Document extends Object$1 {
|
|
|
21607
21607
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21608
21608
|
*/
|
|
21609
21609
|
static async fromJsonLd(json, options = {}) {
|
|
21610
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
21610
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21611
21611
|
try {
|
|
21612
21612
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
21613
21613
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21812,7 +21812,7 @@ var Audio = class Audio extends Document {
|
|
|
21812
21812
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21813
21813
|
*/
|
|
21814
21814
|
static async fromJsonLd(json, options = {}) {
|
|
21815
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
21815
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21816
21816
|
try {
|
|
21817
21817
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
21818
21818
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21963,7 +21963,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
21963
21963
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21964
21964
|
*/
|
|
21965
21965
|
static async fromJsonLd(json, options = {}) {
|
|
21966
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
21966
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21967
21967
|
try {
|
|
21968
21968
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
21969
21969
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22117,7 +22117,7 @@ var Block = class Block extends Ignore {
|
|
|
22117
22117
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22118
22118
|
*/
|
|
22119
22119
|
static async fromJsonLd(json, options = {}) {
|
|
22120
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
22120
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22121
22121
|
try {
|
|
22122
22122
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
22123
22123
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22383,7 +22383,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22383
22383
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22384
22384
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22385
22385
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22386
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22386
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22387
22387
|
let fetchResult;
|
|
22388
22388
|
try {
|
|
22389
22389
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22513,7 +22513,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22513
22513
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22514
22514
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22515
22515
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22516
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22516
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22517
22517
|
let fetchResult;
|
|
22518
22518
|
try {
|
|
22519
22519
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22643,7 +22643,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22643
22643
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22644
22644
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22645
22645
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22646
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22646
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22647
22647
|
let fetchResult;
|
|
22648
22648
|
try {
|
|
22649
22649
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22773,7 +22773,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22773
22773
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22774
22774
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22775
22775
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22776
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22776
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22777
22777
|
let fetchResult;
|
|
22778
22778
|
try {
|
|
22779
22779
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22914,7 +22914,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22914
22914
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22915
22915
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22916
22916
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22917
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22917
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22918
22918
|
let fetchResult;
|
|
22919
22919
|
try {
|
|
22920
22920
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23043,7 +23043,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23043
23043
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23044
23044
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23045
23045
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23046
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23046
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23047
23047
|
let fetchResult;
|
|
23048
23048
|
try {
|
|
23049
23049
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23172,7 +23172,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23172
23172
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23173
23173
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23174
23174
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23175
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23175
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23176
23176
|
let fetchResult;
|
|
23177
23177
|
try {
|
|
23178
23178
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23301,7 +23301,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23301
23301
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23302
23302
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23303
23303
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23304
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23304
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23305
23305
|
let fetchResult;
|
|
23306
23306
|
try {
|
|
23307
23307
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23430,7 +23430,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23430
23430
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23431
23431
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23432
23432
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23433
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23433
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23434
23434
|
let fetchResult;
|
|
23435
23435
|
try {
|
|
23436
23436
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23559,7 +23559,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23559
23559
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23560
23560
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23561
23561
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23562
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23562
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23563
23563
|
let fetchResult;
|
|
23564
23564
|
try {
|
|
23565
23565
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23688,7 +23688,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23688
23688
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23689
23689
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23690
23690
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23691
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23691
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23692
23692
|
let fetchResult;
|
|
23693
23693
|
try {
|
|
23694
23694
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23817,7 +23817,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23817
23817
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23818
23818
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23819
23819
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23820
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23820
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23821
23821
|
let fetchResult;
|
|
23822
23822
|
try {
|
|
23823
23823
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24275,7 +24275,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24275
24275
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24276
24276
|
*/
|
|
24277
24277
|
static async fromJsonLd(json, options = {}) {
|
|
24278
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
24278
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24279
24279
|
try {
|
|
24280
24280
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
24281
24281
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24809,7 +24809,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
24809
24809
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24810
24810
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24811
24811
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24812
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
24812
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24813
24813
|
let fetchResult;
|
|
24814
24814
|
try {
|
|
24815
24815
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24939,7 +24939,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
24939
24939
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24940
24940
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24941
24941
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24942
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
24942
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24943
24943
|
let fetchResult;
|
|
24944
24944
|
try {
|
|
24945
24945
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25068,7 +25068,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
25068
25068
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25069
25069
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25070
25070
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25071
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
25071
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25072
25072
|
let fetchResult;
|
|
25073
25073
|
try {
|
|
25074
25074
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25363,7 +25363,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
25363
25363
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25364
25364
|
*/
|
|
25365
25365
|
static async fromJsonLd(json, options = {}) {
|
|
25366
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25366
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25367
25367
|
try {
|
|
25368
25368
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
25369
25369
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25620,7 +25620,7 @@ var Create = class Create extends Activity {
|
|
|
25620
25620
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25621
25621
|
*/
|
|
25622
25622
|
static async fromJsonLd(json, options = {}) {
|
|
25623
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25623
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25624
25624
|
try {
|
|
25625
25625
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
25626
25626
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25797,7 +25797,7 @@ var Delete = class Delete extends Activity {
|
|
|
25797
25797
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25798
25798
|
*/
|
|
25799
25799
|
static async fromJsonLd(json, options = {}) {
|
|
25800
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25800
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25801
25801
|
try {
|
|
25802
25802
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
25803
25803
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25951,7 +25951,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
25951
25951
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25952
25952
|
*/
|
|
25953
25953
|
static async fromJsonLd(json, options = {}) {
|
|
25954
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25954
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25955
25955
|
try {
|
|
25956
25956
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
25957
25957
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26310,7 +26310,7 @@ var Endpoints = class {
|
|
|
26310
26310
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26311
26311
|
*/
|
|
26312
26312
|
static async fromJsonLd(json, options = {}) {
|
|
26313
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
26313
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26314
26314
|
try {
|
|
26315
26315
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
26316
26316
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26582,7 +26582,7 @@ var Event = class Event extends Object$1 {
|
|
|
26582
26582
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26583
26583
|
*/
|
|
26584
26584
|
static async fromJsonLd(json, options = {}) {
|
|
26585
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
26585
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26586
26586
|
try {
|
|
26587
26587
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
26588
26588
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26734,7 +26734,7 @@ var Flag = class Flag extends Activity {
|
|
|
26734
26734
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26735
26735
|
*/
|
|
26736
26736
|
static async fromJsonLd(json, options = {}) {
|
|
26737
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
26737
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26738
26738
|
try {
|
|
26739
26739
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
26740
26740
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26890,7 +26890,7 @@ var Follow = class Follow extends Activity {
|
|
|
26890
26890
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26891
26891
|
*/
|
|
26892
26892
|
static async fromJsonLd(json, options = {}) {
|
|
26893
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
26893
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26894
26894
|
try {
|
|
26895
26895
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
26896
26896
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27287,7 +27287,7 @@ var Group = class Group extends Object$1 {
|
|
|
27287
27287
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27288
27288
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27289
27289
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27290
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27290
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27291
27291
|
let fetchResult;
|
|
27292
27292
|
try {
|
|
27293
27293
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27468,7 +27468,7 @@ var Group = class Group extends Object$1 {
|
|
|
27468
27468
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27469
27469
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27470
27470
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27471
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27471
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27472
27472
|
let fetchResult;
|
|
27473
27473
|
try {
|
|
27474
27474
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27667,7 +27667,7 @@ var Group = class Group extends Object$1 {
|
|
|
27667
27667
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27668
27668
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27669
27669
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27670
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27670
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27671
27671
|
let fetchResult;
|
|
27672
27672
|
try {
|
|
27673
27673
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27818,7 +27818,7 @@ var Group = class Group extends Object$1 {
|
|
|
27818
27818
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27819
27819
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27820
27820
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27821
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27821
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27822
27822
|
let fetchResult;
|
|
27823
27823
|
try {
|
|
27824
27824
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27966,7 +27966,7 @@ var Group = class Group extends Object$1 {
|
|
|
27966
27966
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27967
27967
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27968
27968
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27969
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27969
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27970
27970
|
let fetchResult;
|
|
27971
27971
|
try {
|
|
27972
27972
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28099,7 +28099,7 @@ var Group = class Group extends Object$1 {
|
|
|
28099
28099
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28100
28100
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28101
28101
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28102
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28102
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28103
28103
|
let fetchResult;
|
|
28104
28104
|
try {
|
|
28105
28105
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28235,7 +28235,7 @@ var Group = class Group extends Object$1 {
|
|
|
28235
28235
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28236
28236
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28237
28237
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28238
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28238
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28239
28239
|
let fetchResult;
|
|
28240
28240
|
try {
|
|
28241
28241
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28369,7 +28369,7 @@ var Group = class Group extends Object$1 {
|
|
|
28369
28369
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28370
28370
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28371
28371
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28372
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28372
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28373
28373
|
let fetchResult;
|
|
28374
28374
|
try {
|
|
28375
28375
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28501,7 +28501,7 @@ var Group = class Group extends Object$1 {
|
|
|
28501
28501
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28502
28502
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28503
28503
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28504
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28504
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28505
28505
|
let fetchResult;
|
|
28506
28506
|
try {
|
|
28507
28507
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28633,7 +28633,7 @@ var Group = class Group extends Object$1 {
|
|
|
28633
28633
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28634
28634
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28635
28635
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28636
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28636
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28637
28637
|
let fetchResult;
|
|
28638
28638
|
try {
|
|
28639
28639
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28805,7 +28805,7 @@ var Group = class Group extends Object$1 {
|
|
|
28805
28805
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28806
28806
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28807
28807
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28808
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28808
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28809
28809
|
let fetchResult;
|
|
28810
28810
|
try {
|
|
28811
28811
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28980,7 +28980,7 @@ var Group = class Group extends Object$1 {
|
|
|
28980
28980
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28981
28981
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28982
28982
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28983
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28983
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28984
28984
|
let fetchResult;
|
|
28985
28985
|
try {
|
|
28986
28986
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29213,7 +29213,7 @@ var Group = class Group extends Object$1 {
|
|
|
29213
29213
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29214
29214
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29215
29215
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29216
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
29216
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29217
29217
|
let fetchResult;
|
|
29218
29218
|
try {
|
|
29219
29219
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29917,7 +29917,7 @@ var Group = class Group extends Object$1 {
|
|
|
29917
29917
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29918
29918
|
*/
|
|
29919
29919
|
static async fromJsonLd(json, options = {}) {
|
|
29920
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
29920
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29921
29921
|
try {
|
|
29922
29922
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
29923
29923
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30745,7 +30745,7 @@ var Link = class Link {
|
|
|
30745
30745
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30746
30746
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30747
30747
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30748
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
30748
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30749
30749
|
let fetchResult;
|
|
30750
30750
|
try {
|
|
30751
30751
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31047,7 +31047,7 @@ var Link = class Link {
|
|
|
31047
31047
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31048
31048
|
*/
|
|
31049
31049
|
static async fromJsonLd(json, options = {}) {
|
|
31050
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31050
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31051
31051
|
try {
|
|
31052
31052
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
31053
31053
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31429,7 +31429,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
31429
31429
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31430
31430
|
*/
|
|
31431
31431
|
static async fromJsonLd(json, options = {}) {
|
|
31432
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31432
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31433
31433
|
try {
|
|
31434
31434
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
31435
31435
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31593,7 +31593,7 @@ var Image = class Image extends Document {
|
|
|
31593
31593
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31594
31594
|
*/
|
|
31595
31595
|
static async fromJsonLd(json, options = {}) {
|
|
31596
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31596
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31597
31597
|
try {
|
|
31598
31598
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
31599
31599
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31745,7 +31745,7 @@ var Offer = class Offer extends Activity {
|
|
|
31745
31745
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31746
31746
|
*/
|
|
31747
31747
|
static async fromJsonLd(json, options = {}) {
|
|
31748
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31748
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31749
31749
|
try {
|
|
31750
31750
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
31751
31751
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31897,7 +31897,7 @@ var Invite = class Invite extends Offer {
|
|
|
31897
31897
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31898
31898
|
*/
|
|
31899
31899
|
static async fromJsonLd(json, options = {}) {
|
|
31900
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31900
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31901
31901
|
try {
|
|
31902
31902
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
31903
31903
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32048,7 +32048,7 @@ var Join = class Join extends Activity {
|
|
|
32048
32048
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32049
32049
|
*/
|
|
32050
32050
|
static async fromJsonLd(json, options = {}) {
|
|
32051
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32051
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32052
32052
|
try {
|
|
32053
32053
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
32054
32054
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32199,7 +32199,7 @@ var Leave = class Leave extends Activity {
|
|
|
32199
32199
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32200
32200
|
*/
|
|
32201
32201
|
static async fromJsonLd(json, options = {}) {
|
|
32202
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32202
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32203
32203
|
try {
|
|
32204
32204
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
32205
32205
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32354,7 +32354,7 @@ var Like = class Like extends Activity {
|
|
|
32354
32354
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32355
32355
|
*/
|
|
32356
32356
|
static async fromJsonLd(json, options = {}) {
|
|
32357
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32357
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32358
32358
|
try {
|
|
32359
32359
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
32360
32360
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32504,7 +32504,7 @@ var Listen = class Listen extends Activity {
|
|
|
32504
32504
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32505
32505
|
*/
|
|
32506
32506
|
static async fromJsonLd(json, options = {}) {
|
|
32507
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32507
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32508
32508
|
try {
|
|
32509
32509
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
32510
32510
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32657,7 +32657,7 @@ var Mention = class Mention extends Link {
|
|
|
32657
32657
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32658
32658
|
*/
|
|
32659
32659
|
static async fromJsonLd(json, options = {}) {
|
|
32660
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32660
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32661
32661
|
try {
|
|
32662
32662
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
32663
32663
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32809,7 +32809,7 @@ var Move = class Move extends Activity {
|
|
|
32809
32809
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32810
32810
|
*/
|
|
32811
32811
|
static async fromJsonLd(json, options = {}) {
|
|
32812
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32812
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32813
32813
|
try {
|
|
32814
32814
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
32815
32815
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32942,7 +32942,7 @@ var Note = class Note extends Object$1 {
|
|
|
32942
32942
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32943
32943
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32944
32944
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32945
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
32945
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32946
32946
|
let fetchResult;
|
|
32947
32947
|
try {
|
|
32948
32948
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33089,7 +33089,7 @@ var Note = class Note extends Object$1 {
|
|
|
33089
33089
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33090
33090
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33091
33091
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33092
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33092
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33093
33093
|
let fetchResult;
|
|
33094
33094
|
try {
|
|
33095
33095
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33384,7 +33384,7 @@ var Note = class Note extends Object$1 {
|
|
|
33384
33384
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33385
33385
|
*/
|
|
33386
33386
|
static async fromJsonLd(json, options = {}) {
|
|
33387
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
33387
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33388
33388
|
try {
|
|
33389
33389
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
33390
33390
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33571,7 +33571,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
33571
33571
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33572
33572
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33573
33573
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33574
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33574
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33575
33575
|
let fetchResult;
|
|
33576
33576
|
try {
|
|
33577
33577
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33851,7 +33851,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
33851
33851
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33852
33852
|
*/
|
|
33853
33853
|
static async fromJsonLd(json, options = {}) {
|
|
33854
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
33854
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33855
33855
|
try {
|
|
33856
33856
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
33857
33857
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34072,7 +34072,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
34072
34072
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34073
34073
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34074
34074
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34075
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34075
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34076
34076
|
let fetchResult;
|
|
34077
34077
|
try {
|
|
34078
34078
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34375,7 +34375,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
34375
34375
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34376
34376
|
*/
|
|
34377
34377
|
static async fromJsonLd(json, options = {}) {
|
|
34378
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
34378
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34379
34379
|
try {
|
|
34380
34380
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
34381
34381
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34888,7 +34888,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34888
34888
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34889
34889
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34890
34890
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34891
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34891
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34892
34892
|
let fetchResult;
|
|
34893
34893
|
try {
|
|
34894
34894
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35069,7 +35069,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35069
35069
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35070
35070
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35071
35071
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35072
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35072
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35073
35073
|
let fetchResult;
|
|
35074
35074
|
try {
|
|
35075
35075
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35268,7 +35268,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35268
35268
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35269
35269
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35270
35270
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35271
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35271
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35272
35272
|
let fetchResult;
|
|
35273
35273
|
try {
|
|
35274
35274
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35419,7 +35419,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35419
35419
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35420
35420
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35421
35421
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35422
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35422
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35423
35423
|
let fetchResult;
|
|
35424
35424
|
try {
|
|
35425
35425
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35567,7 +35567,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35567
35567
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35568
35568
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35569
35569
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35570
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35570
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35571
35571
|
let fetchResult;
|
|
35572
35572
|
try {
|
|
35573
35573
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35700,7 +35700,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35700
35700
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35701
35701
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35702
35702
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35703
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35703
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35704
35704
|
let fetchResult;
|
|
35705
35705
|
try {
|
|
35706
35706
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35836,7 +35836,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35836
35836
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35837
35837
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35838
35838
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35839
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35839
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35840
35840
|
let fetchResult;
|
|
35841
35841
|
try {
|
|
35842
35842
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35970,7 +35970,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35970
35970
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35971
35971
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35972
35972
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35973
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35973
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35974
35974
|
let fetchResult;
|
|
35975
35975
|
try {
|
|
35976
35976
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36102,7 +36102,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36102
36102
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36103
36103
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36104
36104
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36105
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36105
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36106
36106
|
let fetchResult;
|
|
36107
36107
|
try {
|
|
36108
36108
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36234,7 +36234,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36234
36234
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36235
36235
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36236
36236
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36237
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36237
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36238
36238
|
let fetchResult;
|
|
36239
36239
|
try {
|
|
36240
36240
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36406,7 +36406,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36406
36406
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36407
36407
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36408
36408
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36409
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36409
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36410
36410
|
let fetchResult;
|
|
36411
36411
|
try {
|
|
36412
36412
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36581,7 +36581,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36581
36581
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36582
36582
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36583
36583
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36584
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36584
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36585
36585
|
let fetchResult;
|
|
36586
36586
|
try {
|
|
36587
36587
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36814,7 +36814,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36814
36814
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36815
36815
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36816
36816
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36817
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36817
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36818
36818
|
let fetchResult;
|
|
36819
36819
|
try {
|
|
36820
36820
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37518,7 +37518,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37518
37518
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37519
37519
|
*/
|
|
37520
37520
|
static async fromJsonLd(json, options = {}) {
|
|
37521
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
37521
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37522
37522
|
try {
|
|
37523
37523
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
37524
37524
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38208,7 +38208,7 @@ var Page = class Page extends Document {
|
|
|
38208
38208
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38209
38209
|
*/
|
|
38210
38210
|
static async fromJsonLd(json, options = {}) {
|
|
38211
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
38211
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38212
38212
|
try {
|
|
38213
38213
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
38214
38214
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38605,7 +38605,7 @@ var Person = class Person extends Object$1 {
|
|
|
38605
38605
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38606
38606
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38607
38607
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38608
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38608
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38609
38609
|
let fetchResult;
|
|
38610
38610
|
try {
|
|
38611
38611
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38786,7 +38786,7 @@ var Person = class Person extends Object$1 {
|
|
|
38786
38786
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38787
38787
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38788
38788
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38789
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38789
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38790
38790
|
let fetchResult;
|
|
38791
38791
|
try {
|
|
38792
38792
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38985,7 +38985,7 @@ var Person = class Person extends Object$1 {
|
|
|
38985
38985
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38986
38986
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38987
38987
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38988
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38988
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38989
38989
|
let fetchResult;
|
|
38990
38990
|
try {
|
|
38991
38991
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39136,7 +39136,7 @@ var Person = class Person extends Object$1 {
|
|
|
39136
39136
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39137
39137
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39138
39138
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39139
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39139
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39140
39140
|
let fetchResult;
|
|
39141
39141
|
try {
|
|
39142
39142
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39284,7 +39284,7 @@ var Person = class Person extends Object$1 {
|
|
|
39284
39284
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39285
39285
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39286
39286
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39287
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39287
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39288
39288
|
let fetchResult;
|
|
39289
39289
|
try {
|
|
39290
39290
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39417,7 +39417,7 @@ var Person = class Person extends Object$1 {
|
|
|
39417
39417
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39418
39418
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39419
39419
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39420
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39420
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39421
39421
|
let fetchResult;
|
|
39422
39422
|
try {
|
|
39423
39423
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39553,7 +39553,7 @@ var Person = class Person extends Object$1 {
|
|
|
39553
39553
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39554
39554
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39555
39555
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39556
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39556
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39557
39557
|
let fetchResult;
|
|
39558
39558
|
try {
|
|
39559
39559
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39687,7 +39687,7 @@ var Person = class Person extends Object$1 {
|
|
|
39687
39687
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39688
39688
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39689
39689
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39690
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39690
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39691
39691
|
let fetchResult;
|
|
39692
39692
|
try {
|
|
39693
39693
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39819,7 +39819,7 @@ var Person = class Person extends Object$1 {
|
|
|
39819
39819
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39820
39820
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39821
39821
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39822
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39822
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39823
39823
|
let fetchResult;
|
|
39824
39824
|
try {
|
|
39825
39825
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39951,7 +39951,7 @@ var Person = class Person extends Object$1 {
|
|
|
39951
39951
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39952
39952
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39953
39953
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39954
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39954
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39955
39955
|
let fetchResult;
|
|
39956
39956
|
try {
|
|
39957
39957
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40123,7 +40123,7 @@ var Person = class Person extends Object$1 {
|
|
|
40123
40123
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40124
40124
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40125
40125
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40126
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
40126
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40127
40127
|
let fetchResult;
|
|
40128
40128
|
try {
|
|
40129
40129
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40298,7 +40298,7 @@ var Person = class Person extends Object$1 {
|
|
|
40298
40298
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40299
40299
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40300
40300
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40301
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
40301
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40302
40302
|
let fetchResult;
|
|
40303
40303
|
try {
|
|
40304
40304
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40531,7 +40531,7 @@ var Person = class Person extends Object$1 {
|
|
|
40531
40531
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40532
40532
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40533
40533
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40534
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
40534
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40535
40535
|
let fetchResult;
|
|
40536
40536
|
try {
|
|
40537
40537
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41235,7 +41235,7 @@ var Person = class Person extends Object$1 {
|
|
|
41235
41235
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41236
41236
|
*/
|
|
41237
41237
|
static async fromJsonLd(json, options = {}) {
|
|
41238
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
41238
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41239
41239
|
try {
|
|
41240
41240
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
41241
41241
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42102,7 +42102,7 @@ var Place = class Place extends Object$1 {
|
|
|
42102
42102
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42103
42103
|
*/
|
|
42104
42104
|
static async fromJsonLd(json, options = {}) {
|
|
42105
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
42105
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42106
42106
|
try {
|
|
42107
42107
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
42108
42108
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42329,7 +42329,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
42329
42329
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42330
42330
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42331
42331
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42332
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42332
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42333
42333
|
let fetchResult;
|
|
42334
42334
|
try {
|
|
42335
42335
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42539,7 +42539,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
42539
42539
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42540
42540
|
*/
|
|
42541
42541
|
static async fromJsonLd(json, options = {}) {
|
|
42542
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
42542
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42543
42543
|
try {
|
|
42544
42544
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
42545
42545
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42742,7 +42742,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
42742
42742
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42743
42743
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42744
42744
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42745
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42745
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42746
42746
|
let fetchResult;
|
|
42747
42747
|
try {
|
|
42748
42748
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42874,7 +42874,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
42874
42874
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42875
42875
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42876
42876
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42877
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42877
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42878
42878
|
let fetchResult;
|
|
42879
42879
|
try {
|
|
42880
42880
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43022,7 +43022,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
43022
43022
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43023
43023
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43024
43024
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43025
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
43025
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43026
43026
|
let fetchResult;
|
|
43027
43027
|
try {
|
|
43028
43028
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43169,7 +43169,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
43169
43169
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43170
43170
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43171
43171
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43172
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
43172
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43173
43173
|
let fetchResult;
|
|
43174
43174
|
try {
|
|
43175
43175
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43430,7 +43430,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
43430
43430
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43431
43431
|
*/
|
|
43432
43432
|
static async fromJsonLd(json, options = {}) {
|
|
43433
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
43433
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43434
43434
|
try {
|
|
43435
43435
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
43436
43436
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43737,7 +43737,7 @@ var Read = class Read extends Activity {
|
|
|
43737
43737
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43738
43738
|
*/
|
|
43739
43739
|
static async fromJsonLd(json, options = {}) {
|
|
43740
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
43740
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43741
43741
|
try {
|
|
43742
43742
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
43743
43743
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43888,7 +43888,7 @@ var Reject = class Reject extends Activity {
|
|
|
43888
43888
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43889
43889
|
*/
|
|
43890
43890
|
static async fromJsonLd(json, options = {}) {
|
|
43891
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
43891
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43892
43892
|
try {
|
|
43893
43893
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
43894
43894
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44063,7 +44063,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
44063
44063
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44064
44064
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44065
44065
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44066
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44066
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44067
44067
|
let fetchResult;
|
|
44068
44068
|
try {
|
|
44069
44069
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44195,7 +44195,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
44195
44195
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44196
44196
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44197
44197
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44198
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44198
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44199
44199
|
let fetchResult;
|
|
44200
44200
|
try {
|
|
44201
44201
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44376,7 +44376,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
44376
44376
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44377
44377
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44378
44378
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44379
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44379
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44380
44380
|
let fetchResult;
|
|
44381
44381
|
try {
|
|
44382
44382
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44673,7 +44673,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
44673
44673
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44674
44674
|
*/
|
|
44675
44675
|
static async fromJsonLd(json, options = {}) {
|
|
44676
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
44676
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44677
44677
|
try {
|
|
44678
44678
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
44679
44679
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44902,7 +44902,7 @@ var Remove = class Remove extends Activity {
|
|
|
44902
44902
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44903
44903
|
*/
|
|
44904
44904
|
static async fromJsonLd(json, options = {}) {
|
|
44905
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
44905
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44906
44906
|
try {
|
|
44907
44907
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
44908
44908
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45299,7 +45299,7 @@ var Service = class Service extends Object$1 {
|
|
|
45299
45299
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45300
45300
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45301
45301
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45302
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
45302
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45303
45303
|
let fetchResult;
|
|
45304
45304
|
try {
|
|
45305
45305
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45480,7 +45480,7 @@ var Service = class Service extends Object$1 {
|
|
|
45480
45480
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45481
45481
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45482
45482
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45483
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
45483
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45484
45484
|
let fetchResult;
|
|
45485
45485
|
try {
|
|
45486
45486
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45679,7 +45679,7 @@ var Service = class Service extends Object$1 {
|
|
|
45679
45679
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45680
45680
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45681
45681
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45682
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
45682
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45683
45683
|
let fetchResult;
|
|
45684
45684
|
try {
|
|
45685
45685
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45830,7 +45830,7 @@ var Service = class Service extends Object$1 {
|
|
|
45830
45830
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45831
45831
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45832
45832
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45833
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
45833
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45834
45834
|
let fetchResult;
|
|
45835
45835
|
try {
|
|
45836
45836
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45978,7 +45978,7 @@ var Service = class Service extends Object$1 {
|
|
|
45978
45978
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45979
45979
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45980
45980
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45981
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
45981
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45982
45982
|
let fetchResult;
|
|
45983
45983
|
try {
|
|
45984
45984
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46111,7 +46111,7 @@ var Service = class Service extends Object$1 {
|
|
|
46111
46111
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46112
46112
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46113
46113
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46114
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46114
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46115
46115
|
let fetchResult;
|
|
46116
46116
|
try {
|
|
46117
46117
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46247,7 +46247,7 @@ var Service = class Service extends Object$1 {
|
|
|
46247
46247
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46248
46248
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46249
46249
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46250
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46250
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46251
46251
|
let fetchResult;
|
|
46252
46252
|
try {
|
|
46253
46253
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46381,7 +46381,7 @@ var Service = class Service extends Object$1 {
|
|
|
46381
46381
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46382
46382
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46383
46383
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46384
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46384
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46385
46385
|
let fetchResult;
|
|
46386
46386
|
try {
|
|
46387
46387
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46513,7 +46513,7 @@ var Service = class Service extends Object$1 {
|
|
|
46513
46513
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46514
46514
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46515
46515
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46516
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46516
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46517
46517
|
let fetchResult;
|
|
46518
46518
|
try {
|
|
46519
46519
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46645,7 +46645,7 @@ var Service = class Service extends Object$1 {
|
|
|
46645
46645
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46646
46646
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46647
46647
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46648
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46648
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46649
46649
|
let fetchResult;
|
|
46650
46650
|
try {
|
|
46651
46651
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46817,7 +46817,7 @@ var Service = class Service extends Object$1 {
|
|
|
46817
46817
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46818
46818
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46819
46819
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46820
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46820
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46821
46821
|
let fetchResult;
|
|
46822
46822
|
try {
|
|
46823
46823
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46992,7 +46992,7 @@ var Service = class Service extends Object$1 {
|
|
|
46992
46992
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46993
46993
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46994
46994
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46995
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46995
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46996
46996
|
let fetchResult;
|
|
46997
46997
|
try {
|
|
46998
46998
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47225,7 +47225,7 @@ var Service = class Service extends Object$1 {
|
|
|
47225
47225
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47226
47226
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47227
47227
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47228
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
47228
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47229
47229
|
let fetchResult;
|
|
47230
47230
|
try {
|
|
47231
47231
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47929,7 +47929,7 @@ var Service = class Service extends Object$1 {
|
|
|
47929
47929
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47930
47930
|
*/
|
|
47931
47931
|
static async fromJsonLd(json, options = {}) {
|
|
47932
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
47932
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47933
47933
|
try {
|
|
47934
47934
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
47935
47935
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48713,7 +48713,7 @@ var Source = class {
|
|
|
48713
48713
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48714
48714
|
*/
|
|
48715
48715
|
static async fromJsonLd(json, options = {}) {
|
|
48716
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
48716
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48717
48717
|
try {
|
|
48718
48718
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
48719
48719
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48901,7 +48901,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
48901
48901
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48902
48902
|
*/
|
|
48903
48903
|
static async fromJsonLd(json, options = {}) {
|
|
48904
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
48904
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48905
48905
|
try {
|
|
48906
48906
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
48907
48907
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49052,7 +49052,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
49052
49052
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49053
49053
|
*/
|
|
49054
49054
|
static async fromJsonLd(json, options = {}) {
|
|
49055
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
49055
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49056
49056
|
try {
|
|
49057
49057
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
49058
49058
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49292,7 +49292,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
49292
49292
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49293
49293
|
*/
|
|
49294
49294
|
static async fromJsonLd(json, options = {}) {
|
|
49295
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
49295
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49296
49296
|
try {
|
|
49297
49297
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
49298
49298
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49488,7 +49488,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
49488
49488
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49489
49489
|
*/
|
|
49490
49490
|
static async fromJsonLd(json, options = {}) {
|
|
49491
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
49491
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49492
49492
|
try {
|
|
49493
49493
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
49494
49494
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49653,7 +49653,7 @@ var Undo = class Undo extends Activity {
|
|
|
49653
49653
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49654
49654
|
*/
|
|
49655
49655
|
static async fromJsonLd(json, options = {}) {
|
|
49656
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
49656
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49657
49657
|
try {
|
|
49658
49658
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
49659
49659
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49866,7 +49866,7 @@ var Update = class Update extends Activity {
|
|
|
49866
49866
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49867
49867
|
*/
|
|
49868
49868
|
static async fromJsonLd(json, options = {}) {
|
|
49869
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
49869
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49870
49870
|
try {
|
|
49871
49871
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
49872
49872
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50030,7 +50030,7 @@ var Video = class Video extends Document {
|
|
|
50030
50030
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50031
50031
|
*/
|
|
50032
50032
|
static async fromJsonLd(json, options = {}) {
|
|
50033
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
50033
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50034
50034
|
try {
|
|
50035
50035
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
50036
50036
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50180,7 +50180,7 @@ var View = class View extends Activity {
|
|
|
50180
50180
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50181
50181
|
*/
|
|
50182
50182
|
static async fromJsonLd(json, options = {}) {
|
|
50183
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
50183
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50184
50184
|
try {
|
|
50185
50185
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
50186
50186
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|