@fedify/vocab 2.2.18-dev.2386 → 2.2.19
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-Be8btutm.mjs → deno-6CUIKmD6.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-CCpnNoho.mjs → vocab-DTY3b5Yj.mjs} +216 -216
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
|
@@ -804,7 +804,7 @@ var Object$1 = class Object$1 {
|
|
|
804
804
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
805
805
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
806
806
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
807
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
807
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
808
808
|
let fetchResult;
|
|
809
809
|
try {
|
|
810
810
|
fetchResult = await documentLoader(url.href);
|
|
@@ -960,7 +960,7 @@ var Object$1 = class Object$1 {
|
|
|
960
960
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
961
961
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
962
962
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
963
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
963
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
964
964
|
let fetchResult;
|
|
965
965
|
try {
|
|
966
966
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1191,7 +1191,7 @@ var Object$1 = class Object$1 {
|
|
|
1191
1191
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1192
1192
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1193
1193
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1194
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
1194
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1195
1195
|
let fetchResult;
|
|
1196
1196
|
try {
|
|
1197
1197
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1394,7 +1394,7 @@ var Object$1 = class Object$1 {
|
|
|
1394
1394
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1395
1395
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1396
1396
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1397
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
1397
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1398
1398
|
let fetchResult;
|
|
1399
1399
|
try {
|
|
1400
1400
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1566,7 +1566,7 @@ var Object$1 = class Object$1 {
|
|
|
1566
1566
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1567
1567
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1568
1568
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1569
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
1569
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1570
1570
|
let fetchResult;
|
|
1571
1571
|
try {
|
|
1572
1572
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1706,7 +1706,7 @@ var Object$1 = class Object$1 {
|
|
|
1706
1706
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1707
1707
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1708
1708
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1709
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
1709
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1710
1710
|
let fetchResult;
|
|
1711
1711
|
try {
|
|
1712
1712
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1891,7 +1891,7 @@ var Object$1 = class Object$1 {
|
|
|
1891
1891
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1892
1892
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1893
1893
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1894
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
1894
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1895
1895
|
let fetchResult;
|
|
1896
1896
|
try {
|
|
1897
1897
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2076,7 +2076,7 @@ var Object$1 = class Object$1 {
|
|
|
2076
2076
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2077
2077
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2078
2078
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2079
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
2079
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2080
2080
|
let fetchResult;
|
|
2081
2081
|
try {
|
|
2082
2082
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2269,7 +2269,7 @@ var Object$1 = class Object$1 {
|
|
|
2269
2269
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2270
2270
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2271
2271
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2272
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
2272
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2273
2273
|
let fetchResult;
|
|
2274
2274
|
try {
|
|
2275
2275
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2462,7 +2462,7 @@ var Object$1 = class Object$1 {
|
|
|
2462
2462
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2463
2463
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2464
2464
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2465
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
2465
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2466
2466
|
let fetchResult;
|
|
2467
2467
|
try {
|
|
2468
2468
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2660,7 +2660,7 @@ var Object$1 = class Object$1 {
|
|
|
2660
2660
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2661
2661
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2662
2662
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2663
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
2663
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2664
2664
|
let fetchResult;
|
|
2665
2665
|
try {
|
|
2666
2666
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2790,7 +2790,7 @@ var Object$1 = class Object$1 {
|
|
|
2790
2790
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2791
2791
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2792
2792
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2793
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
2793
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2794
2794
|
let fetchResult;
|
|
2795
2795
|
try {
|
|
2796
2796
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2926,7 +2926,7 @@ var Object$1 = class Object$1 {
|
|
|
2926
2926
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2927
2927
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2928
2928
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2929
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
2929
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2930
2930
|
let fetchResult;
|
|
2931
2931
|
try {
|
|
2932
2932
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3062,7 +3062,7 @@ var Object$1 = class Object$1 {
|
|
|
3062
3062
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3063
3063
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3064
3064
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3065
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
3065
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3066
3066
|
let fetchResult;
|
|
3067
3067
|
try {
|
|
3068
3068
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3216,7 +3216,7 @@ var Object$1 = class Object$1 {
|
|
|
3216
3216
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3217
3217
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3218
3218
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3219
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
3219
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3220
3220
|
let fetchResult;
|
|
3221
3221
|
try {
|
|
3222
3222
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3378,7 +3378,7 @@ var Object$1 = class Object$1 {
|
|
|
3378
3378
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3379
3379
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3380
3380
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3381
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
3381
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3382
3382
|
let fetchResult;
|
|
3383
3383
|
try {
|
|
3384
3384
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3561,7 +3561,7 @@ var Object$1 = class Object$1 {
|
|
|
3561
3561
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3562
3562
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3563
3563
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3564
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
3564
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3565
3565
|
let fetchResult;
|
|
3566
3566
|
try {
|
|
3567
3567
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3744,7 +3744,7 @@ var Object$1 = class Object$1 {
|
|
|
3744
3744
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3745
3745
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3746
3746
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3747
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
3747
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3748
3748
|
let fetchResult;
|
|
3749
3749
|
try {
|
|
3750
3750
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3927,7 +3927,7 @@ var Object$1 = class Object$1 {
|
|
|
3927
3927
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3928
3928
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3929
3929
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3930
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
3930
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3931
3931
|
let fetchResult;
|
|
3932
3932
|
try {
|
|
3933
3933
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4147,7 +4147,7 @@ var Object$1 = class Object$1 {
|
|
|
4147
4147
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4148
4148
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4149
4149
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4150
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
4150
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4151
4151
|
let fetchResult;
|
|
4152
4152
|
try {
|
|
4153
4153
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4353,7 +4353,7 @@ var Object$1 = class Object$1 {
|
|
|
4353
4353
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4354
4354
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4355
4355
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4356
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
4356
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4357
4357
|
let fetchResult;
|
|
4358
4358
|
try {
|
|
4359
4359
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4483,7 +4483,7 @@ var Object$1 = class Object$1 {
|
|
|
4483
4483
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4484
4484
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4485
4485
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4486
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
4486
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4487
4487
|
let fetchResult;
|
|
4488
4488
|
try {
|
|
4489
4489
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4613,7 +4613,7 @@ var Object$1 = class Object$1 {
|
|
|
4613
4613
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4614
4614
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4615
4615
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4616
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
4616
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4617
4617
|
let fetchResult;
|
|
4618
4618
|
try {
|
|
4619
4619
|
fetchResult = await documentLoader(url.href);
|
|
@@ -5449,7 +5449,7 @@ var Object$1 = class Object$1 {
|
|
|
5449
5449
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5450
5450
|
*/
|
|
5451
5451
|
static async fromJsonLd(json, options = {}) {
|
|
5452
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
5452
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5453
5453
|
try {
|
|
5454
5454
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
5455
5455
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7050,7 +7050,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
7050
7050
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7051
7051
|
*/
|
|
7052
7052
|
static async fromJsonLd(json, options = {}) {
|
|
7053
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
7053
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7054
7054
|
try {
|
|
7055
7055
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
7056
7056
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7187,7 +7187,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7187
7187
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7188
7188
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7189
7189
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7190
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
7190
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7191
7191
|
let fetchResult;
|
|
7192
7192
|
try {
|
|
7193
7193
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7334,7 +7334,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7334
7334
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7335
7335
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7336
7336
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7337
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
7337
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7338
7338
|
let fetchResult;
|
|
7339
7339
|
try {
|
|
7340
7340
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7627,7 +7627,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7627
7627
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7628
7628
|
*/
|
|
7629
7629
|
static async fromJsonLd(json, options = {}) {
|
|
7630
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
7630
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7631
7631
|
try {
|
|
7632
7632
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
7633
7633
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7967,7 +7967,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7967
7967
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7968
7968
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7969
7969
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7970
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
7970
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7971
7971
|
let fetchResult;
|
|
7972
7972
|
try {
|
|
7973
7973
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8198,7 +8198,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8198
8198
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8199
8199
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8200
8200
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8201
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8201
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8202
8202
|
let fetchResult;
|
|
8203
8203
|
try {
|
|
8204
8204
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8383,7 +8383,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8383
8383
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8384
8384
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8385
8385
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8386
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8386
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8387
8387
|
let fetchResult;
|
|
8388
8388
|
try {
|
|
8389
8389
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8574,7 +8574,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8574
8574
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8575
8575
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8576
8576
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8577
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8577
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8578
8578
|
let fetchResult;
|
|
8579
8579
|
try {
|
|
8580
8580
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8759,7 +8759,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8759
8759
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8760
8760
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8761
8761
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8762
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8762
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8763
8763
|
let fetchResult;
|
|
8764
8764
|
try {
|
|
8765
8765
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8946,7 +8946,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8946
8946
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8947
8947
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8948
8948
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8949
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8949
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8950
8950
|
let fetchResult;
|
|
8951
8951
|
try {
|
|
8952
8952
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9216,7 +9216,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
9216
9216
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9217
9217
|
*/
|
|
9218
9218
|
static async fromJsonLd(json, options = {}) {
|
|
9219
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
9219
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9220
9220
|
try {
|
|
9221
9221
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
9222
9222
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9576,7 +9576,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
9576
9576
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9577
9577
|
*/
|
|
9578
9578
|
static async fromJsonLd(json, options = {}) {
|
|
9579
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
9579
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9580
9580
|
try {
|
|
9581
9581
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
9582
9582
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9837,7 +9837,7 @@ var PropertyValue = class {
|
|
|
9837
9837
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9838
9838
|
*/
|
|
9839
9839
|
static async fromJsonLd(json, options = {}) {
|
|
9840
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
9840
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9841
9841
|
try {
|
|
9842
9842
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
9843
9843
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10125,7 +10125,7 @@ var Measure = class {
|
|
|
10125
10125
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10126
10126
|
*/
|
|
10127
10127
|
static async fromJsonLd(json, options = {}) {
|
|
10128
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
10128
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10129
10129
|
try {
|
|
10130
10130
|
const object = await this.__fromJsonLd__Measure__(json, span, options);
|
|
10131
10131
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10296,7 +10296,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10296
10296
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10297
10297
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10298
10298
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10299
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
10299
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10300
10300
|
let fetchResult;
|
|
10301
10301
|
try {
|
|
10302
10302
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10426,7 +10426,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10426
10426
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10427
10427
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10428
10428
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10429
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
10429
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10430
10430
|
let fetchResult;
|
|
10431
10431
|
try {
|
|
10432
10432
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10651,7 +10651,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10651
10651
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10652
10652
|
*/
|
|
10653
10653
|
static async fromJsonLd(json, options = {}) {
|
|
10654
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
10654
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10655
10655
|
try {
|
|
10656
10656
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
10657
10657
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10863,7 +10863,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
10863
10863
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10864
10864
|
*/
|
|
10865
10865
|
static async fromJsonLd(json, options = {}) {
|
|
10866
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
10866
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10867
10867
|
try {
|
|
10868
10868
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
10869
10869
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11142,7 +11142,7 @@ var InteractionPolicy = class {
|
|
|
11142
11142
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11143
11143
|
*/
|
|
11144
11144
|
static async fromJsonLd(json, options = {}) {
|
|
11145
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
11145
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11146
11146
|
try {
|
|
11147
11147
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
11148
11148
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11498,7 +11498,7 @@ var InteractionRule = class {
|
|
|
11498
11498
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11499
11499
|
*/
|
|
11500
11500
|
static async fromJsonLd(json, options = {}) {
|
|
11501
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
11501
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11502
11502
|
try {
|
|
11503
11503
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
11504
11504
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11670,7 +11670,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11670
11670
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11671
11671
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11672
11672
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11673
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
11673
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11674
11674
|
let fetchResult;
|
|
11675
11675
|
try {
|
|
11676
11676
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11800,7 +11800,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11800
11800
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11801
11801
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11802
11802
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11803
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
11803
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11804
11804
|
let fetchResult;
|
|
11805
11805
|
try {
|
|
11806
11806
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12025,7 +12025,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
12025
12025
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12026
12026
|
*/
|
|
12027
12027
|
static async fromJsonLd(json, options = {}) {
|
|
12028
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12028
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12029
12029
|
try {
|
|
12030
12030
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
12031
12031
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12236,7 +12236,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
12236
12236
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12237
12237
|
*/
|
|
12238
12238
|
static async fromJsonLd(json, options = {}) {
|
|
12239
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12239
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12240
12240
|
try {
|
|
12241
12241
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
12242
12242
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12370,7 +12370,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12370
12370
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12371
12371
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12372
12372
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12373
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
12373
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12374
12374
|
let fetchResult;
|
|
12375
12375
|
try {
|
|
12376
12376
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12500,7 +12500,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12500
12500
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12501
12501
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12502
12502
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12503
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
12503
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12504
12504
|
let fetchResult;
|
|
12505
12505
|
try {
|
|
12506
12506
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12725,7 +12725,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12725
12725
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12726
12726
|
*/
|
|
12727
12727
|
static async fromJsonLd(json, options = {}) {
|
|
12728
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12728
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12729
12729
|
try {
|
|
12730
12730
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
12731
12731
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12936,7 +12936,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
12936
12936
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12937
12937
|
*/
|
|
12938
12938
|
static async fromJsonLd(json, options = {}) {
|
|
12939
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12939
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12940
12940
|
try {
|
|
12941
12941
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
12942
12942
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13070,7 +13070,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
13070
13070
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13071
13071
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13072
13072
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13073
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
13073
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13074
13074
|
let fetchResult;
|
|
13075
13075
|
try {
|
|
13076
13076
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13199,7 +13199,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
13199
13199
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13200
13200
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13201
13201
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13202
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
13202
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13203
13203
|
let fetchResult;
|
|
13204
13204
|
try {
|
|
13205
13205
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13426,7 +13426,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
13426
13426
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13427
13427
|
*/
|
|
13428
13428
|
static async fromJsonLd(json, options = {}) {
|
|
13429
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13429
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13430
13430
|
try {
|
|
13431
13431
|
const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
|
|
13432
13432
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13667,7 +13667,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
|
|
|
13667
13667
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13668
13668
|
*/
|
|
13669
13669
|
static async fromJsonLd(json, options = {}) {
|
|
13670
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13670
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13671
13671
|
try {
|
|
13672
13672
|
const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
|
|
13673
13673
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13888,7 +13888,7 @@ var DidService = class {
|
|
|
13888
13888
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13889
13889
|
*/
|
|
13890
13890
|
static async fromJsonLd(json, options = {}) {
|
|
13891
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13891
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13892
13892
|
try {
|
|
13893
13893
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
13894
13894
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14051,7 +14051,7 @@ var Export = class Export extends DidService {
|
|
|
14051
14051
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14052
14052
|
*/
|
|
14053
14053
|
static async fromJsonLd(json, options = {}) {
|
|
14054
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
14054
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14055
14055
|
try {
|
|
14056
14056
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
14057
14057
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14239,7 +14239,7 @@ var DataIntegrityProof = class {
|
|
|
14239
14239
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14240
14240
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14241
14241
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14242
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
14242
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14243
14243
|
let fetchResult;
|
|
14244
14244
|
try {
|
|
14245
14245
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14458,7 +14458,7 @@ var DataIntegrityProof = class {
|
|
|
14458
14458
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14459
14459
|
*/
|
|
14460
14460
|
static async fromJsonLd(json, options = {}) {
|
|
14461
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
14461
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14462
14462
|
try {
|
|
14463
14463
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
14464
14464
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14717,7 +14717,7 @@ var CryptographicKey = class {
|
|
|
14717
14717
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14718
14718
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14719
14719
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14720
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
14720
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14721
14721
|
let fetchResult;
|
|
14722
14722
|
try {
|
|
14723
14723
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14988,7 +14988,7 @@ var CryptographicKey = class {
|
|
|
14988
14988
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14989
14989
|
*/
|
|
14990
14990
|
static async fromJsonLd(json, options = {}) {
|
|
14991
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
14991
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14992
14992
|
try {
|
|
14993
14993
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
14994
14994
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15208,7 +15208,7 @@ var Multikey = class {
|
|
|
15208
15208
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15209
15209
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15210
15210
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15211
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
15211
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15212
15212
|
let fetchResult;
|
|
15213
15213
|
try {
|
|
15214
15214
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15485,7 +15485,7 @@ var Multikey = class {
|
|
|
15485
15485
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15486
15486
|
*/
|
|
15487
15487
|
static async fromJsonLd(json, options = {}) {
|
|
15488
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
15488
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15489
15489
|
try {
|
|
15490
15490
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
15491
15491
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15896,7 +15896,7 @@ var Intent = class {
|
|
|
15896
15896
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15897
15897
|
*/
|
|
15898
15898
|
static async fromJsonLd(json, options = {}) {
|
|
15899
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
15899
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15900
15900
|
try {
|
|
15901
15901
|
const object = await this.__fromJsonLd__Intent__(json, span, options);
|
|
15902
15902
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16336,7 +16336,7 @@ var Proposal = class Proposal extends Object$1 {
|
|
|
16336
16336
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16337
16337
|
*/
|
|
16338
16338
|
static async fromJsonLd(json, options = {}) {
|
|
16339
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
16339
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16340
16340
|
try {
|
|
16341
16341
|
const object = await this.__fromJsonLd__Proposal__(json, span, options);
|
|
16342
16342
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16568,7 +16568,7 @@ var Accept = class Accept extends Activity {
|
|
|
16568
16568
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16569
16569
|
*/
|
|
16570
16570
|
static async fromJsonLd(json, options = {}) {
|
|
16571
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
16571
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16572
16572
|
try {
|
|
16573
16573
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
16574
16574
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16723,7 +16723,7 @@ var Add = class Add extends Activity {
|
|
|
16723
16723
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16724
16724
|
*/
|
|
16725
16725
|
static async fromJsonLd(json, options = {}) {
|
|
16726
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
16726
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16727
16727
|
try {
|
|
16728
16728
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
16729
16729
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16905,7 +16905,7 @@ var Announce = class Announce extends Activity {
|
|
|
16905
16905
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16906
16906
|
*/
|
|
16907
16907
|
static async fromJsonLd(json, options = {}) {
|
|
16908
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
16908
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16909
16909
|
try {
|
|
16910
16910
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
16911
16911
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17303,7 +17303,7 @@ var Application = class Application extends Object$1 {
|
|
|
17303
17303
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17304
17304
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17305
17305
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17306
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17306
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17307
17307
|
let fetchResult;
|
|
17308
17308
|
try {
|
|
17309
17309
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17484,7 +17484,7 @@ var Application = class Application extends Object$1 {
|
|
|
17484
17484
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17485
17485
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17486
17486
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17487
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17487
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17488
17488
|
let fetchResult;
|
|
17489
17489
|
try {
|
|
17490
17490
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17683,7 +17683,7 @@ var Application = class Application extends Object$1 {
|
|
|
17683
17683
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17684
17684
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17685
17685
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17686
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17686
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17687
17687
|
let fetchResult;
|
|
17688
17688
|
try {
|
|
17689
17689
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17834,7 +17834,7 @@ var Application = class Application extends Object$1 {
|
|
|
17834
17834
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17835
17835
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17836
17836
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17837
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17837
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17838
17838
|
let fetchResult;
|
|
17839
17839
|
try {
|
|
17840
17840
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17982,7 +17982,7 @@ var Application = class Application extends Object$1 {
|
|
|
17982
17982
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17983
17983
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17984
17984
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17985
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17985
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17986
17986
|
let fetchResult;
|
|
17987
17987
|
try {
|
|
17988
17988
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18115,7 +18115,7 @@ var Application = class Application extends Object$1 {
|
|
|
18115
18115
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18116
18116
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18117
18117
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18118
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18118
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18119
18119
|
let fetchResult;
|
|
18120
18120
|
try {
|
|
18121
18121
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18251,7 +18251,7 @@ var Application = class Application extends Object$1 {
|
|
|
18251
18251
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18252
18252
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18253
18253
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18254
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18254
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18255
18255
|
let fetchResult;
|
|
18256
18256
|
try {
|
|
18257
18257
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18385,7 +18385,7 @@ var Application = class Application extends Object$1 {
|
|
|
18385
18385
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18386
18386
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18387
18387
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18388
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18388
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18389
18389
|
let fetchResult;
|
|
18390
18390
|
try {
|
|
18391
18391
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18517,7 +18517,7 @@ var Application = class Application extends Object$1 {
|
|
|
18517
18517
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18518
18518
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18519
18519
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18520
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18520
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18521
18521
|
let fetchResult;
|
|
18522
18522
|
try {
|
|
18523
18523
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18649,7 +18649,7 @@ var Application = class Application extends Object$1 {
|
|
|
18649
18649
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18650
18650
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18651
18651
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18652
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18652
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18653
18653
|
let fetchResult;
|
|
18654
18654
|
try {
|
|
18655
18655
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18821,7 +18821,7 @@ var Application = class Application extends Object$1 {
|
|
|
18821
18821
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18822
18822
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18823
18823
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18824
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18824
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18825
18825
|
let fetchResult;
|
|
18826
18826
|
try {
|
|
18827
18827
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18996,7 +18996,7 @@ var Application = class Application extends Object$1 {
|
|
|
18996
18996
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18997
18997
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18998
18998
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18999
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18999
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19000
19000
|
let fetchResult;
|
|
19001
19001
|
try {
|
|
19002
19002
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19229,7 +19229,7 @@ var Application = class Application extends Object$1 {
|
|
|
19229
19229
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19230
19230
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19231
19231
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19232
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
19232
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19233
19233
|
let fetchResult;
|
|
19234
19234
|
try {
|
|
19235
19235
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19933,7 +19933,7 @@ var Application = class Application extends Object$1 {
|
|
|
19933
19933
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19934
19934
|
*/
|
|
19935
19935
|
static async fromJsonLd(json, options = {}) {
|
|
19936
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
19936
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19937
19937
|
try {
|
|
19938
19938
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
19939
19939
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20612,7 +20612,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
20612
20612
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20613
20613
|
*/
|
|
20614
20614
|
static async fromJsonLd(json, options = {}) {
|
|
20615
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
20615
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20616
20616
|
try {
|
|
20617
20617
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
20618
20618
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20768,7 +20768,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
20768
20768
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20769
20769
|
*/
|
|
20770
20770
|
static async fromJsonLd(json, options = {}) {
|
|
20771
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
20771
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20772
20772
|
try {
|
|
20773
20773
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
20774
20774
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20901,7 +20901,7 @@ var Article = class Article extends Object$1 {
|
|
|
20901
20901
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20902
20902
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20903
20903
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20904
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
20904
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20905
20905
|
let fetchResult;
|
|
20906
20906
|
try {
|
|
20907
20907
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21048,7 +21048,7 @@ var Article = class Article extends Object$1 {
|
|
|
21048
21048
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21049
21049
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21050
21050
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21051
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
21051
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21052
21052
|
let fetchResult;
|
|
21053
21053
|
try {
|
|
21054
21054
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21343,7 +21343,7 @@ var Article = class Article extends Object$1 {
|
|
|
21343
21343
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21344
21344
|
*/
|
|
21345
21345
|
static async fromJsonLd(json, options = {}) {
|
|
21346
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
21346
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21347
21347
|
try {
|
|
21348
21348
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
21349
21349
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21639,7 +21639,7 @@ var Document = class Document extends Object$1 {
|
|
|
21639
21639
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21640
21640
|
*/
|
|
21641
21641
|
static async fromJsonLd(json, options = {}) {
|
|
21642
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
21642
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21643
21643
|
try {
|
|
21644
21644
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
21645
21645
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21845,7 +21845,7 @@ var Audio = class Audio extends Document {
|
|
|
21845
21845
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21846
21846
|
*/
|
|
21847
21847
|
static async fromJsonLd(json, options = {}) {
|
|
21848
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
21848
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21849
21849
|
try {
|
|
21850
21850
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
21851
21851
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21997,7 +21997,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
21997
21997
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21998
21998
|
*/
|
|
21999
21999
|
static async fromJsonLd(json, options = {}) {
|
|
22000
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
22000
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22001
22001
|
try {
|
|
22002
22002
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
22003
22003
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22152,7 +22152,7 @@ var Block = class Block extends Ignore {
|
|
|
22152
22152
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22153
22153
|
*/
|
|
22154
22154
|
static async fromJsonLd(json, options = {}) {
|
|
22155
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
22155
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22156
22156
|
try {
|
|
22157
22157
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
22158
22158
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22419,7 +22419,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22419
22419
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22420
22420
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22421
22421
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22422
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22422
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22423
22423
|
let fetchResult;
|
|
22424
22424
|
try {
|
|
22425
22425
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22549,7 +22549,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22549
22549
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22550
22550
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22551
22551
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22552
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22552
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22553
22553
|
let fetchResult;
|
|
22554
22554
|
try {
|
|
22555
22555
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22679,7 +22679,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22679
22679
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22680
22680
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22681
22681
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22682
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22682
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22683
22683
|
let fetchResult;
|
|
22684
22684
|
try {
|
|
22685
22685
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22809,7 +22809,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22809
22809
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22810
22810
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22811
22811
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22812
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22812
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22813
22813
|
let fetchResult;
|
|
22814
22814
|
try {
|
|
22815
22815
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22950,7 +22950,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22950
22950
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22951
22951
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22952
22952
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22953
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22953
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22954
22954
|
let fetchResult;
|
|
22955
22955
|
try {
|
|
22956
22956
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23079,7 +23079,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23079
23079
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23080
23080
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23081
23081
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23082
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23082
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23083
23083
|
let fetchResult;
|
|
23084
23084
|
try {
|
|
23085
23085
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23208,7 +23208,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23208
23208
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23209
23209
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23210
23210
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23211
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23211
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23212
23212
|
let fetchResult;
|
|
23213
23213
|
try {
|
|
23214
23214
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23337,7 +23337,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23337
23337
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23338
23338
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23339
23339
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23340
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23340
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23341
23341
|
let fetchResult;
|
|
23342
23342
|
try {
|
|
23343
23343
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23466,7 +23466,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23466
23466
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23467
23467
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23468
23468
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23469
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23469
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23470
23470
|
let fetchResult;
|
|
23471
23471
|
try {
|
|
23472
23472
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23595,7 +23595,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23595
23595
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23596
23596
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23597
23597
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23598
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23598
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23599
23599
|
let fetchResult;
|
|
23600
23600
|
try {
|
|
23601
23601
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23724,7 +23724,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23724
23724
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23725
23725
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23726
23726
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23727
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23727
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23728
23728
|
let fetchResult;
|
|
23729
23729
|
try {
|
|
23730
23730
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23853,7 +23853,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23853
23853
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23854
23854
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23855
23855
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23856
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23856
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23857
23857
|
let fetchResult;
|
|
23858
23858
|
try {
|
|
23859
23859
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24311,7 +24311,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24311
24311
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24312
24312
|
*/
|
|
24313
24313
|
static async fromJsonLd(json, options = {}) {
|
|
24314
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
24314
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24315
24315
|
try {
|
|
24316
24316
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
24317
24317
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24846,7 +24846,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
24846
24846
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24847
24847
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24848
24848
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24849
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
24849
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24850
24850
|
let fetchResult;
|
|
24851
24851
|
try {
|
|
24852
24852
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24976,7 +24976,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
24976
24976
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24977
24977
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24978
24978
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24979
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
24979
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24980
24980
|
let fetchResult;
|
|
24981
24981
|
try {
|
|
24982
24982
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25105,7 +25105,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
25105
25105
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25106
25106
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25107
25107
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25108
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
25108
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25109
25109
|
let fetchResult;
|
|
25110
25110
|
try {
|
|
25111
25111
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25400,7 +25400,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
25400
25400
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25401
25401
|
*/
|
|
25402
25402
|
static async fromJsonLd(json, options = {}) {
|
|
25403
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25403
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25404
25404
|
try {
|
|
25405
25405
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
25406
25406
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25658,7 +25658,7 @@ var Create = class Create extends Activity {
|
|
|
25658
25658
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25659
25659
|
*/
|
|
25660
25660
|
static async fromJsonLd(json, options = {}) {
|
|
25661
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25661
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25662
25662
|
try {
|
|
25663
25663
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
25664
25664
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25836,7 +25836,7 @@ var Delete = class Delete extends Activity {
|
|
|
25836
25836
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25837
25837
|
*/
|
|
25838
25838
|
static async fromJsonLd(json, options = {}) {
|
|
25839
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25839
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25840
25840
|
try {
|
|
25841
25841
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
25842
25842
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25991,7 +25991,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
25991
25991
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25992
25992
|
*/
|
|
25993
25993
|
static async fromJsonLd(json, options = {}) {
|
|
25994
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25994
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25995
25995
|
try {
|
|
25996
25996
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
25997
25997
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26351,7 +26351,7 @@ var Endpoints = class {
|
|
|
26351
26351
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26352
26352
|
*/
|
|
26353
26353
|
static async fromJsonLd(json, options = {}) {
|
|
26354
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
26354
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26355
26355
|
try {
|
|
26356
26356
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
26357
26357
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26624,7 +26624,7 @@ var Event = class Event extends Object$1 {
|
|
|
26624
26624
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26625
26625
|
*/
|
|
26626
26626
|
static async fromJsonLd(json, options = {}) {
|
|
26627
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
26627
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26628
26628
|
try {
|
|
26629
26629
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
26630
26630
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26777,7 +26777,7 @@ var Flag = class Flag extends Activity {
|
|
|
26777
26777
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26778
26778
|
*/
|
|
26779
26779
|
static async fromJsonLd(json, options = {}) {
|
|
26780
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
26780
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26781
26781
|
try {
|
|
26782
26782
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
26783
26783
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26934,7 +26934,7 @@ var Follow = class Follow extends Activity {
|
|
|
26934
26934
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26935
26935
|
*/
|
|
26936
26936
|
static async fromJsonLd(json, options = {}) {
|
|
26937
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
26937
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26938
26938
|
try {
|
|
26939
26939
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
26940
26940
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27332,7 +27332,7 @@ var Group = class Group extends Object$1 {
|
|
|
27332
27332
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27333
27333
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27334
27334
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27335
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27335
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27336
27336
|
let fetchResult;
|
|
27337
27337
|
try {
|
|
27338
27338
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27513,7 +27513,7 @@ var Group = class Group extends Object$1 {
|
|
|
27513
27513
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27514
27514
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27515
27515
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27516
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27516
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27517
27517
|
let fetchResult;
|
|
27518
27518
|
try {
|
|
27519
27519
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27712,7 +27712,7 @@ var Group = class Group extends Object$1 {
|
|
|
27712
27712
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27713
27713
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27714
27714
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27715
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27715
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27716
27716
|
let fetchResult;
|
|
27717
27717
|
try {
|
|
27718
27718
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27863,7 +27863,7 @@ var Group = class Group extends Object$1 {
|
|
|
27863
27863
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27864
27864
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27865
27865
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27866
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27866
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27867
27867
|
let fetchResult;
|
|
27868
27868
|
try {
|
|
27869
27869
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28011,7 +28011,7 @@ var Group = class Group extends Object$1 {
|
|
|
28011
28011
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28012
28012
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28013
28013
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28014
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28014
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28015
28015
|
let fetchResult;
|
|
28016
28016
|
try {
|
|
28017
28017
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28144,7 +28144,7 @@ var Group = class Group extends Object$1 {
|
|
|
28144
28144
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28145
28145
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28146
28146
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28147
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28147
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28148
28148
|
let fetchResult;
|
|
28149
28149
|
try {
|
|
28150
28150
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28280,7 +28280,7 @@ var Group = class Group extends Object$1 {
|
|
|
28280
28280
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28281
28281
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28282
28282
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28283
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28283
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28284
28284
|
let fetchResult;
|
|
28285
28285
|
try {
|
|
28286
28286
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28414,7 +28414,7 @@ var Group = class Group extends Object$1 {
|
|
|
28414
28414
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28415
28415
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28416
28416
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28417
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28417
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28418
28418
|
let fetchResult;
|
|
28419
28419
|
try {
|
|
28420
28420
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28546,7 +28546,7 @@ var Group = class Group extends Object$1 {
|
|
|
28546
28546
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28547
28547
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28548
28548
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28549
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28549
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28550
28550
|
let fetchResult;
|
|
28551
28551
|
try {
|
|
28552
28552
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28678,7 +28678,7 @@ var Group = class Group extends Object$1 {
|
|
|
28678
28678
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28679
28679
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28680
28680
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28681
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28681
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28682
28682
|
let fetchResult;
|
|
28683
28683
|
try {
|
|
28684
28684
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28850,7 +28850,7 @@ var Group = class Group extends Object$1 {
|
|
|
28850
28850
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28851
28851
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28852
28852
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28853
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28853
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28854
28854
|
let fetchResult;
|
|
28855
28855
|
try {
|
|
28856
28856
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29025,7 +29025,7 @@ var Group = class Group extends Object$1 {
|
|
|
29025
29025
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29026
29026
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29027
29027
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29028
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
29028
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29029
29029
|
let fetchResult;
|
|
29030
29030
|
try {
|
|
29031
29031
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29258,7 +29258,7 @@ var Group = class Group extends Object$1 {
|
|
|
29258
29258
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29259
29259
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29260
29260
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29261
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
29261
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29262
29262
|
let fetchResult;
|
|
29263
29263
|
try {
|
|
29264
29264
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29962,7 +29962,7 @@ var Group = class Group extends Object$1 {
|
|
|
29962
29962
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29963
29963
|
*/
|
|
29964
29964
|
static async fromJsonLd(json, options = {}) {
|
|
29965
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
29965
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29966
29966
|
try {
|
|
29967
29967
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
29968
29968
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30791,7 +30791,7 @@ var Link = class Link {
|
|
|
30791
30791
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30792
30792
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30793
30793
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30794
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
30794
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30795
30795
|
let fetchResult;
|
|
30796
30796
|
try {
|
|
30797
30797
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31093,7 +31093,7 @@ var Link = class Link {
|
|
|
31093
31093
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31094
31094
|
*/
|
|
31095
31095
|
static async fromJsonLd(json, options = {}) {
|
|
31096
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31096
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31097
31097
|
try {
|
|
31098
31098
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
31099
31099
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31476,7 +31476,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
31476
31476
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31477
31477
|
*/
|
|
31478
31478
|
static async fromJsonLd(json, options = {}) {
|
|
31479
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31479
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31480
31480
|
try {
|
|
31481
31481
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
31482
31482
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31641,7 +31641,7 @@ var Image = class Image extends Document {
|
|
|
31641
31641
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31642
31642
|
*/
|
|
31643
31643
|
static async fromJsonLd(json, options = {}) {
|
|
31644
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31644
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31645
31645
|
try {
|
|
31646
31646
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
31647
31647
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31794,7 +31794,7 @@ var Offer = class Offer extends Activity {
|
|
|
31794
31794
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31795
31795
|
*/
|
|
31796
31796
|
static async fromJsonLd(json, options = {}) {
|
|
31797
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31797
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31798
31798
|
try {
|
|
31799
31799
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
31800
31800
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31947,7 +31947,7 @@ var Invite = class Invite extends Offer {
|
|
|
31947
31947
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31948
31948
|
*/
|
|
31949
31949
|
static async fromJsonLd(json, options = {}) {
|
|
31950
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31950
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31951
31951
|
try {
|
|
31952
31952
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
31953
31953
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32099,7 +32099,7 @@ var Join = class Join extends Activity {
|
|
|
32099
32099
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32100
32100
|
*/
|
|
32101
32101
|
static async fromJsonLd(json, options = {}) {
|
|
32102
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32102
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32103
32103
|
try {
|
|
32104
32104
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
32105
32105
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32251,7 +32251,7 @@ var Leave = class Leave extends Activity {
|
|
|
32251
32251
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32252
32252
|
*/
|
|
32253
32253
|
static async fromJsonLd(json, options = {}) {
|
|
32254
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32254
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32255
32255
|
try {
|
|
32256
32256
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
32257
32257
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32407,7 +32407,7 @@ var Like = class Like extends Activity {
|
|
|
32407
32407
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32408
32408
|
*/
|
|
32409
32409
|
static async fromJsonLd(json, options = {}) {
|
|
32410
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32410
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32411
32411
|
try {
|
|
32412
32412
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
32413
32413
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32558,7 +32558,7 @@ var Listen = class Listen extends Activity {
|
|
|
32558
32558
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32559
32559
|
*/
|
|
32560
32560
|
static async fromJsonLd(json, options = {}) {
|
|
32561
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32561
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32562
32562
|
try {
|
|
32563
32563
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
32564
32564
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32712,7 +32712,7 @@ var Mention = class Mention extends Link {
|
|
|
32712
32712
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32713
32713
|
*/
|
|
32714
32714
|
static async fromJsonLd(json, options = {}) {
|
|
32715
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32715
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32716
32716
|
try {
|
|
32717
32717
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
32718
32718
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32865,7 +32865,7 @@ var Move = class Move extends Activity {
|
|
|
32865
32865
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32866
32866
|
*/
|
|
32867
32867
|
static async fromJsonLd(json, options = {}) {
|
|
32868
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32868
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32869
32869
|
try {
|
|
32870
32870
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
32871
32871
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32999,7 +32999,7 @@ var Note = class Note extends Object$1 {
|
|
|
32999
32999
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33000
33000
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33001
33001
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33002
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33002
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33003
33003
|
let fetchResult;
|
|
33004
33004
|
try {
|
|
33005
33005
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33146,7 +33146,7 @@ var Note = class Note extends Object$1 {
|
|
|
33146
33146
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33147
33147
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33148
33148
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33149
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33149
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33150
33150
|
let fetchResult;
|
|
33151
33151
|
try {
|
|
33152
33152
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33441,7 +33441,7 @@ var Note = class Note extends Object$1 {
|
|
|
33441
33441
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33442
33442
|
*/
|
|
33443
33443
|
static async fromJsonLd(json, options = {}) {
|
|
33444
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
33444
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33445
33445
|
try {
|
|
33446
33446
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
33447
33447
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33629,7 +33629,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
33629
33629
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33630
33630
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33631
33631
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33632
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33632
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33633
33633
|
let fetchResult;
|
|
33634
33634
|
try {
|
|
33635
33635
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33909,7 +33909,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
33909
33909
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33910
33910
|
*/
|
|
33911
33911
|
static async fromJsonLd(json, options = {}) {
|
|
33912
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
33912
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33913
33913
|
try {
|
|
33914
33914
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
33915
33915
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34131,7 +34131,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
34131
34131
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34132
34132
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34133
34133
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34134
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34134
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34135
34135
|
let fetchResult;
|
|
34136
34136
|
try {
|
|
34137
34137
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34434,7 +34434,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
34434
34434
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34435
34435
|
*/
|
|
34436
34436
|
static async fromJsonLd(json, options = {}) {
|
|
34437
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
34437
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34438
34438
|
try {
|
|
34439
34439
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
34440
34440
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34948,7 +34948,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34948
34948
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34949
34949
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34950
34950
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34951
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34951
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34952
34952
|
let fetchResult;
|
|
34953
34953
|
try {
|
|
34954
34954
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35129,7 +35129,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35129
35129
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35130
35130
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35131
35131
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35132
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35132
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35133
35133
|
let fetchResult;
|
|
35134
35134
|
try {
|
|
35135
35135
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35328,7 +35328,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35328
35328
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35329
35329
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35330
35330
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35331
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35331
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35332
35332
|
let fetchResult;
|
|
35333
35333
|
try {
|
|
35334
35334
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35479,7 +35479,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35479
35479
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35480
35480
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35481
35481
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35482
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35482
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35483
35483
|
let fetchResult;
|
|
35484
35484
|
try {
|
|
35485
35485
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35627,7 +35627,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35627
35627
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35628
35628
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35629
35629
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35630
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35630
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35631
35631
|
let fetchResult;
|
|
35632
35632
|
try {
|
|
35633
35633
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35760,7 +35760,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35760
35760
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35761
35761
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35762
35762
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35763
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35763
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35764
35764
|
let fetchResult;
|
|
35765
35765
|
try {
|
|
35766
35766
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35896,7 +35896,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35896
35896
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35897
35897
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35898
35898
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35899
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35899
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35900
35900
|
let fetchResult;
|
|
35901
35901
|
try {
|
|
35902
35902
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36030,7 +36030,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36030
36030
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36031
36031
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36032
36032
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36033
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36033
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36034
36034
|
let fetchResult;
|
|
36035
36035
|
try {
|
|
36036
36036
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36162,7 +36162,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36162
36162
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36163
36163
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36164
36164
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36165
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36165
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36166
36166
|
let fetchResult;
|
|
36167
36167
|
try {
|
|
36168
36168
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36294,7 +36294,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36294
36294
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36295
36295
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36296
36296
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36297
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36297
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36298
36298
|
let fetchResult;
|
|
36299
36299
|
try {
|
|
36300
36300
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36466,7 +36466,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36466
36466
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36467
36467
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36468
36468
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36469
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36469
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36470
36470
|
let fetchResult;
|
|
36471
36471
|
try {
|
|
36472
36472
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36641,7 +36641,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36641
36641
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36642
36642
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36643
36643
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36644
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36644
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36645
36645
|
let fetchResult;
|
|
36646
36646
|
try {
|
|
36647
36647
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36874,7 +36874,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36874
36874
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36875
36875
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36876
36876
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36877
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36877
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36878
36878
|
let fetchResult;
|
|
36879
36879
|
try {
|
|
36880
36880
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37578,7 +37578,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37578
37578
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37579
37579
|
*/
|
|
37580
37580
|
static async fromJsonLd(json, options = {}) {
|
|
37581
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
37581
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37582
37582
|
try {
|
|
37583
37583
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
37584
37584
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38269,7 +38269,7 @@ var Page = class Page extends Document {
|
|
|
38269
38269
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38270
38270
|
*/
|
|
38271
38271
|
static async fromJsonLd(json, options = {}) {
|
|
38272
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
38272
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38273
38273
|
try {
|
|
38274
38274
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
38275
38275
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38667,7 +38667,7 @@ var Person = class Person extends Object$1 {
|
|
|
38667
38667
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38668
38668
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38669
38669
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38670
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38670
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38671
38671
|
let fetchResult;
|
|
38672
38672
|
try {
|
|
38673
38673
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38848,7 +38848,7 @@ var Person = class Person extends Object$1 {
|
|
|
38848
38848
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38849
38849
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38850
38850
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38851
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38851
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38852
38852
|
let fetchResult;
|
|
38853
38853
|
try {
|
|
38854
38854
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39047,7 +39047,7 @@ var Person = class Person extends Object$1 {
|
|
|
39047
39047
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39048
39048
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39049
39049
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39050
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39050
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39051
39051
|
let fetchResult;
|
|
39052
39052
|
try {
|
|
39053
39053
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39198,7 +39198,7 @@ var Person = class Person extends Object$1 {
|
|
|
39198
39198
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39199
39199
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39200
39200
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39201
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39201
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39202
39202
|
let fetchResult;
|
|
39203
39203
|
try {
|
|
39204
39204
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39346,7 +39346,7 @@ var Person = class Person extends Object$1 {
|
|
|
39346
39346
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39347
39347
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39348
39348
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39349
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39349
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39350
39350
|
let fetchResult;
|
|
39351
39351
|
try {
|
|
39352
39352
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39479,7 +39479,7 @@ var Person = class Person extends Object$1 {
|
|
|
39479
39479
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39480
39480
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39481
39481
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39482
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39482
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39483
39483
|
let fetchResult;
|
|
39484
39484
|
try {
|
|
39485
39485
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39615,7 +39615,7 @@ var Person = class Person extends Object$1 {
|
|
|
39615
39615
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39616
39616
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39617
39617
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39618
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39618
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39619
39619
|
let fetchResult;
|
|
39620
39620
|
try {
|
|
39621
39621
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39749,7 +39749,7 @@ var Person = class Person extends Object$1 {
|
|
|
39749
39749
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39750
39750
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39751
39751
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39752
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39752
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39753
39753
|
let fetchResult;
|
|
39754
39754
|
try {
|
|
39755
39755
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39881,7 +39881,7 @@ var Person = class Person extends Object$1 {
|
|
|
39881
39881
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39882
39882
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39883
39883
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39884
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39884
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39885
39885
|
let fetchResult;
|
|
39886
39886
|
try {
|
|
39887
39887
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40013,7 +40013,7 @@ var Person = class Person extends Object$1 {
|
|
|
40013
40013
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40014
40014
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40015
40015
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40016
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
40016
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40017
40017
|
let fetchResult;
|
|
40018
40018
|
try {
|
|
40019
40019
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40185,7 +40185,7 @@ var Person = class Person extends Object$1 {
|
|
|
40185
40185
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40186
40186
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40187
40187
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40188
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
40188
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40189
40189
|
let fetchResult;
|
|
40190
40190
|
try {
|
|
40191
40191
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40360,7 +40360,7 @@ var Person = class Person extends Object$1 {
|
|
|
40360
40360
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40361
40361
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40362
40362
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40363
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
40363
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40364
40364
|
let fetchResult;
|
|
40365
40365
|
try {
|
|
40366
40366
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40593,7 +40593,7 @@ var Person = class Person extends Object$1 {
|
|
|
40593
40593
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40594
40594
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40595
40595
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40596
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
40596
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40597
40597
|
let fetchResult;
|
|
40598
40598
|
try {
|
|
40599
40599
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41297,7 +41297,7 @@ var Person = class Person extends Object$1 {
|
|
|
41297
41297
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41298
41298
|
*/
|
|
41299
41299
|
static async fromJsonLd(json, options = {}) {
|
|
41300
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
41300
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41301
41301
|
try {
|
|
41302
41302
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
41303
41303
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42165,7 +42165,7 @@ var Place = class Place extends Object$1 {
|
|
|
42165
42165
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42166
42166
|
*/
|
|
42167
42167
|
static async fromJsonLd(json, options = {}) {
|
|
42168
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
42168
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42169
42169
|
try {
|
|
42170
42170
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
42171
42171
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42393,7 +42393,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
42393
42393
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42394
42394
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42395
42395
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42396
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42396
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42397
42397
|
let fetchResult;
|
|
42398
42398
|
try {
|
|
42399
42399
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42603,7 +42603,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
42603
42603
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42604
42604
|
*/
|
|
42605
42605
|
static async fromJsonLd(json, options = {}) {
|
|
42606
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
42606
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42607
42607
|
try {
|
|
42608
42608
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
42609
42609
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42807,7 +42807,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
42807
42807
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42808
42808
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42809
42809
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42810
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42810
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42811
42811
|
let fetchResult;
|
|
42812
42812
|
try {
|
|
42813
42813
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42939,7 +42939,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
42939
42939
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42940
42940
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42941
42941
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42942
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42942
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42943
42943
|
let fetchResult;
|
|
42944
42944
|
try {
|
|
42945
42945
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43087,7 +43087,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
43087
43087
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43088
43088
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43089
43089
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43090
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
43090
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43091
43091
|
let fetchResult;
|
|
43092
43092
|
try {
|
|
43093
43093
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43234,7 +43234,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
43234
43234
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43235
43235
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43236
43236
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43237
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
43237
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43238
43238
|
let fetchResult;
|
|
43239
43239
|
try {
|
|
43240
43240
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43495,7 +43495,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
43495
43495
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43496
43496
|
*/
|
|
43497
43497
|
static async fromJsonLd(json, options = {}) {
|
|
43498
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
43498
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43499
43499
|
try {
|
|
43500
43500
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
43501
43501
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43803,7 +43803,7 @@ var Read = class Read extends Activity {
|
|
|
43803
43803
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43804
43804
|
*/
|
|
43805
43805
|
static async fromJsonLd(json, options = {}) {
|
|
43806
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
43806
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43807
43807
|
try {
|
|
43808
43808
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
43809
43809
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43955,7 +43955,7 @@ var Reject = class Reject extends Activity {
|
|
|
43955
43955
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43956
43956
|
*/
|
|
43957
43957
|
static async fromJsonLd(json, options = {}) {
|
|
43958
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
43958
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43959
43959
|
try {
|
|
43960
43960
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
43961
43961
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44131,7 +44131,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
44131
44131
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44132
44132
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44133
44133
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44134
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44134
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44135
44135
|
let fetchResult;
|
|
44136
44136
|
try {
|
|
44137
44137
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44263,7 +44263,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
44263
44263
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44264
44264
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44265
44265
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44266
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44266
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44267
44267
|
let fetchResult;
|
|
44268
44268
|
try {
|
|
44269
44269
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44444,7 +44444,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
44444
44444
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44445
44445
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44446
44446
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44447
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44447
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44448
44448
|
let fetchResult;
|
|
44449
44449
|
try {
|
|
44450
44450
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44741,7 +44741,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
44741
44741
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44742
44742
|
*/
|
|
44743
44743
|
static async fromJsonLd(json, options = {}) {
|
|
44744
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
44744
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44745
44745
|
try {
|
|
44746
44746
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
44747
44747
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44971,7 +44971,7 @@ var Remove = class Remove extends Activity {
|
|
|
44971
44971
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44972
44972
|
*/
|
|
44973
44973
|
static async fromJsonLd(json, options = {}) {
|
|
44974
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
44974
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44975
44975
|
try {
|
|
44976
44976
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
44977
44977
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45369,7 +45369,7 @@ var Service = class Service extends Object$1 {
|
|
|
45369
45369
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45370
45370
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45371
45371
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45372
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
45372
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45373
45373
|
let fetchResult;
|
|
45374
45374
|
try {
|
|
45375
45375
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45550,7 +45550,7 @@ var Service = class Service extends Object$1 {
|
|
|
45550
45550
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45551
45551
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45552
45552
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45553
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
45553
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45554
45554
|
let fetchResult;
|
|
45555
45555
|
try {
|
|
45556
45556
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45749,7 +45749,7 @@ var Service = class Service extends Object$1 {
|
|
|
45749
45749
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45750
45750
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45751
45751
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45752
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
45752
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45753
45753
|
let fetchResult;
|
|
45754
45754
|
try {
|
|
45755
45755
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45900,7 +45900,7 @@ var Service = class Service extends Object$1 {
|
|
|
45900
45900
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45901
45901
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45902
45902
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45903
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
45903
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45904
45904
|
let fetchResult;
|
|
45905
45905
|
try {
|
|
45906
45906
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46048,7 +46048,7 @@ var Service = class Service extends Object$1 {
|
|
|
46048
46048
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46049
46049
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46050
46050
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46051
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46051
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46052
46052
|
let fetchResult;
|
|
46053
46053
|
try {
|
|
46054
46054
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46181,7 +46181,7 @@ var Service = class Service extends Object$1 {
|
|
|
46181
46181
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46182
46182
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46183
46183
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46184
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46184
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46185
46185
|
let fetchResult;
|
|
46186
46186
|
try {
|
|
46187
46187
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46317,7 +46317,7 @@ var Service = class Service extends Object$1 {
|
|
|
46317
46317
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46318
46318
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46319
46319
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46320
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46320
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46321
46321
|
let fetchResult;
|
|
46322
46322
|
try {
|
|
46323
46323
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46451,7 +46451,7 @@ var Service = class Service extends Object$1 {
|
|
|
46451
46451
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46452
46452
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46453
46453
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46454
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46454
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46455
46455
|
let fetchResult;
|
|
46456
46456
|
try {
|
|
46457
46457
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46583,7 +46583,7 @@ var Service = class Service extends Object$1 {
|
|
|
46583
46583
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46584
46584
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46585
46585
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46586
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46586
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46587
46587
|
let fetchResult;
|
|
46588
46588
|
try {
|
|
46589
46589
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46715,7 +46715,7 @@ var Service = class Service extends Object$1 {
|
|
|
46715
46715
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46716
46716
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46717
46717
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46718
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46718
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46719
46719
|
let fetchResult;
|
|
46720
46720
|
try {
|
|
46721
46721
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46887,7 +46887,7 @@ var Service = class Service extends Object$1 {
|
|
|
46887
46887
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46888
46888
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46889
46889
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46890
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46890
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46891
46891
|
let fetchResult;
|
|
46892
46892
|
try {
|
|
46893
46893
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47062,7 +47062,7 @@ var Service = class Service extends Object$1 {
|
|
|
47062
47062
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47063
47063
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47064
47064
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47065
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
47065
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47066
47066
|
let fetchResult;
|
|
47067
47067
|
try {
|
|
47068
47068
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47295,7 +47295,7 @@ var Service = class Service extends Object$1 {
|
|
|
47295
47295
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47296
47296
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47297
47297
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47298
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
47298
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47299
47299
|
let fetchResult;
|
|
47300
47300
|
try {
|
|
47301
47301
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47999,7 +47999,7 @@ var Service = class Service extends Object$1 {
|
|
|
47999
47999
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48000
48000
|
*/
|
|
48001
48001
|
static async fromJsonLd(json, options = {}) {
|
|
48002
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
48002
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48003
48003
|
try {
|
|
48004
48004
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
48005
48005
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48784,7 +48784,7 @@ var Source = class {
|
|
|
48784
48784
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48785
48785
|
*/
|
|
48786
48786
|
static async fromJsonLd(json, options = {}) {
|
|
48787
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
48787
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48788
48788
|
try {
|
|
48789
48789
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
48790
48790
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48973,7 +48973,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
48973
48973
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48974
48974
|
*/
|
|
48975
48975
|
static async fromJsonLd(json, options = {}) {
|
|
48976
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
48976
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48977
48977
|
try {
|
|
48978
48978
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
48979
48979
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49125,7 +49125,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
49125
49125
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49126
49126
|
*/
|
|
49127
49127
|
static async fromJsonLd(json, options = {}) {
|
|
49128
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
49128
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49129
49129
|
try {
|
|
49130
49130
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
49131
49131
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49366,7 +49366,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
49366
49366
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49367
49367
|
*/
|
|
49368
49368
|
static async fromJsonLd(json, options = {}) {
|
|
49369
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
49369
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49370
49370
|
try {
|
|
49371
49371
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
49372
49372
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49563,7 +49563,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
49563
49563
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49564
49564
|
*/
|
|
49565
49565
|
static async fromJsonLd(json, options = {}) {
|
|
49566
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
49566
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49567
49567
|
try {
|
|
49568
49568
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
49569
49569
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49729,7 +49729,7 @@ var Undo = class Undo extends Activity {
|
|
|
49729
49729
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49730
49730
|
*/
|
|
49731
49731
|
static async fromJsonLd(json, options = {}) {
|
|
49732
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
49732
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49733
49733
|
try {
|
|
49734
49734
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
49735
49735
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49943,7 +49943,7 @@ var Update = class Update extends Activity {
|
|
|
49943
49943
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49944
49944
|
*/
|
|
49945
49945
|
static async fromJsonLd(json, options = {}) {
|
|
49946
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
49946
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49947
49947
|
try {
|
|
49948
49948
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
49949
49949
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50108,7 +50108,7 @@ var Video = class Video extends Document {
|
|
|
50108
50108
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50109
50109
|
*/
|
|
50110
50110
|
static async fromJsonLd(json, options = {}) {
|
|
50111
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
50111
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50112
50112
|
try {
|
|
50113
50113
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
50114
50114
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50259,7 +50259,7 @@ var View = class View extends Activity {
|
|
|
50259
50259
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50260
50260
|
*/
|
|
50261
50261
|
static async fromJsonLd(json, options = {}) {
|
|
50262
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
50262
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50263
50263
|
try {
|
|
50264
50264
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
50265
50265
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|