@fedify/vocab 2.1.14 → 2.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deno.json +1 -1
- package/dist/mod.cjs +202 -202
- package/dist/mod.js +202 -202
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/{deno-DIgbhkwC.mjs → deno-ShxLdwbi.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-9FBCzwKZ.mjs → vocab-CIVZgRqp.mjs} +201 -201
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
|
@@ -769,7 +769,7 @@ var Object$1 = class Object$1 {
|
|
|
769
769
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
770
770
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
771
771
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
772
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
772
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
773
773
|
let fetchResult;
|
|
774
774
|
try {
|
|
775
775
|
fetchResult = await documentLoader(url.href);
|
|
@@ -915,7 +915,7 @@ var Object$1 = class Object$1 {
|
|
|
915
915
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
916
916
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
917
917
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
918
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
918
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
919
919
|
let fetchResult;
|
|
920
920
|
try {
|
|
921
921
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1127,7 +1127,7 @@ var Object$1 = class Object$1 {
|
|
|
1127
1127
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1128
1128
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1129
1129
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1130
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1130
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1131
1131
|
let fetchResult;
|
|
1132
1132
|
try {
|
|
1133
1133
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1311,7 +1311,7 @@ var Object$1 = class Object$1 {
|
|
|
1311
1311
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1312
1312
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1313
1313
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1314
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1314
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1315
1315
|
let fetchResult;
|
|
1316
1316
|
try {
|
|
1317
1317
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1473,7 +1473,7 @@ var Object$1 = class Object$1 {
|
|
|
1473
1473
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1474
1474
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1475
1475
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1476
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1476
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1477
1477
|
let fetchResult;
|
|
1478
1478
|
try {
|
|
1479
1479
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1603,7 +1603,7 @@ var Object$1 = class Object$1 {
|
|
|
1603
1603
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1604
1604
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1605
1605
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1606
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1606
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1607
1607
|
let fetchResult;
|
|
1608
1608
|
try {
|
|
1609
1609
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1769,7 +1769,7 @@ var Object$1 = class Object$1 {
|
|
|
1769
1769
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1770
1770
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1771
1771
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1772
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1772
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1773
1773
|
let fetchResult;
|
|
1774
1774
|
try {
|
|
1775
1775
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1935,7 +1935,7 @@ var Object$1 = class Object$1 {
|
|
|
1935
1935
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1936
1936
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1937
1937
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1938
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1938
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1939
1939
|
let fetchResult;
|
|
1940
1940
|
try {
|
|
1941
1941
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2109,7 +2109,7 @@ var Object$1 = class Object$1 {
|
|
|
2109
2109
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2110
2110
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2111
2111
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2112
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2112
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2113
2113
|
let fetchResult;
|
|
2114
2114
|
try {
|
|
2115
2115
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2283,7 +2283,7 @@ var Object$1 = class Object$1 {
|
|
|
2283
2283
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2284
2284
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2285
2285
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2286
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2286
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2287
2287
|
let fetchResult;
|
|
2288
2288
|
try {
|
|
2289
2289
|
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.1.
|
|
2465
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2466
2466
|
let fetchResult;
|
|
2467
2467
|
try {
|
|
2468
2468
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2583,7 +2583,7 @@ var Object$1 = class Object$1 {
|
|
|
2583
2583
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2584
2584
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2585
2585
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2586
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2586
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2587
2587
|
let fetchResult;
|
|
2588
2588
|
try {
|
|
2589
2589
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2710,7 +2710,7 @@ var Object$1 = class Object$1 {
|
|
|
2710
2710
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2711
2711
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2712
2712
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2713
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2713
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2714
2714
|
let fetchResult;
|
|
2715
2715
|
try {
|
|
2716
2716
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2837,7 +2837,7 @@ var Object$1 = class Object$1 {
|
|
|
2837
2837
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2838
2838
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2839
2839
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2840
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2840
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2841
2841
|
let fetchResult;
|
|
2842
2842
|
try {
|
|
2843
2843
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2982,7 +2982,7 @@ var Object$1 = class Object$1 {
|
|
|
2982
2982
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2983
2983
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2984
2984
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2985
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2985
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2986
2986
|
let fetchResult;
|
|
2987
2987
|
try {
|
|
2988
2988
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3134,7 +3134,7 @@ var Object$1 = class Object$1 {
|
|
|
3134
3134
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3135
3135
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3136
3136
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3137
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3137
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3138
3138
|
let fetchResult;
|
|
3139
3139
|
try {
|
|
3140
3140
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3298,7 +3298,7 @@ var Object$1 = class Object$1 {
|
|
|
3298
3298
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3299
3299
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3300
3300
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3301
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3301
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3302
3302
|
let fetchResult;
|
|
3303
3303
|
try {
|
|
3304
3304
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3462,7 +3462,7 @@ var Object$1 = class Object$1 {
|
|
|
3462
3462
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3463
3463
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3464
3464
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3465
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3465
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3466
3466
|
let fetchResult;
|
|
3467
3467
|
try {
|
|
3468
3468
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3626,7 +3626,7 @@ var Object$1 = class Object$1 {
|
|
|
3626
3626
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3627
3627
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3628
3628
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3629
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3629
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3630
3630
|
let fetchResult;
|
|
3631
3631
|
try {
|
|
3632
3632
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3827,7 +3827,7 @@ var Object$1 = class Object$1 {
|
|
|
3827
3827
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3828
3828
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3829
3829
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3830
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3830
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3831
3831
|
let fetchResult;
|
|
3832
3832
|
try {
|
|
3833
3833
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4014,7 +4014,7 @@ var Object$1 = class Object$1 {
|
|
|
4014
4014
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4015
4015
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4016
4016
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4017
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4017
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4018
4018
|
let fetchResult;
|
|
4019
4019
|
try {
|
|
4020
4020
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4135,7 +4135,7 @@ var Object$1 = class Object$1 {
|
|
|
4135
4135
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4136
4136
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4137
4137
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4138
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4138
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4139
4139
|
let fetchResult;
|
|
4140
4140
|
try {
|
|
4141
4141
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4256,7 +4256,7 @@ var Object$1 = class Object$1 {
|
|
|
4256
4256
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4257
4257
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4258
4258
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4259
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4259
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4260
4260
|
let fetchResult;
|
|
4261
4261
|
try {
|
|
4262
4262
|
fetchResult = await documentLoader(url.href);
|
|
@@ -5083,7 +5083,7 @@ var Object$1 = class Object$1 {
|
|
|
5083
5083
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5084
5084
|
*/
|
|
5085
5085
|
static async fromJsonLd(json, options = {}) {
|
|
5086
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
5086
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5087
5087
|
try {
|
|
5088
5088
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
5089
5089
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6459,7 +6459,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
6459
6459
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6460
6460
|
*/
|
|
6461
6461
|
static async fromJsonLd(json, options = {}) {
|
|
6462
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
6462
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6463
6463
|
try {
|
|
6464
6464
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
6465
6465
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6698,7 +6698,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6698
6698
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6699
6699
|
*/
|
|
6700
6700
|
static async fromJsonLd(json, options = {}) {
|
|
6701
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
6701
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6702
6702
|
try {
|
|
6703
6703
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
6704
6704
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6979,7 +6979,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6979
6979
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6980
6980
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6981
6981
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6982
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
6982
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6983
6983
|
let fetchResult;
|
|
6984
6984
|
try {
|
|
6985
6985
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7191,7 +7191,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7191
7191
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7192
7192
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7193
7193
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7194
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7194
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7195
7195
|
let fetchResult;
|
|
7196
7196
|
try {
|
|
7197
7197
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7357,7 +7357,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7357
7357
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7358
7358
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7359
7359
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7360
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7360
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7361
7361
|
let fetchResult;
|
|
7362
7362
|
try {
|
|
7363
7363
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7529,7 +7529,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7529
7529
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7530
7530
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7531
7531
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7532
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7532
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7533
7533
|
let fetchResult;
|
|
7534
7534
|
try {
|
|
7535
7535
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7695,7 +7695,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7695
7695
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7696
7696
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7697
7697
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7698
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7698
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7699
7699
|
let fetchResult;
|
|
7700
7700
|
try {
|
|
7701
7701
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7863,7 +7863,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7863
7863
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7864
7864
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7865
7865
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7866
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7866
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7867
7867
|
let fetchResult;
|
|
7868
7868
|
try {
|
|
7869
7869
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8114,7 +8114,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8114
8114
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8115
8115
|
*/
|
|
8116
8116
|
static async fromJsonLd(json, options = {}) {
|
|
8117
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
8117
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8118
8118
|
try {
|
|
8119
8119
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
8120
8120
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8436,7 +8436,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
8436
8436
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8437
8437
|
*/
|
|
8438
8438
|
static async fromJsonLd(json, options = {}) {
|
|
8439
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
8439
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8440
8440
|
try {
|
|
8441
8441
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
8442
8442
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8682,7 +8682,7 @@ var PropertyValue = class {
|
|
|
8682
8682
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8683
8683
|
*/
|
|
8684
8684
|
static async fromJsonLd(json, options = {}) {
|
|
8685
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
8685
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8686
8686
|
try {
|
|
8687
8687
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
8688
8688
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8842,7 +8842,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
8842
8842
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8843
8843
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8844
8844
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8845
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
8845
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8846
8846
|
let fetchResult;
|
|
8847
8847
|
try {
|
|
8848
8848
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8963,7 +8963,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
8963
8963
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8964
8964
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8965
8965
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8966
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
8966
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8967
8967
|
let fetchResult;
|
|
8968
8968
|
try {
|
|
8969
8969
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9179,7 +9179,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9179
9179
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9180
9180
|
*/
|
|
9181
9181
|
static async fromJsonLd(json, options = {}) {
|
|
9182
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9182
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9183
9183
|
try {
|
|
9184
9184
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
9185
9185
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9376,7 +9376,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
9376
9376
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9377
9377
|
*/
|
|
9378
9378
|
static async fromJsonLd(json, options = {}) {
|
|
9379
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9379
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9380
9380
|
try {
|
|
9381
9381
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
9382
9382
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9616,7 +9616,7 @@ var InteractionPolicy = class {
|
|
|
9616
9616
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9617
9617
|
*/
|
|
9618
9618
|
static async fromJsonLd(json, options = {}) {
|
|
9619
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9619
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9620
9620
|
try {
|
|
9621
9621
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
9622
9622
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9918,7 +9918,7 @@ var InteractionRule = class {
|
|
|
9918
9918
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9919
9919
|
*/
|
|
9920
9920
|
static async fromJsonLd(json, options = {}) {
|
|
9921
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9921
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9922
9922
|
try {
|
|
9923
9923
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
9924
9924
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10075,7 +10075,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10075
10075
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10076
10076
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10077
10077
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10078
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10078
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10079
10079
|
let fetchResult;
|
|
10080
10080
|
try {
|
|
10081
10081
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10196,7 +10196,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10196
10196
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10197
10197
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10198
10198
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10199
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10199
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10200
10200
|
let fetchResult;
|
|
10201
10201
|
try {
|
|
10202
10202
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10412,7 +10412,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10412
10412
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10413
10413
|
*/
|
|
10414
10414
|
static async fromJsonLd(json, options = {}) {
|
|
10415
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
10415
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10416
10416
|
try {
|
|
10417
10417
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
10418
10418
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10608,7 +10608,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
10608
10608
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10609
10609
|
*/
|
|
10610
10610
|
static async fromJsonLd(json, options = {}) {
|
|
10611
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
10611
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10612
10612
|
try {
|
|
10613
10613
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
10614
10614
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10739,7 +10739,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
10739
10739
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10740
10740
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10741
10741
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10742
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10742
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10743
10743
|
let fetchResult;
|
|
10744
10744
|
try {
|
|
10745
10745
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10860,7 +10860,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
10860
10860
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10861
10861
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10862
10862
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10863
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10863
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10864
10864
|
let fetchResult;
|
|
10865
10865
|
try {
|
|
10866
10866
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11076,7 +11076,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11076
11076
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11077
11077
|
*/
|
|
11078
11078
|
static async fromJsonLd(json, options = {}) {
|
|
11079
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11079
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11080
11080
|
try {
|
|
11081
11081
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
11082
11082
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11272,7 +11272,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
11272
11272
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11273
11273
|
*/
|
|
11274
11274
|
static async fromJsonLd(json, options = {}) {
|
|
11275
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11275
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11276
11276
|
try {
|
|
11277
11277
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
11278
11278
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11478,7 +11478,7 @@ var DidService = class {
|
|
|
11478
11478
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11479
11479
|
*/
|
|
11480
11480
|
static async fromJsonLd(json, options = {}) {
|
|
11481
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11481
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11482
11482
|
try {
|
|
11483
11483
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
11484
11484
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11632,7 +11632,7 @@ var Export = class Export extends DidService {
|
|
|
11632
11632
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11633
11633
|
*/
|
|
11634
11634
|
static async fromJsonLd(json, options = {}) {
|
|
11635
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11635
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11636
11636
|
try {
|
|
11637
11637
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
11638
11638
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11805,7 +11805,7 @@ var DataIntegrityProof = class {
|
|
|
11805
11805
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11806
11806
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11807
11807
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11808
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
11808
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11809
11809
|
let fetchResult;
|
|
11810
11810
|
try {
|
|
11811
11811
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12024,7 +12024,7 @@ var DataIntegrityProof = class {
|
|
|
12024
12024
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12025
12025
|
*/
|
|
12026
12026
|
static async fromJsonLd(json, options = {}) {
|
|
12027
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12027
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12028
12028
|
try {
|
|
12029
12029
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
12030
12030
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12238,7 +12238,7 @@ var CryptographicKey = class {
|
|
|
12238
12238
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12239
12239
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12240
12240
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12241
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
12241
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12242
12242
|
let fetchResult;
|
|
12243
12243
|
try {
|
|
12244
12244
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12500,7 +12500,7 @@ var CryptographicKey = class {
|
|
|
12500
12500
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12501
12501
|
*/
|
|
12502
12502
|
static async fromJsonLd(json, options = {}) {
|
|
12503
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12503
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12504
12504
|
try {
|
|
12505
12505
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
12506
12506
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12695,7 +12695,7 @@ var Multikey = class {
|
|
|
12695
12695
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12696
12696
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12697
12697
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12698
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
12698
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12699
12699
|
let fetchResult;
|
|
12700
12700
|
try {
|
|
12701
12701
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12963,7 +12963,7 @@ var Multikey = class {
|
|
|
12963
12963
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12964
12964
|
*/
|
|
12965
12965
|
static async fromJsonLd(json, options = {}) {
|
|
12966
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12966
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12967
12967
|
try {
|
|
12968
12968
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
12969
12969
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13158,7 +13158,7 @@ var Accept = class Accept extends Activity {
|
|
|
13158
13158
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13159
13159
|
*/
|
|
13160
13160
|
static async fromJsonLd(json, options = {}) {
|
|
13161
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13161
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13162
13162
|
try {
|
|
13163
13163
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
13164
13164
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13310,7 +13310,7 @@ var Add = class Add extends Activity {
|
|
|
13310
13310
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13311
13311
|
*/
|
|
13312
13312
|
static async fromJsonLd(json, options = {}) {
|
|
13313
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13313
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13314
13314
|
try {
|
|
13315
13315
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
13316
13316
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13479,7 +13479,7 @@ var Announce = class Announce extends Activity {
|
|
|
13479
13479
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13480
13480
|
*/
|
|
13481
13481
|
static async fromJsonLd(json, options = {}) {
|
|
13482
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13482
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13483
13483
|
try {
|
|
13484
13484
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
13485
13485
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13874,7 +13874,7 @@ var Application = class Application extends Object$1 {
|
|
|
13874
13874
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13875
13875
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13876
13876
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13877
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
13877
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13878
13878
|
let fetchResult;
|
|
13879
13879
|
try {
|
|
13880
13880
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14036,7 +14036,7 @@ var Application = class Application extends Object$1 {
|
|
|
14036
14036
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14037
14037
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14038
14038
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14039
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14039
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14040
14040
|
let fetchResult;
|
|
14041
14041
|
try {
|
|
14042
14042
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14216,7 +14216,7 @@ var Application = class Application extends Object$1 {
|
|
|
14216
14216
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14217
14217
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14218
14218
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14219
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14219
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14220
14220
|
let fetchResult;
|
|
14221
14221
|
try {
|
|
14222
14222
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14358,7 +14358,7 @@ var Application = class Application extends Object$1 {
|
|
|
14358
14358
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14359
14359
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14360
14360
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14361
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14361
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14362
14362
|
let fetchResult;
|
|
14363
14363
|
try {
|
|
14364
14364
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14497,7 +14497,7 @@ var Application = class Application extends Object$1 {
|
|
|
14497
14497
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14498
14498
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14499
14499
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14500
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14500
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14501
14501
|
let fetchResult;
|
|
14502
14502
|
try {
|
|
14503
14503
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14621,7 +14621,7 @@ var Application = class Application extends Object$1 {
|
|
|
14621
14621
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14622
14622
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14623
14623
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14624
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14624
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14625
14625
|
let fetchResult;
|
|
14626
14626
|
try {
|
|
14627
14627
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14748,7 +14748,7 @@ var Application = class Application extends Object$1 {
|
|
|
14748
14748
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14749
14749
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14750
14750
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14751
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14751
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14752
14752
|
let fetchResult;
|
|
14753
14753
|
try {
|
|
14754
14754
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14873,7 +14873,7 @@ var Application = class Application extends Object$1 {
|
|
|
14873
14873
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14874
14874
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14875
14875
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14876
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14876
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14877
14877
|
let fetchResult;
|
|
14878
14878
|
try {
|
|
14879
14879
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14996,7 +14996,7 @@ var Application = class Application extends Object$1 {
|
|
|
14996
14996
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14997
14997
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14998
14998
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14999
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14999
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15000
15000
|
let fetchResult;
|
|
15001
15001
|
try {
|
|
15002
15002
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15119,7 +15119,7 @@ var Application = class Application extends Object$1 {
|
|
|
15119
15119
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15120
15120
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15121
15121
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15122
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15122
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15123
15123
|
let fetchResult;
|
|
15124
15124
|
try {
|
|
15125
15125
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15281,7 +15281,7 @@ var Application = class Application extends Object$1 {
|
|
|
15281
15281
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15282
15282
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15283
15283
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15284
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15284
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15285
15285
|
let fetchResult;
|
|
15286
15286
|
try {
|
|
15287
15287
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15447,7 +15447,7 @@ var Application = class Application extends Object$1 {
|
|
|
15447
15447
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15448
15448
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15449
15449
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15450
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15450
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15451
15451
|
let fetchResult;
|
|
15452
15452
|
try {
|
|
15453
15453
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15661,7 +15661,7 @@ var Application = class Application extends Object$1 {
|
|
|
15661
15661
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15662
15662
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15663
15663
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15664
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15664
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15665
15665
|
let fetchResult;
|
|
15666
15666
|
try {
|
|
15667
15667
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16346,7 +16346,7 @@ var Application = class Application extends Object$1 {
|
|
|
16346
16346
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16347
16347
|
*/
|
|
16348
16348
|
static async fromJsonLd(json, options = {}) {
|
|
16349
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
16349
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16350
16350
|
try {
|
|
16351
16351
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
16352
16352
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16900,7 +16900,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
16900
16900
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16901
16901
|
*/
|
|
16902
16902
|
static async fromJsonLd(json, options = {}) {
|
|
16903
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
16903
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16904
16904
|
try {
|
|
16905
16905
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
16906
16906
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17053,7 +17053,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
17053
17053
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17054
17054
|
*/
|
|
17055
17055
|
static async fromJsonLd(json, options = {}) {
|
|
17056
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17056
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17057
17057
|
try {
|
|
17058
17058
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
17059
17059
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17290,7 +17290,7 @@ var Article = class Article extends Object$1 {
|
|
|
17290
17290
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17291
17291
|
*/
|
|
17292
17292
|
static async fromJsonLd(json, options = {}) {
|
|
17293
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17293
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17294
17294
|
try {
|
|
17295
17295
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
17296
17296
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17527,7 +17527,7 @@ var Document = class Document extends Object$1 {
|
|
|
17527
17527
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17528
17528
|
*/
|
|
17529
17529
|
static async fromJsonLd(json, options = {}) {
|
|
17530
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17530
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17531
17531
|
try {
|
|
17532
17532
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
17533
17533
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17718,7 +17718,7 @@ var Audio = class Audio extends Document {
|
|
|
17718
17718
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17719
17719
|
*/
|
|
17720
17720
|
static async fromJsonLd(json, options = {}) {
|
|
17721
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17721
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17722
17722
|
try {
|
|
17723
17723
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
17724
17724
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17867,7 +17867,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
17867
17867
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17868
17868
|
*/
|
|
17869
17869
|
static async fromJsonLd(json, options = {}) {
|
|
17870
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17870
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17871
17871
|
try {
|
|
17872
17872
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
17873
17873
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18019,7 +18019,7 @@ var Block = class Block extends Ignore {
|
|
|
18019
18019
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18020
18020
|
*/
|
|
18021
18021
|
static async fromJsonLd(json, options = {}) {
|
|
18022
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18022
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18023
18023
|
try {
|
|
18024
18024
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
18025
18025
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18283,7 +18283,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18283
18283
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18284
18284
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18285
18285
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18286
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18286
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18287
18287
|
let fetchResult;
|
|
18288
18288
|
try {
|
|
18289
18289
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18404,7 +18404,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18404
18404
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18405
18405
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18406
18406
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18407
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18407
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18408
18408
|
let fetchResult;
|
|
18409
18409
|
try {
|
|
18410
18410
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18525,7 +18525,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18525
18525
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18526
18526
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18527
18527
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18528
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18528
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18529
18529
|
let fetchResult;
|
|
18530
18530
|
try {
|
|
18531
18531
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18646,7 +18646,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18646
18646
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18647
18647
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18648
18648
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18649
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18649
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18650
18650
|
let fetchResult;
|
|
18651
18651
|
try {
|
|
18652
18652
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18777,7 +18777,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18777
18777
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18778
18778
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18779
18779
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18780
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18780
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18781
18781
|
let fetchResult;
|
|
18782
18782
|
try {
|
|
18783
18783
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18897,7 +18897,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18897
18897
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18898
18898
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18899
18899
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18900
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18900
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18901
18901
|
let fetchResult;
|
|
18902
18902
|
try {
|
|
18903
18903
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19017,7 +19017,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19017
19017
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19018
19018
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19019
19019
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19020
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19020
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19021
19021
|
let fetchResult;
|
|
19022
19022
|
try {
|
|
19023
19023
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19137,7 +19137,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19137
19137
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19138
19138
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19139
19139
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19140
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19140
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19141
19141
|
let fetchResult;
|
|
19142
19142
|
try {
|
|
19143
19143
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19257,7 +19257,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19257
19257
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19258
19258
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19259
19259
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19260
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19260
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19261
19261
|
let fetchResult;
|
|
19262
19262
|
try {
|
|
19263
19263
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19377,7 +19377,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19377
19377
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19378
19378
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19379
19379
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19380
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19380
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19381
19381
|
let fetchResult;
|
|
19382
19382
|
try {
|
|
19383
19383
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19497,7 +19497,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19497
19497
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19498
19498
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19499
19499
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19500
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19500
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19501
19501
|
let fetchResult;
|
|
19502
19502
|
try {
|
|
19503
19503
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19617,7 +19617,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19617
19617
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19618
19618
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19619
19619
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19620
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19620
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19621
19621
|
let fetchResult;
|
|
19622
19622
|
try {
|
|
19623
19623
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20046,7 +20046,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20046
20046
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20047
20047
|
*/
|
|
20048
20048
|
static async fromJsonLd(json, options = {}) {
|
|
20049
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
20049
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20050
20050
|
try {
|
|
20051
20051
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
20052
20052
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20499,7 +20499,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
20499
20499
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20500
20500
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20501
20501
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20502
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20502
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20503
20503
|
let fetchResult;
|
|
20504
20504
|
try {
|
|
20505
20505
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20620,7 +20620,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
20620
20620
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20621
20621
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20622
20622
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20623
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20623
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20624
20624
|
let fetchResult;
|
|
20625
20625
|
try {
|
|
20626
20626
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20740,7 +20740,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
20740
20740
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20741
20741
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20742
20742
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20743
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20743
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20744
20744
|
let fetchResult;
|
|
20745
20745
|
try {
|
|
20746
20746
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21006,7 +21006,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
21006
21006
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21007
21007
|
*/
|
|
21008
21008
|
static async fromJsonLd(json, options = {}) {
|
|
21009
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21009
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21010
21010
|
try {
|
|
21011
21011
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
21012
21012
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21233,7 +21233,7 @@ var Create = class Create extends Activity {
|
|
|
21233
21233
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21234
21234
|
*/
|
|
21235
21235
|
static async fromJsonLd(json, options = {}) {
|
|
21236
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21236
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21237
21237
|
try {
|
|
21238
21238
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
21239
21239
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21398,7 +21398,7 @@ var Delete = class Delete extends Activity {
|
|
|
21398
21398
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21399
21399
|
*/
|
|
21400
21400
|
static async fromJsonLd(json, options = {}) {
|
|
21401
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21401
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21402
21402
|
try {
|
|
21403
21403
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
21404
21404
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21550,7 +21550,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
21550
21550
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21551
21551
|
*/
|
|
21552
21552
|
static async fromJsonLd(json, options = {}) {
|
|
21553
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21553
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21554
21554
|
try {
|
|
21555
21555
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
21556
21556
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21895,7 +21895,7 @@ var Endpoints = class {
|
|
|
21895
21895
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21896
21896
|
*/
|
|
21897
21897
|
static async fromJsonLd(json, options = {}) {
|
|
21898
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21898
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21899
21899
|
try {
|
|
21900
21900
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
21901
21901
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22129,7 +22129,7 @@ var Event = class Event extends Object$1 {
|
|
|
22129
22129
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22130
22130
|
*/
|
|
22131
22131
|
static async fromJsonLd(json, options = {}) {
|
|
22132
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22132
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22133
22133
|
try {
|
|
22134
22134
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
22135
22135
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22279,7 +22279,7 @@ var Flag = class Flag extends Activity {
|
|
|
22279
22279
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22280
22280
|
*/
|
|
22281
22281
|
static async fromJsonLd(json, options = {}) {
|
|
22282
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22282
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22283
22283
|
try {
|
|
22284
22284
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
22285
22285
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22433,7 +22433,7 @@ var Follow = class Follow extends Activity {
|
|
|
22433
22433
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22434
22434
|
*/
|
|
22435
22435
|
static async fromJsonLd(json, options = {}) {
|
|
22436
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22436
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22437
22437
|
try {
|
|
22438
22438
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
22439
22439
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22828,7 +22828,7 @@ var Group = class Group extends Object$1 {
|
|
|
22828
22828
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22829
22829
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22830
22830
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22831
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
22831
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22832
22832
|
let fetchResult;
|
|
22833
22833
|
try {
|
|
22834
22834
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22990,7 +22990,7 @@ var Group = class Group extends Object$1 {
|
|
|
22990
22990
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22991
22991
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22992
22992
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22993
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
22993
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22994
22994
|
let fetchResult;
|
|
22995
22995
|
try {
|
|
22996
22996
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23170,7 +23170,7 @@ var Group = class Group extends Object$1 {
|
|
|
23170
23170
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23171
23171
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23172
23172
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23173
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23173
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23174
23174
|
let fetchResult;
|
|
23175
23175
|
try {
|
|
23176
23176
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23312,7 +23312,7 @@ var Group = class Group extends Object$1 {
|
|
|
23312
23312
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23313
23313
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23314
23314
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23315
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23315
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23316
23316
|
let fetchResult;
|
|
23317
23317
|
try {
|
|
23318
23318
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23451,7 +23451,7 @@ var Group = class Group extends Object$1 {
|
|
|
23451
23451
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23452
23452
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23453
23453
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23454
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23454
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23455
23455
|
let fetchResult;
|
|
23456
23456
|
try {
|
|
23457
23457
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23575,7 +23575,7 @@ var Group = class Group extends Object$1 {
|
|
|
23575
23575
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23576
23576
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23577
23577
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23578
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23578
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23579
23579
|
let fetchResult;
|
|
23580
23580
|
try {
|
|
23581
23581
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23702,7 +23702,7 @@ var Group = class Group extends Object$1 {
|
|
|
23702
23702
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23703
23703
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23704
23704
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23705
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23705
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23706
23706
|
let fetchResult;
|
|
23707
23707
|
try {
|
|
23708
23708
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23827,7 +23827,7 @@ var Group = class Group extends Object$1 {
|
|
|
23827
23827
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23828
23828
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23829
23829
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23830
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23830
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23831
23831
|
let fetchResult;
|
|
23832
23832
|
try {
|
|
23833
23833
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23950,7 +23950,7 @@ var Group = class Group extends Object$1 {
|
|
|
23950
23950
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23951
23951
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23952
23952
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23953
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23953
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23954
23954
|
let fetchResult;
|
|
23955
23955
|
try {
|
|
23956
23956
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24073,7 +24073,7 @@ var Group = class Group extends Object$1 {
|
|
|
24073
24073
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24074
24074
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24075
24075
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24076
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24076
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24077
24077
|
let fetchResult;
|
|
24078
24078
|
try {
|
|
24079
24079
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24235,7 +24235,7 @@ var Group = class Group extends Object$1 {
|
|
|
24235
24235
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24236
24236
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24237
24237
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24238
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24238
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24239
24239
|
let fetchResult;
|
|
24240
24240
|
try {
|
|
24241
24241
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24401,7 +24401,7 @@ var Group = class Group extends Object$1 {
|
|
|
24401
24401
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24402
24402
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24403
24403
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24404
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24404
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24405
24405
|
let fetchResult;
|
|
24406
24406
|
try {
|
|
24407
24407
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24615,7 +24615,7 @@ var Group = class Group extends Object$1 {
|
|
|
24615
24615
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24616
24616
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24617
24617
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24618
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24618
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24619
24619
|
let fetchResult;
|
|
24620
24620
|
try {
|
|
24621
24621
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25300,7 +25300,7 @@ var Group = class Group extends Object$1 {
|
|
|
25300
25300
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25301
25301
|
*/
|
|
25302
25302
|
static async fromJsonLd(json, options = {}) {
|
|
25303
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
25303
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25304
25304
|
try {
|
|
25305
25305
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
25306
25306
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25992,7 +25992,7 @@ var Link = class Link {
|
|
|
25992
25992
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25993
25993
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25994
25994
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25995
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25995
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25996
25996
|
let fetchResult;
|
|
25997
25997
|
try {
|
|
25998
25998
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26284,7 +26284,7 @@ var Link = class Link {
|
|
|
26284
26284
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26285
26285
|
*/
|
|
26286
26286
|
static async fromJsonLd(json, options = {}) {
|
|
26287
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
26287
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26288
26288
|
try {
|
|
26289
26289
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
26290
26290
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26617,7 +26617,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
26617
26617
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26618
26618
|
*/
|
|
26619
26619
|
static async fromJsonLd(json, options = {}) {
|
|
26620
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
26620
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26621
26621
|
try {
|
|
26622
26622
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
26623
26623
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26779,7 +26779,7 @@ var Image = class Image extends Document {
|
|
|
26779
26779
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26780
26780
|
*/
|
|
26781
26781
|
static async fromJsonLd(json, options = {}) {
|
|
26782
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
26782
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26783
26783
|
try {
|
|
26784
26784
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
26785
26785
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26929,7 +26929,7 @@ var Offer = class Offer extends Activity {
|
|
|
26929
26929
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26930
26930
|
*/
|
|
26931
26931
|
static async fromJsonLd(json, options = {}) {
|
|
26932
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
26932
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26933
26933
|
try {
|
|
26934
26934
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
26935
26935
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27079,7 +27079,7 @@ var Invite = class Invite extends Offer {
|
|
|
27079
27079
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27080
27080
|
*/
|
|
27081
27081
|
static async fromJsonLd(json, options = {}) {
|
|
27082
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27082
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27083
27083
|
try {
|
|
27084
27084
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
27085
27085
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27228,7 +27228,7 @@ var Join = class Join extends Activity {
|
|
|
27228
27228
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27229
27229
|
*/
|
|
27230
27230
|
static async fromJsonLd(json, options = {}) {
|
|
27231
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27231
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27232
27232
|
try {
|
|
27233
27233
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
27234
27234
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27377,7 +27377,7 @@ var Leave = class Leave extends Activity {
|
|
|
27377
27377
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27378
27378
|
*/
|
|
27379
27379
|
static async fromJsonLd(json, options = {}) {
|
|
27380
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27380
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27381
27381
|
try {
|
|
27382
27382
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
27383
27383
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27530,7 +27530,7 @@ var Like = class Like extends Activity {
|
|
|
27530
27530
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27531
27531
|
*/
|
|
27532
27532
|
static async fromJsonLd(json, options = {}) {
|
|
27533
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27533
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27534
27534
|
try {
|
|
27535
27535
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
27536
27536
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27678,7 +27678,7 @@ var Listen = class Listen extends Activity {
|
|
|
27678
27678
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27679
27679
|
*/
|
|
27680
27680
|
static async fromJsonLd(json, options = {}) {
|
|
27681
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27681
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27682
27682
|
try {
|
|
27683
27683
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
27684
27684
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27829,7 +27829,7 @@ var Mention = class Mention extends Link {
|
|
|
27829
27829
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27830
27830
|
*/
|
|
27831
27831
|
static async fromJsonLd(json, options = {}) {
|
|
27832
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27832
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27833
27833
|
try {
|
|
27834
27834
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
27835
27835
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27979,7 +27979,7 @@ var Move = class Move extends Activity {
|
|
|
27979
27979
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27980
27980
|
*/
|
|
27981
27981
|
static async fromJsonLd(json, options = {}) {
|
|
27982
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27982
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27983
27983
|
try {
|
|
27984
27984
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
27985
27985
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28217,7 +28217,7 @@ var Note = class Note extends Object$1 {
|
|
|
28217
28217
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28218
28218
|
*/
|
|
28219
28219
|
static async fromJsonLd(json, options = {}) {
|
|
28220
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28220
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28221
28221
|
try {
|
|
28222
28222
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
28223
28223
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28346,7 +28346,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
28346
28346
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28347
28347
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28348
28348
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28349
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
28349
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28350
28350
|
let fetchResult;
|
|
28351
28351
|
try {
|
|
28352
28352
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28596,7 +28596,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
28596
28596
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28597
28597
|
*/
|
|
28598
28598
|
static async fromJsonLd(json, options = {}) {
|
|
28599
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28599
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28600
28600
|
try {
|
|
28601
28601
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
28602
28602
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28808,7 +28808,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
28808
28808
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28809
28809
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28810
28810
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28811
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
28811
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28812
28812
|
let fetchResult;
|
|
28813
28813
|
try {
|
|
28814
28814
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29081,7 +29081,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
29081
29081
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29082
29082
|
*/
|
|
29083
29083
|
static async fromJsonLd(json, options = {}) {
|
|
29084
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
29084
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29085
29085
|
try {
|
|
29086
29086
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
29087
29087
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29579,7 +29579,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29579
29579
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29580
29580
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29581
29581
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29582
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
29582
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29583
29583
|
let fetchResult;
|
|
29584
29584
|
try {
|
|
29585
29585
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29741,7 +29741,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29741
29741
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29742
29742
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29743
29743
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29744
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
29744
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29745
29745
|
let fetchResult;
|
|
29746
29746
|
try {
|
|
29747
29747
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29921,7 +29921,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29921
29921
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29922
29922
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29923
29923
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29924
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
29924
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29925
29925
|
let fetchResult;
|
|
29926
29926
|
try {
|
|
29927
29927
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30063,7 +30063,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30063
30063
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30064
30064
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30065
30065
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30066
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30066
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30067
30067
|
let fetchResult;
|
|
30068
30068
|
try {
|
|
30069
30069
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30202,7 +30202,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30202
30202
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30203
30203
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30204
30204
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30205
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30205
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30206
30206
|
let fetchResult;
|
|
30207
30207
|
try {
|
|
30208
30208
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30326,7 +30326,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30326
30326
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30327
30327
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30328
30328
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30329
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30329
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30330
30330
|
let fetchResult;
|
|
30331
30331
|
try {
|
|
30332
30332
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30453,7 +30453,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30453
30453
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30454
30454
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30455
30455
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30456
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30456
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30457
30457
|
let fetchResult;
|
|
30458
30458
|
try {
|
|
30459
30459
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30578,7 +30578,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30578
30578
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30579
30579
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30580
30580
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30581
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30581
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30582
30582
|
let fetchResult;
|
|
30583
30583
|
try {
|
|
30584
30584
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30701,7 +30701,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30701
30701
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30702
30702
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30703
30703
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30704
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30704
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30705
30705
|
let fetchResult;
|
|
30706
30706
|
try {
|
|
30707
30707
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30824,7 +30824,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30824
30824
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30825
30825
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30826
30826
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30827
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30827
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30828
30828
|
let fetchResult;
|
|
30829
30829
|
try {
|
|
30830
30830
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30986,7 +30986,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30986
30986
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30987
30987
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30988
30988
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30989
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30989
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30990
30990
|
let fetchResult;
|
|
30991
30991
|
try {
|
|
30992
30992
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31152,7 +31152,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31152
31152
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31153
31153
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31154
31154
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31155
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31155
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31156
31156
|
let fetchResult;
|
|
31157
31157
|
try {
|
|
31158
31158
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31366,7 +31366,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31366
31366
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31367
31367
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31368
31368
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31369
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31369
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31370
31370
|
let fetchResult;
|
|
31371
31371
|
try {
|
|
31372
31372
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32051,7 +32051,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32051
32051
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32052
32052
|
*/
|
|
32053
32053
|
static async fromJsonLd(json, options = {}) {
|
|
32054
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
32054
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32055
32055
|
try {
|
|
32056
32056
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
32057
32057
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32617,7 +32617,7 @@ var Page = class Page extends Document {
|
|
|
32617
32617
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32618
32618
|
*/
|
|
32619
32619
|
static async fromJsonLd(json, options = {}) {
|
|
32620
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
32620
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32621
32621
|
try {
|
|
32622
32622
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
32623
32623
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33012,7 +33012,7 @@ var Person = class Person extends Object$1 {
|
|
|
33012
33012
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33013
33013
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33014
33014
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33015
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33015
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33016
33016
|
let fetchResult;
|
|
33017
33017
|
try {
|
|
33018
33018
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33174,7 +33174,7 @@ var Person = class Person extends Object$1 {
|
|
|
33174
33174
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33175
33175
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33176
33176
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33177
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33177
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33178
33178
|
let fetchResult;
|
|
33179
33179
|
try {
|
|
33180
33180
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33354,7 +33354,7 @@ var Person = class Person extends Object$1 {
|
|
|
33354
33354
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33355
33355
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33356
33356
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33357
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33357
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33358
33358
|
let fetchResult;
|
|
33359
33359
|
try {
|
|
33360
33360
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33496,7 +33496,7 @@ var Person = class Person extends Object$1 {
|
|
|
33496
33496
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33497
33497
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33498
33498
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33499
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33499
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33500
33500
|
let fetchResult;
|
|
33501
33501
|
try {
|
|
33502
33502
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33635,7 +33635,7 @@ var Person = class Person extends Object$1 {
|
|
|
33635
33635
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33636
33636
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33637
33637
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33638
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33638
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33639
33639
|
let fetchResult;
|
|
33640
33640
|
try {
|
|
33641
33641
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33759,7 +33759,7 @@ var Person = class Person extends Object$1 {
|
|
|
33759
33759
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33760
33760
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33761
33761
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33762
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33762
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33763
33763
|
let fetchResult;
|
|
33764
33764
|
try {
|
|
33765
33765
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33886,7 +33886,7 @@ var Person = class Person extends Object$1 {
|
|
|
33886
33886
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33887
33887
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33888
33888
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33889
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33889
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33890
33890
|
let fetchResult;
|
|
33891
33891
|
try {
|
|
33892
33892
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34011,7 +34011,7 @@ var Person = class Person extends Object$1 {
|
|
|
34011
34011
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34012
34012
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34013
34013
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34014
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34014
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34015
34015
|
let fetchResult;
|
|
34016
34016
|
try {
|
|
34017
34017
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34134,7 +34134,7 @@ var Person = class Person extends Object$1 {
|
|
|
34134
34134
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34135
34135
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34136
34136
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34137
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34137
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34138
34138
|
let fetchResult;
|
|
34139
34139
|
try {
|
|
34140
34140
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34257,7 +34257,7 @@ var Person = class Person extends Object$1 {
|
|
|
34257
34257
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34258
34258
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34259
34259
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34260
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34260
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34261
34261
|
let fetchResult;
|
|
34262
34262
|
try {
|
|
34263
34263
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34419,7 +34419,7 @@ var Person = class Person extends Object$1 {
|
|
|
34419
34419
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34420
34420
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34421
34421
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34422
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34422
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34423
34423
|
let fetchResult;
|
|
34424
34424
|
try {
|
|
34425
34425
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34585,7 +34585,7 @@ var Person = class Person extends Object$1 {
|
|
|
34585
34585
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34586
34586
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34587
34587
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34588
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34588
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34589
34589
|
let fetchResult;
|
|
34590
34590
|
try {
|
|
34591
34591
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34799,7 +34799,7 @@ var Person = class Person extends Object$1 {
|
|
|
34799
34799
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34800
34800
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34801
34801
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34802
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34802
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34803
34803
|
let fetchResult;
|
|
34804
34804
|
try {
|
|
34805
34805
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35484,7 +35484,7 @@ var Person = class Person extends Object$1 {
|
|
|
35484
35484
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35485
35485
|
*/
|
|
35486
35486
|
static async fromJsonLd(json, options = {}) {
|
|
35487
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
35487
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35488
35488
|
try {
|
|
35489
35489
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
35490
35490
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36227,7 +36227,7 @@ var Place = class Place extends Object$1 {
|
|
|
36227
36227
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36228
36228
|
*/
|
|
36229
36229
|
static async fromJsonLd(json, options = {}) {
|
|
36230
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
36230
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36231
36231
|
try {
|
|
36232
36232
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
36233
36233
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36418,7 +36418,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
36418
36418
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36419
36419
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36420
36420
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36421
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36421
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36422
36422
|
let fetchResult;
|
|
36423
36423
|
try {
|
|
36424
36424
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36619,7 +36619,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
36619
36619
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36620
36620
|
*/
|
|
36621
36621
|
static async fromJsonLd(json, options = {}) {
|
|
36622
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
36622
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36623
36623
|
try {
|
|
36624
36624
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
36625
36625
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36790,7 +36790,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
36790
36790
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36791
36791
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36792
36792
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36793
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36793
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36794
36794
|
let fetchResult;
|
|
36795
36795
|
try {
|
|
36796
36796
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36912,7 +36912,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
36912
36912
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36913
36913
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36914
36914
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36915
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36915
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36916
36916
|
let fetchResult;
|
|
36917
36917
|
try {
|
|
36918
36918
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37176,7 +37176,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
37176
37176
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37177
37177
|
*/
|
|
37178
37178
|
static async fromJsonLd(json, options = {}) {
|
|
37179
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
37179
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37180
37180
|
try {
|
|
37181
37181
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
37182
37182
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37403,7 +37403,7 @@ var Read = class Read extends Activity {
|
|
|
37403
37403
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37404
37404
|
*/
|
|
37405
37405
|
static async fromJsonLd(json, options = {}) {
|
|
37406
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
37406
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37407
37407
|
try {
|
|
37408
37408
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
37409
37409
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37552,7 +37552,7 @@ var Reject = class Reject extends Activity {
|
|
|
37552
37552
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37553
37553
|
*/
|
|
37554
37554
|
static async fromJsonLd(json, options = {}) {
|
|
37555
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
37555
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37556
37556
|
try {
|
|
37557
37557
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
37558
37558
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37725,7 +37725,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
37725
37725
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37726
37726
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37727
37727
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37728
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
37728
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37729
37729
|
let fetchResult;
|
|
37730
37730
|
try {
|
|
37731
37731
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37848,7 +37848,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
37848
37848
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37849
37849
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37850
37850
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37851
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
37851
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37852
37852
|
let fetchResult;
|
|
37853
37853
|
try {
|
|
37854
37854
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38010,7 +38010,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
38010
38010
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38011
38011
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38012
38012
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38013
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
38013
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38014
38014
|
let fetchResult;
|
|
38015
38015
|
try {
|
|
38016
38016
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38288,7 +38288,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
38288
38288
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38289
38289
|
*/
|
|
38290
38290
|
static async fromJsonLd(json, options = {}) {
|
|
38291
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
38291
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38292
38292
|
try {
|
|
38293
38293
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
38294
38294
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38497,7 +38497,7 @@ var Remove = class Remove extends Activity {
|
|
|
38497
38497
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38498
38498
|
*/
|
|
38499
38499
|
static async fromJsonLd(json, options = {}) {
|
|
38500
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
38500
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38501
38501
|
try {
|
|
38502
38502
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
38503
38503
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38892,7 +38892,7 @@ var Service = class Service extends Object$1 {
|
|
|
38892
38892
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38893
38893
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38894
38894
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38895
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
38895
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38896
38896
|
let fetchResult;
|
|
38897
38897
|
try {
|
|
38898
38898
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39054,7 +39054,7 @@ var Service = class Service extends Object$1 {
|
|
|
39054
39054
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39055
39055
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39056
39056
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39057
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39057
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39058
39058
|
let fetchResult;
|
|
39059
39059
|
try {
|
|
39060
39060
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39234,7 +39234,7 @@ var Service = class Service extends Object$1 {
|
|
|
39234
39234
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39235
39235
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39236
39236
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39237
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39237
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39238
39238
|
let fetchResult;
|
|
39239
39239
|
try {
|
|
39240
39240
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39376,7 +39376,7 @@ var Service = class Service extends Object$1 {
|
|
|
39376
39376
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39377
39377
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39378
39378
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39379
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39379
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39380
39380
|
let fetchResult;
|
|
39381
39381
|
try {
|
|
39382
39382
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39515,7 +39515,7 @@ var Service = class Service extends Object$1 {
|
|
|
39515
39515
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39516
39516
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39517
39517
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39518
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39518
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39519
39519
|
let fetchResult;
|
|
39520
39520
|
try {
|
|
39521
39521
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39639,7 +39639,7 @@ var Service = class Service extends Object$1 {
|
|
|
39639
39639
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39640
39640
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39641
39641
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39642
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39642
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39643
39643
|
let fetchResult;
|
|
39644
39644
|
try {
|
|
39645
39645
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39766,7 +39766,7 @@ var Service = class Service extends Object$1 {
|
|
|
39766
39766
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39767
39767
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39768
39768
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39769
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39769
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39770
39770
|
let fetchResult;
|
|
39771
39771
|
try {
|
|
39772
39772
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39891,7 +39891,7 @@ var Service = class Service extends Object$1 {
|
|
|
39891
39891
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39892
39892
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39893
39893
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39894
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39894
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39895
39895
|
let fetchResult;
|
|
39896
39896
|
try {
|
|
39897
39897
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40014,7 +40014,7 @@ var Service = class Service extends Object$1 {
|
|
|
40014
40014
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40015
40015
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40016
40016
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40017
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40017
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40018
40018
|
let fetchResult;
|
|
40019
40019
|
try {
|
|
40020
40020
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40137,7 +40137,7 @@ var Service = class Service extends Object$1 {
|
|
|
40137
40137
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40138
40138
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40139
40139
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40140
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40140
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40141
40141
|
let fetchResult;
|
|
40142
40142
|
try {
|
|
40143
40143
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40299,7 +40299,7 @@ var Service = class Service extends Object$1 {
|
|
|
40299
40299
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40300
40300
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40301
40301
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40302
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40302
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40303
40303
|
let fetchResult;
|
|
40304
40304
|
try {
|
|
40305
40305
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40465,7 +40465,7 @@ var Service = class Service extends Object$1 {
|
|
|
40465
40465
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40466
40466
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40467
40467
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40468
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40468
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40469
40469
|
let fetchResult;
|
|
40470
40470
|
try {
|
|
40471
40471
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40679,7 +40679,7 @@ var Service = class Service extends Object$1 {
|
|
|
40679
40679
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40680
40680
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40681
40681
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40682
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40682
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40683
40683
|
let fetchResult;
|
|
40684
40684
|
try {
|
|
40685
40685
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41364,7 +41364,7 @@ var Service = class Service extends Object$1 {
|
|
|
41364
41364
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41365
41365
|
*/
|
|
41366
41366
|
static async fromJsonLd(json, options = {}) {
|
|
41367
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
41367
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41368
41368
|
try {
|
|
41369
41369
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
41370
41370
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42012,7 +42012,7 @@ var Source = class {
|
|
|
42012
42012
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42013
42013
|
*/
|
|
42014
42014
|
static async fromJsonLd(json, options = {}) {
|
|
42015
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42015
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42016
42016
|
try {
|
|
42017
42017
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
42018
42018
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42188,7 +42188,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
42188
42188
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42189
42189
|
*/
|
|
42190
42190
|
static async fromJsonLd(json, options = {}) {
|
|
42191
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42191
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42192
42192
|
try {
|
|
42193
42193
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
42194
42194
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42337,7 +42337,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
42337
42337
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42338
42338
|
*/
|
|
42339
42339
|
static async fromJsonLd(json, options = {}) {
|
|
42340
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42340
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42341
42341
|
try {
|
|
42342
42342
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
42343
42343
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42532,7 +42532,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
42532
42532
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42533
42533
|
*/
|
|
42534
42534
|
static async fromJsonLd(json, options = {}) {
|
|
42535
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42535
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42536
42536
|
try {
|
|
42537
42537
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
42538
42538
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42696,7 +42696,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
42696
42696
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42697
42697
|
*/
|
|
42698
42698
|
static async fromJsonLd(json, options = {}) {
|
|
42699
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42699
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42700
42700
|
try {
|
|
42701
42701
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
42702
42702
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42859,7 +42859,7 @@ var Undo = class Undo extends Activity {
|
|
|
42859
42859
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42860
42860
|
*/
|
|
42861
42861
|
static async fromJsonLd(json, options = {}) {
|
|
42862
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42862
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42863
42863
|
try {
|
|
42864
42864
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
42865
42865
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43060,7 +43060,7 @@ var Update = class Update extends Activity {
|
|
|
43060
43060
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43061
43061
|
*/
|
|
43062
43062
|
static async fromJsonLd(json, options = {}) {
|
|
43063
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
43063
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43064
43064
|
try {
|
|
43065
43065
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
43066
43066
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43222,7 +43222,7 @@ var Video = class Video extends Document {
|
|
|
43222
43222
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43223
43223
|
*/
|
|
43224
43224
|
static async fromJsonLd(json, options = {}) {
|
|
43225
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
43225
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43226
43226
|
try {
|
|
43227
43227
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
43228
43228
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43370,7 +43370,7 @@ var View = class View extends Activity {
|
|
|
43370
43370
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43371
43371
|
*/
|
|
43372
43372
|
static async fromJsonLd(json, options = {}) {
|
|
43373
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
43373
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.16").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43374
43374
|
try {
|
|
43375
43375
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
43376
43376
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|