@fedify/vocab 2.1.2 → 2.1.3
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-Cb1qyeNy.mjs → deno-DW1_1YTc.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-uS-D0TBY.mjs → vocab-7uCD77Gl.mjs} +201 -201
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
|
@@ -768,7 +768,7 @@ var Object$1 = class Object$1 {
|
|
|
768
768
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
769
769
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
770
770
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
771
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
771
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
772
772
|
let fetchResult;
|
|
773
773
|
try {
|
|
774
774
|
fetchResult = await documentLoader(url.href);
|
|
@@ -914,7 +914,7 @@ var Object$1 = class Object$1 {
|
|
|
914
914
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
915
915
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
916
916
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
917
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
917
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
918
918
|
let fetchResult;
|
|
919
919
|
try {
|
|
920
920
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1126,7 +1126,7 @@ var Object$1 = class Object$1 {
|
|
|
1126
1126
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1127
1127
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1128
1128
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1129
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1129
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1130
1130
|
let fetchResult;
|
|
1131
1131
|
try {
|
|
1132
1132
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1310,7 +1310,7 @@ var Object$1 = class Object$1 {
|
|
|
1310
1310
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1311
1311
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1312
1312
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1313
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1313
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1314
1314
|
let fetchResult;
|
|
1315
1315
|
try {
|
|
1316
1316
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1472,7 +1472,7 @@ var Object$1 = class Object$1 {
|
|
|
1472
1472
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1473
1473
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1474
1474
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1475
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1475
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1476
1476
|
let fetchResult;
|
|
1477
1477
|
try {
|
|
1478
1478
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1602,7 +1602,7 @@ var Object$1 = class Object$1 {
|
|
|
1602
1602
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1603
1603
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1604
1604
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1605
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1605
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1606
1606
|
let fetchResult;
|
|
1607
1607
|
try {
|
|
1608
1608
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1768,7 +1768,7 @@ var Object$1 = class Object$1 {
|
|
|
1768
1768
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1769
1769
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1770
1770
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1771
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1771
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1772
1772
|
let fetchResult;
|
|
1773
1773
|
try {
|
|
1774
1774
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1934,7 +1934,7 @@ var Object$1 = class Object$1 {
|
|
|
1934
1934
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1935
1935
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1936
1936
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1937
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1937
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1938
1938
|
let fetchResult;
|
|
1939
1939
|
try {
|
|
1940
1940
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2108,7 +2108,7 @@ var Object$1 = class Object$1 {
|
|
|
2108
2108
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2109
2109
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2110
2110
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2111
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2111
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2112
2112
|
let fetchResult;
|
|
2113
2113
|
try {
|
|
2114
2114
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2282,7 +2282,7 @@ var Object$1 = class Object$1 {
|
|
|
2282
2282
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2283
2283
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2284
2284
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2285
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2285
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2286
2286
|
let fetchResult;
|
|
2287
2287
|
try {
|
|
2288
2288
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2461,7 +2461,7 @@ var Object$1 = class Object$1 {
|
|
|
2461
2461
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2462
2462
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2463
2463
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2464
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2464
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2465
2465
|
let fetchResult;
|
|
2466
2466
|
try {
|
|
2467
2467
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2582,7 +2582,7 @@ var Object$1 = class Object$1 {
|
|
|
2582
2582
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2583
2583
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2584
2584
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2585
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2585
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2586
2586
|
let fetchResult;
|
|
2587
2587
|
try {
|
|
2588
2588
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2709,7 +2709,7 @@ var Object$1 = class Object$1 {
|
|
|
2709
2709
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2710
2710
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2711
2711
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2712
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2712
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2713
2713
|
let fetchResult;
|
|
2714
2714
|
try {
|
|
2715
2715
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2836,7 +2836,7 @@ var Object$1 = class Object$1 {
|
|
|
2836
2836
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2837
2837
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2838
2838
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2839
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2839
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2840
2840
|
let fetchResult;
|
|
2841
2841
|
try {
|
|
2842
2842
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2981,7 +2981,7 @@ var Object$1 = class Object$1 {
|
|
|
2981
2981
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2982
2982
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2983
2983
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2984
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2984
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2985
2985
|
let fetchResult;
|
|
2986
2986
|
try {
|
|
2987
2987
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3133,7 +3133,7 @@ var Object$1 = class Object$1 {
|
|
|
3133
3133
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3134
3134
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3135
3135
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3136
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3136
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3137
3137
|
let fetchResult;
|
|
3138
3138
|
try {
|
|
3139
3139
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3297,7 +3297,7 @@ var Object$1 = class Object$1 {
|
|
|
3297
3297
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3298
3298
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3299
3299
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3300
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3300
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3301
3301
|
let fetchResult;
|
|
3302
3302
|
try {
|
|
3303
3303
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3461,7 +3461,7 @@ var Object$1 = class Object$1 {
|
|
|
3461
3461
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3462
3462
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3463
3463
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3464
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3464
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3465
3465
|
let fetchResult;
|
|
3466
3466
|
try {
|
|
3467
3467
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3625,7 +3625,7 @@ var Object$1 = class Object$1 {
|
|
|
3625
3625
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3626
3626
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3627
3627
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3628
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3628
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3629
3629
|
let fetchResult;
|
|
3630
3630
|
try {
|
|
3631
3631
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3826,7 +3826,7 @@ var Object$1 = class Object$1 {
|
|
|
3826
3826
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3827
3827
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3828
3828
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3829
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3829
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3830
3830
|
let fetchResult;
|
|
3831
3831
|
try {
|
|
3832
3832
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4013,7 +4013,7 @@ var Object$1 = class Object$1 {
|
|
|
4013
4013
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4014
4014
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4015
4015
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4016
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4016
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4017
4017
|
let fetchResult;
|
|
4018
4018
|
try {
|
|
4019
4019
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4134,7 +4134,7 @@ var Object$1 = class Object$1 {
|
|
|
4134
4134
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4135
4135
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4136
4136
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4137
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4137
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4138
4138
|
let fetchResult;
|
|
4139
4139
|
try {
|
|
4140
4140
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4255,7 +4255,7 @@ var Object$1 = class Object$1 {
|
|
|
4255
4255
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4256
4256
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4257
4257
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4258
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4258
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4259
4259
|
let fetchResult;
|
|
4260
4260
|
try {
|
|
4261
4261
|
fetchResult = await documentLoader(url.href);
|
|
@@ -5082,7 +5082,7 @@ var Object$1 = class Object$1 {
|
|
|
5082
5082
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5083
5083
|
*/
|
|
5084
5084
|
static async fromJsonLd(json, options = {}) {
|
|
5085
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
5085
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5086
5086
|
try {
|
|
5087
5087
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
5088
5088
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6458,7 +6458,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
6458
6458
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6459
6459
|
*/
|
|
6460
6460
|
static async fromJsonLd(json, options = {}) {
|
|
6461
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
6461
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6462
6462
|
try {
|
|
6463
6463
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
6464
6464
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6697,7 +6697,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6697
6697
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6698
6698
|
*/
|
|
6699
6699
|
static async fromJsonLd(json, options = {}) {
|
|
6700
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
6700
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6701
6701
|
try {
|
|
6702
6702
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
6703
6703
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6978,7 +6978,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6978
6978
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6979
6979
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6980
6980
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6981
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
6981
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6982
6982
|
let fetchResult;
|
|
6983
6983
|
try {
|
|
6984
6984
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7190,7 +7190,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7190
7190
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7191
7191
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7192
7192
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7193
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7193
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7194
7194
|
let fetchResult;
|
|
7195
7195
|
try {
|
|
7196
7196
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7356,7 +7356,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7356
7356
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7357
7357
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7358
7358
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7359
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7359
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7360
7360
|
let fetchResult;
|
|
7361
7361
|
try {
|
|
7362
7362
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7528,7 +7528,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7528
7528
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7529
7529
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7530
7530
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7531
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7531
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7532
7532
|
let fetchResult;
|
|
7533
7533
|
try {
|
|
7534
7534
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7694,7 +7694,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7694
7694
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7695
7695
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7696
7696
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7697
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7697
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7698
7698
|
let fetchResult;
|
|
7699
7699
|
try {
|
|
7700
7700
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7862,7 +7862,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7862
7862
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7863
7863
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7864
7864
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7865
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7865
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7866
7866
|
let fetchResult;
|
|
7867
7867
|
try {
|
|
7868
7868
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8113,7 +8113,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8113
8113
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8114
8114
|
*/
|
|
8115
8115
|
static async fromJsonLd(json, options = {}) {
|
|
8116
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
8116
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8117
8117
|
try {
|
|
8118
8118
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
8119
8119
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8435,7 +8435,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
8435
8435
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8436
8436
|
*/
|
|
8437
8437
|
static async fromJsonLd(json, options = {}) {
|
|
8438
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
8438
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8439
8439
|
try {
|
|
8440
8440
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
8441
8441
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8681,7 +8681,7 @@ var PropertyValue = class {
|
|
|
8681
8681
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8682
8682
|
*/
|
|
8683
8683
|
static async fromJsonLd(json, options = {}) {
|
|
8684
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
8684
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8685
8685
|
try {
|
|
8686
8686
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
8687
8687
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8841,7 +8841,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
8841
8841
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8842
8842
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8843
8843
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8844
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
8844
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8845
8845
|
let fetchResult;
|
|
8846
8846
|
try {
|
|
8847
8847
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8962,7 +8962,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
8962
8962
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8963
8963
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8964
8964
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8965
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
8965
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8966
8966
|
let fetchResult;
|
|
8967
8967
|
try {
|
|
8968
8968
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9178,7 +9178,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9178
9178
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9179
9179
|
*/
|
|
9180
9180
|
static async fromJsonLd(json, options = {}) {
|
|
9181
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9181
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9182
9182
|
try {
|
|
9183
9183
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
9184
9184
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9375,7 +9375,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
9375
9375
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9376
9376
|
*/
|
|
9377
9377
|
static async fromJsonLd(json, options = {}) {
|
|
9378
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9378
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9379
9379
|
try {
|
|
9380
9380
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
9381
9381
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9615,7 +9615,7 @@ var InteractionPolicy = class {
|
|
|
9615
9615
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9616
9616
|
*/
|
|
9617
9617
|
static async fromJsonLd(json, options = {}) {
|
|
9618
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9618
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9619
9619
|
try {
|
|
9620
9620
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
9621
9621
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9917,7 +9917,7 @@ var InteractionRule = class {
|
|
|
9917
9917
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9918
9918
|
*/
|
|
9919
9919
|
static async fromJsonLd(json, options = {}) {
|
|
9920
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9920
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9921
9921
|
try {
|
|
9922
9922
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
9923
9923
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10074,7 +10074,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10074
10074
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10075
10075
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10076
10076
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10077
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10077
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10078
10078
|
let fetchResult;
|
|
10079
10079
|
try {
|
|
10080
10080
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10195,7 +10195,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10195
10195
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10196
10196
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10197
10197
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10198
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10198
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10199
10199
|
let fetchResult;
|
|
10200
10200
|
try {
|
|
10201
10201
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10411,7 +10411,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10411
10411
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10412
10412
|
*/
|
|
10413
10413
|
static async fromJsonLd(json, options = {}) {
|
|
10414
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
10414
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10415
10415
|
try {
|
|
10416
10416
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
10417
10417
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10607,7 +10607,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
10607
10607
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10608
10608
|
*/
|
|
10609
10609
|
static async fromJsonLd(json, options = {}) {
|
|
10610
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
10610
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10611
10611
|
try {
|
|
10612
10612
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
10613
10613
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10738,7 +10738,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
10738
10738
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10739
10739
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10740
10740
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10741
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10741
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10742
10742
|
let fetchResult;
|
|
10743
10743
|
try {
|
|
10744
10744
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10859,7 +10859,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
10859
10859
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10860
10860
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10861
10861
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10862
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10862
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10863
10863
|
let fetchResult;
|
|
10864
10864
|
try {
|
|
10865
10865
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11075,7 +11075,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11075
11075
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11076
11076
|
*/
|
|
11077
11077
|
static async fromJsonLd(json, options = {}) {
|
|
11078
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11078
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11079
11079
|
try {
|
|
11080
11080
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
11081
11081
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11271,7 +11271,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
11271
11271
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11272
11272
|
*/
|
|
11273
11273
|
static async fromJsonLd(json, options = {}) {
|
|
11274
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11274
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11275
11275
|
try {
|
|
11276
11276
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
11277
11277
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11477,7 +11477,7 @@ var DidService = class {
|
|
|
11477
11477
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11478
11478
|
*/
|
|
11479
11479
|
static async fromJsonLd(json, options = {}) {
|
|
11480
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11480
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11481
11481
|
try {
|
|
11482
11482
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
11483
11483
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11631,7 +11631,7 @@ var Export = class Export extends DidService {
|
|
|
11631
11631
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11632
11632
|
*/
|
|
11633
11633
|
static async fromJsonLd(json, options = {}) {
|
|
11634
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11634
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11635
11635
|
try {
|
|
11636
11636
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
11637
11637
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11804,7 +11804,7 @@ var DataIntegrityProof = class {
|
|
|
11804
11804
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11805
11805
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11806
11806
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11807
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
11807
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11808
11808
|
let fetchResult;
|
|
11809
11809
|
try {
|
|
11810
11810
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12023,7 +12023,7 @@ var DataIntegrityProof = class {
|
|
|
12023
12023
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12024
12024
|
*/
|
|
12025
12025
|
static async fromJsonLd(json, options = {}) {
|
|
12026
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12026
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12027
12027
|
try {
|
|
12028
12028
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
12029
12029
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12237,7 +12237,7 @@ var CryptographicKey = class {
|
|
|
12237
12237
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12238
12238
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12239
12239
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12240
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
12240
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12241
12241
|
let fetchResult;
|
|
12242
12242
|
try {
|
|
12243
12243
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12499,7 +12499,7 @@ var CryptographicKey = class {
|
|
|
12499
12499
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12500
12500
|
*/
|
|
12501
12501
|
static async fromJsonLd(json, options = {}) {
|
|
12502
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12502
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12503
12503
|
try {
|
|
12504
12504
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
12505
12505
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12694,7 +12694,7 @@ var Multikey = class {
|
|
|
12694
12694
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12695
12695
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12696
12696
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12697
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
12697
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12698
12698
|
let fetchResult;
|
|
12699
12699
|
try {
|
|
12700
12700
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12962,7 +12962,7 @@ var Multikey = class {
|
|
|
12962
12962
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12963
12963
|
*/
|
|
12964
12964
|
static async fromJsonLd(json, options = {}) {
|
|
12965
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12965
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12966
12966
|
try {
|
|
12967
12967
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
12968
12968
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13157,7 +13157,7 @@ var Accept = class Accept extends Activity {
|
|
|
13157
13157
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13158
13158
|
*/
|
|
13159
13159
|
static async fromJsonLd(json, options = {}) {
|
|
13160
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13160
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13161
13161
|
try {
|
|
13162
13162
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
13163
13163
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13309,7 +13309,7 @@ var Add = class Add extends Activity {
|
|
|
13309
13309
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13310
13310
|
*/
|
|
13311
13311
|
static async fromJsonLd(json, options = {}) {
|
|
13312
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13312
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13313
13313
|
try {
|
|
13314
13314
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
13315
13315
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13478,7 +13478,7 @@ var Announce = class Announce extends Activity {
|
|
|
13478
13478
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13479
13479
|
*/
|
|
13480
13480
|
static async fromJsonLd(json, options = {}) {
|
|
13481
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13481
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13482
13482
|
try {
|
|
13483
13483
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
13484
13484
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13873,7 +13873,7 @@ var Application = class Application extends Object$1 {
|
|
|
13873
13873
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13874
13874
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13875
13875
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13876
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
13876
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13877
13877
|
let fetchResult;
|
|
13878
13878
|
try {
|
|
13879
13879
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14035,7 +14035,7 @@ var Application = class Application extends Object$1 {
|
|
|
14035
14035
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14036
14036
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14037
14037
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14038
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14038
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14039
14039
|
let fetchResult;
|
|
14040
14040
|
try {
|
|
14041
14041
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14215,7 +14215,7 @@ var Application = class Application extends Object$1 {
|
|
|
14215
14215
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14216
14216
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14217
14217
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14218
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14218
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14219
14219
|
let fetchResult;
|
|
14220
14220
|
try {
|
|
14221
14221
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14357,7 +14357,7 @@ var Application = class Application extends Object$1 {
|
|
|
14357
14357
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14358
14358
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14359
14359
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14360
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14360
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14361
14361
|
let fetchResult;
|
|
14362
14362
|
try {
|
|
14363
14363
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14496,7 +14496,7 @@ var Application = class Application extends Object$1 {
|
|
|
14496
14496
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14497
14497
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14498
14498
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14499
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14499
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14500
14500
|
let fetchResult;
|
|
14501
14501
|
try {
|
|
14502
14502
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14620,7 +14620,7 @@ var Application = class Application extends Object$1 {
|
|
|
14620
14620
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14621
14621
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14622
14622
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14623
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14623
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14624
14624
|
let fetchResult;
|
|
14625
14625
|
try {
|
|
14626
14626
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14747,7 +14747,7 @@ var Application = class Application extends Object$1 {
|
|
|
14747
14747
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14748
14748
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14749
14749
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14750
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14750
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14751
14751
|
let fetchResult;
|
|
14752
14752
|
try {
|
|
14753
14753
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14872,7 +14872,7 @@ var Application = class Application extends Object$1 {
|
|
|
14872
14872
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14873
14873
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14874
14874
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14875
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14875
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14876
14876
|
let fetchResult;
|
|
14877
14877
|
try {
|
|
14878
14878
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14995,7 +14995,7 @@ var Application = class Application extends Object$1 {
|
|
|
14995
14995
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14996
14996
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14997
14997
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14998
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14998
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14999
14999
|
let fetchResult;
|
|
15000
15000
|
try {
|
|
15001
15001
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15118,7 +15118,7 @@ var Application = class Application extends Object$1 {
|
|
|
15118
15118
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15119
15119
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15120
15120
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15121
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15121
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15122
15122
|
let fetchResult;
|
|
15123
15123
|
try {
|
|
15124
15124
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15280,7 +15280,7 @@ var Application = class Application extends Object$1 {
|
|
|
15280
15280
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15281
15281
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15282
15282
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15283
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15283
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15284
15284
|
let fetchResult;
|
|
15285
15285
|
try {
|
|
15286
15286
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15446,7 +15446,7 @@ var Application = class Application extends Object$1 {
|
|
|
15446
15446
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15447
15447
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15448
15448
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15449
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15449
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15450
15450
|
let fetchResult;
|
|
15451
15451
|
try {
|
|
15452
15452
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15660,7 +15660,7 @@ var Application = class Application extends Object$1 {
|
|
|
15660
15660
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15661
15661
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15662
15662
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15663
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15663
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15664
15664
|
let fetchResult;
|
|
15665
15665
|
try {
|
|
15666
15666
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16345,7 +16345,7 @@ var Application = class Application extends Object$1 {
|
|
|
16345
16345
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16346
16346
|
*/
|
|
16347
16347
|
static async fromJsonLd(json, options = {}) {
|
|
16348
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
16348
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16349
16349
|
try {
|
|
16350
16350
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
16351
16351
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16899,7 +16899,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
16899
16899
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16900
16900
|
*/
|
|
16901
16901
|
static async fromJsonLd(json, options = {}) {
|
|
16902
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
16902
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16903
16903
|
try {
|
|
16904
16904
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
16905
16905
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17052,7 +17052,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
17052
17052
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17053
17053
|
*/
|
|
17054
17054
|
static async fromJsonLd(json, options = {}) {
|
|
17055
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17055
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17056
17056
|
try {
|
|
17057
17057
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
17058
17058
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17289,7 +17289,7 @@ var Article = class Article extends Object$1 {
|
|
|
17289
17289
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17290
17290
|
*/
|
|
17291
17291
|
static async fromJsonLd(json, options = {}) {
|
|
17292
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17292
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17293
17293
|
try {
|
|
17294
17294
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
17295
17295
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17526,7 +17526,7 @@ var Document = class Document extends Object$1 {
|
|
|
17526
17526
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17527
17527
|
*/
|
|
17528
17528
|
static async fromJsonLd(json, options = {}) {
|
|
17529
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17529
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17530
17530
|
try {
|
|
17531
17531
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
17532
17532
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17717,7 +17717,7 @@ var Audio = class Audio extends Document {
|
|
|
17717
17717
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17718
17718
|
*/
|
|
17719
17719
|
static async fromJsonLd(json, options = {}) {
|
|
17720
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17720
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17721
17721
|
try {
|
|
17722
17722
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
17723
17723
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17866,7 +17866,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
17866
17866
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17867
17867
|
*/
|
|
17868
17868
|
static async fromJsonLd(json, options = {}) {
|
|
17869
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17869
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17870
17870
|
try {
|
|
17871
17871
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
17872
17872
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18018,7 +18018,7 @@ var Block = class Block extends Ignore {
|
|
|
18018
18018
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18019
18019
|
*/
|
|
18020
18020
|
static async fromJsonLd(json, options = {}) {
|
|
18021
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18021
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18022
18022
|
try {
|
|
18023
18023
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
18024
18024
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18282,7 +18282,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18282
18282
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18283
18283
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18284
18284
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18285
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18285
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18286
18286
|
let fetchResult;
|
|
18287
18287
|
try {
|
|
18288
18288
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18403,7 +18403,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18403
18403
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18404
18404
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18405
18405
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18406
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18406
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18407
18407
|
let fetchResult;
|
|
18408
18408
|
try {
|
|
18409
18409
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18524,7 +18524,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18524
18524
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18525
18525
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18526
18526
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18527
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18527
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18528
18528
|
let fetchResult;
|
|
18529
18529
|
try {
|
|
18530
18530
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18645,7 +18645,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18645
18645
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18646
18646
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18647
18647
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18648
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18648
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18649
18649
|
let fetchResult;
|
|
18650
18650
|
try {
|
|
18651
18651
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18776,7 +18776,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18776
18776
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18777
18777
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18778
18778
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18779
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18779
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18780
18780
|
let fetchResult;
|
|
18781
18781
|
try {
|
|
18782
18782
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18896,7 +18896,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18896
18896
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18897
18897
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18898
18898
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18899
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18899
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18900
18900
|
let fetchResult;
|
|
18901
18901
|
try {
|
|
18902
18902
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19016,7 +19016,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19016
19016
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19017
19017
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19018
19018
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19019
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19019
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19020
19020
|
let fetchResult;
|
|
19021
19021
|
try {
|
|
19022
19022
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19136,7 +19136,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19136
19136
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19137
19137
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19138
19138
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19139
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19139
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19140
19140
|
let fetchResult;
|
|
19141
19141
|
try {
|
|
19142
19142
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19256,7 +19256,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19256
19256
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19257
19257
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19258
19258
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19259
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19259
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19260
19260
|
let fetchResult;
|
|
19261
19261
|
try {
|
|
19262
19262
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19376,7 +19376,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19376
19376
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19377
19377
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19378
19378
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19379
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19379
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19380
19380
|
let fetchResult;
|
|
19381
19381
|
try {
|
|
19382
19382
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19496,7 +19496,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19496
19496
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19497
19497
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19498
19498
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19499
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19499
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19500
19500
|
let fetchResult;
|
|
19501
19501
|
try {
|
|
19502
19502
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19616,7 +19616,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19616
19616
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19617
19617
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19618
19618
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19619
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19619
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19620
19620
|
let fetchResult;
|
|
19621
19621
|
try {
|
|
19622
19622
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20045,7 +20045,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20045
20045
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20046
20046
|
*/
|
|
20047
20047
|
static async fromJsonLd(json, options = {}) {
|
|
20048
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
20048
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20049
20049
|
try {
|
|
20050
20050
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
20051
20051
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20498,7 +20498,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
20498
20498
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20499
20499
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20500
20500
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20501
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20501
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20502
20502
|
let fetchResult;
|
|
20503
20503
|
try {
|
|
20504
20504
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20619,7 +20619,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
20619
20619
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20620
20620
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20621
20621
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20622
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20622
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20623
20623
|
let fetchResult;
|
|
20624
20624
|
try {
|
|
20625
20625
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20739,7 +20739,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
20739
20739
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20740
20740
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20741
20741
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20742
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20742
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20743
20743
|
let fetchResult;
|
|
20744
20744
|
try {
|
|
20745
20745
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21005,7 +21005,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
21005
21005
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21006
21006
|
*/
|
|
21007
21007
|
static async fromJsonLd(json, options = {}) {
|
|
21008
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21008
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21009
21009
|
try {
|
|
21010
21010
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
21011
21011
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21232,7 +21232,7 @@ var Create = class Create extends Activity {
|
|
|
21232
21232
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21233
21233
|
*/
|
|
21234
21234
|
static async fromJsonLd(json, options = {}) {
|
|
21235
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21235
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21236
21236
|
try {
|
|
21237
21237
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
21238
21238
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21397,7 +21397,7 @@ var Delete = class Delete extends Activity {
|
|
|
21397
21397
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21398
21398
|
*/
|
|
21399
21399
|
static async fromJsonLd(json, options = {}) {
|
|
21400
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21400
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21401
21401
|
try {
|
|
21402
21402
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
21403
21403
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21549,7 +21549,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
21549
21549
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21550
21550
|
*/
|
|
21551
21551
|
static async fromJsonLd(json, options = {}) {
|
|
21552
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21552
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21553
21553
|
try {
|
|
21554
21554
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
21555
21555
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21894,7 +21894,7 @@ var Endpoints = class {
|
|
|
21894
21894
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21895
21895
|
*/
|
|
21896
21896
|
static async fromJsonLd(json, options = {}) {
|
|
21897
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21897
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21898
21898
|
try {
|
|
21899
21899
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
21900
21900
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22128,7 +22128,7 @@ var Event = class Event extends Object$1 {
|
|
|
22128
22128
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22129
22129
|
*/
|
|
22130
22130
|
static async fromJsonLd(json, options = {}) {
|
|
22131
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22131
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22132
22132
|
try {
|
|
22133
22133
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
22134
22134
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22278,7 +22278,7 @@ var Flag = class Flag extends Activity {
|
|
|
22278
22278
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22279
22279
|
*/
|
|
22280
22280
|
static async fromJsonLd(json, options = {}) {
|
|
22281
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22281
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22282
22282
|
try {
|
|
22283
22283
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
22284
22284
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22432,7 +22432,7 @@ var Follow = class Follow extends Activity {
|
|
|
22432
22432
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22433
22433
|
*/
|
|
22434
22434
|
static async fromJsonLd(json, options = {}) {
|
|
22435
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22435
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22436
22436
|
try {
|
|
22437
22437
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
22438
22438
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22827,7 +22827,7 @@ var Group = class Group extends Object$1 {
|
|
|
22827
22827
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22828
22828
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22829
22829
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22830
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
22830
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22831
22831
|
let fetchResult;
|
|
22832
22832
|
try {
|
|
22833
22833
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22989,7 +22989,7 @@ var Group = class Group extends Object$1 {
|
|
|
22989
22989
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22990
22990
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22991
22991
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22992
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
22992
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22993
22993
|
let fetchResult;
|
|
22994
22994
|
try {
|
|
22995
22995
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23169,7 +23169,7 @@ var Group = class Group extends Object$1 {
|
|
|
23169
23169
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23170
23170
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23171
23171
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23172
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23172
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23173
23173
|
let fetchResult;
|
|
23174
23174
|
try {
|
|
23175
23175
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23311,7 +23311,7 @@ var Group = class Group extends Object$1 {
|
|
|
23311
23311
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23312
23312
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23313
23313
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23314
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23314
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23315
23315
|
let fetchResult;
|
|
23316
23316
|
try {
|
|
23317
23317
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23450,7 +23450,7 @@ var Group = class Group extends Object$1 {
|
|
|
23450
23450
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23451
23451
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23452
23452
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23453
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23453
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23454
23454
|
let fetchResult;
|
|
23455
23455
|
try {
|
|
23456
23456
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23574,7 +23574,7 @@ var Group = class Group extends Object$1 {
|
|
|
23574
23574
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23575
23575
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23576
23576
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23577
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23577
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23578
23578
|
let fetchResult;
|
|
23579
23579
|
try {
|
|
23580
23580
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23701,7 +23701,7 @@ var Group = class Group extends Object$1 {
|
|
|
23701
23701
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23702
23702
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23703
23703
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23704
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23704
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23705
23705
|
let fetchResult;
|
|
23706
23706
|
try {
|
|
23707
23707
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23826,7 +23826,7 @@ var Group = class Group extends Object$1 {
|
|
|
23826
23826
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23827
23827
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23828
23828
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23829
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23829
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23830
23830
|
let fetchResult;
|
|
23831
23831
|
try {
|
|
23832
23832
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23949,7 +23949,7 @@ var Group = class Group extends Object$1 {
|
|
|
23949
23949
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23950
23950
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23951
23951
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23952
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23952
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23953
23953
|
let fetchResult;
|
|
23954
23954
|
try {
|
|
23955
23955
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24072,7 +24072,7 @@ var Group = class Group extends Object$1 {
|
|
|
24072
24072
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24073
24073
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24074
24074
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24075
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24075
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24076
24076
|
let fetchResult;
|
|
24077
24077
|
try {
|
|
24078
24078
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24234,7 +24234,7 @@ var Group = class Group extends Object$1 {
|
|
|
24234
24234
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24235
24235
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24236
24236
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24237
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24237
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24238
24238
|
let fetchResult;
|
|
24239
24239
|
try {
|
|
24240
24240
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24400,7 +24400,7 @@ var Group = class Group extends Object$1 {
|
|
|
24400
24400
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24401
24401
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24402
24402
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24403
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24403
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24404
24404
|
let fetchResult;
|
|
24405
24405
|
try {
|
|
24406
24406
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24614,7 +24614,7 @@ var Group = class Group extends Object$1 {
|
|
|
24614
24614
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24615
24615
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24616
24616
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24617
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24617
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24618
24618
|
let fetchResult;
|
|
24619
24619
|
try {
|
|
24620
24620
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25299,7 +25299,7 @@ var Group = class Group extends Object$1 {
|
|
|
25299
25299
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25300
25300
|
*/
|
|
25301
25301
|
static async fromJsonLd(json, options = {}) {
|
|
25302
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
25302
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25303
25303
|
try {
|
|
25304
25304
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
25305
25305
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25991,7 +25991,7 @@ var Link = class Link {
|
|
|
25991
25991
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25992
25992
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25993
25993
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25994
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25994
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25995
25995
|
let fetchResult;
|
|
25996
25996
|
try {
|
|
25997
25997
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26283,7 +26283,7 @@ var Link = class Link {
|
|
|
26283
26283
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26284
26284
|
*/
|
|
26285
26285
|
static async fromJsonLd(json, options = {}) {
|
|
26286
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
26286
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26287
26287
|
try {
|
|
26288
26288
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
26289
26289
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26616,7 +26616,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
26616
26616
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26617
26617
|
*/
|
|
26618
26618
|
static async fromJsonLd(json, options = {}) {
|
|
26619
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
26619
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26620
26620
|
try {
|
|
26621
26621
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
26622
26622
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26778,7 +26778,7 @@ var Image = class Image extends Document {
|
|
|
26778
26778
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26779
26779
|
*/
|
|
26780
26780
|
static async fromJsonLd(json, options = {}) {
|
|
26781
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
26781
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26782
26782
|
try {
|
|
26783
26783
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
26784
26784
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26928,7 +26928,7 @@ var Offer = class Offer extends Activity {
|
|
|
26928
26928
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26929
26929
|
*/
|
|
26930
26930
|
static async fromJsonLd(json, options = {}) {
|
|
26931
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
26931
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26932
26932
|
try {
|
|
26933
26933
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
26934
26934
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27078,7 +27078,7 @@ var Invite = class Invite extends Offer {
|
|
|
27078
27078
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27079
27079
|
*/
|
|
27080
27080
|
static async fromJsonLd(json, options = {}) {
|
|
27081
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27081
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27082
27082
|
try {
|
|
27083
27083
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
27084
27084
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27227,7 +27227,7 @@ var Join = class Join extends Activity {
|
|
|
27227
27227
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27228
27228
|
*/
|
|
27229
27229
|
static async fromJsonLd(json, options = {}) {
|
|
27230
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27230
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27231
27231
|
try {
|
|
27232
27232
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
27233
27233
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27376,7 +27376,7 @@ var Leave = class Leave extends Activity {
|
|
|
27376
27376
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27377
27377
|
*/
|
|
27378
27378
|
static async fromJsonLd(json, options = {}) {
|
|
27379
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27379
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27380
27380
|
try {
|
|
27381
27381
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
27382
27382
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27529,7 +27529,7 @@ var Like = class Like extends Activity {
|
|
|
27529
27529
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27530
27530
|
*/
|
|
27531
27531
|
static async fromJsonLd(json, options = {}) {
|
|
27532
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27532
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27533
27533
|
try {
|
|
27534
27534
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
27535
27535
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27677,7 +27677,7 @@ var Listen = class Listen extends Activity {
|
|
|
27677
27677
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27678
27678
|
*/
|
|
27679
27679
|
static async fromJsonLd(json, options = {}) {
|
|
27680
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27680
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27681
27681
|
try {
|
|
27682
27682
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
27683
27683
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27828,7 +27828,7 @@ var Mention = class Mention extends Link {
|
|
|
27828
27828
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27829
27829
|
*/
|
|
27830
27830
|
static async fromJsonLd(json, options = {}) {
|
|
27831
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27831
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27832
27832
|
try {
|
|
27833
27833
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
27834
27834
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27978,7 +27978,7 @@ var Move = class Move extends Activity {
|
|
|
27978
27978
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27979
27979
|
*/
|
|
27980
27980
|
static async fromJsonLd(json, options = {}) {
|
|
27981
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27981
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27982
27982
|
try {
|
|
27983
27983
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
27984
27984
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28216,7 +28216,7 @@ var Note = class Note extends Object$1 {
|
|
|
28216
28216
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28217
28217
|
*/
|
|
28218
28218
|
static async fromJsonLd(json, options = {}) {
|
|
28219
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28219
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28220
28220
|
try {
|
|
28221
28221
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
28222
28222
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28345,7 +28345,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
28345
28345
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28346
28346
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28347
28347
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28348
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
28348
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28349
28349
|
let fetchResult;
|
|
28350
28350
|
try {
|
|
28351
28351
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28595,7 +28595,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
28595
28595
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28596
28596
|
*/
|
|
28597
28597
|
static async fromJsonLd(json, options = {}) {
|
|
28598
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28598
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28599
28599
|
try {
|
|
28600
28600
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
28601
28601
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28807,7 +28807,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
28807
28807
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28808
28808
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28809
28809
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28810
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
28810
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28811
28811
|
let fetchResult;
|
|
28812
28812
|
try {
|
|
28813
28813
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29080,7 +29080,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
29080
29080
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29081
29081
|
*/
|
|
29082
29082
|
static async fromJsonLd(json, options = {}) {
|
|
29083
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
29083
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29084
29084
|
try {
|
|
29085
29085
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
29086
29086
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29578,7 +29578,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29578
29578
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29579
29579
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29580
29580
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29581
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
29581
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29582
29582
|
let fetchResult;
|
|
29583
29583
|
try {
|
|
29584
29584
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29740,7 +29740,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29740
29740
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29741
29741
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29742
29742
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29743
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
29743
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29744
29744
|
let fetchResult;
|
|
29745
29745
|
try {
|
|
29746
29746
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29920,7 +29920,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29920
29920
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29921
29921
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29922
29922
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29923
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
29923
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29924
29924
|
let fetchResult;
|
|
29925
29925
|
try {
|
|
29926
29926
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30062,7 +30062,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30062
30062
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30063
30063
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30064
30064
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30065
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30065
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30066
30066
|
let fetchResult;
|
|
30067
30067
|
try {
|
|
30068
30068
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30201,7 +30201,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30201
30201
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30202
30202
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30203
30203
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30204
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30204
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30205
30205
|
let fetchResult;
|
|
30206
30206
|
try {
|
|
30207
30207
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30325,7 +30325,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30325
30325
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30326
30326
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30327
30327
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30328
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30328
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30329
30329
|
let fetchResult;
|
|
30330
30330
|
try {
|
|
30331
30331
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30452,7 +30452,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30452
30452
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30453
30453
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30454
30454
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30455
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30455
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30456
30456
|
let fetchResult;
|
|
30457
30457
|
try {
|
|
30458
30458
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30577,7 +30577,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30577
30577
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30578
30578
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30579
30579
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30580
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30580
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30581
30581
|
let fetchResult;
|
|
30582
30582
|
try {
|
|
30583
30583
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30700,7 +30700,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30700
30700
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30701
30701
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30702
30702
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30703
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30703
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30704
30704
|
let fetchResult;
|
|
30705
30705
|
try {
|
|
30706
30706
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30823,7 +30823,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30823
30823
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30824
30824
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30825
30825
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30826
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30826
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30827
30827
|
let fetchResult;
|
|
30828
30828
|
try {
|
|
30829
30829
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30985,7 +30985,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30985
30985
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30986
30986
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30987
30987
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30988
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30988
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30989
30989
|
let fetchResult;
|
|
30990
30990
|
try {
|
|
30991
30991
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31151,7 +31151,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31151
31151
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31152
31152
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31153
31153
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31154
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31154
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31155
31155
|
let fetchResult;
|
|
31156
31156
|
try {
|
|
31157
31157
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31365,7 +31365,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31365
31365
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31366
31366
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31367
31367
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31368
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31368
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31369
31369
|
let fetchResult;
|
|
31370
31370
|
try {
|
|
31371
31371
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32050,7 +32050,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32050
32050
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32051
32051
|
*/
|
|
32052
32052
|
static async fromJsonLd(json, options = {}) {
|
|
32053
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
32053
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32054
32054
|
try {
|
|
32055
32055
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
32056
32056
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32616,7 +32616,7 @@ var Page = class Page extends Document {
|
|
|
32616
32616
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32617
32617
|
*/
|
|
32618
32618
|
static async fromJsonLd(json, options = {}) {
|
|
32619
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
32619
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32620
32620
|
try {
|
|
32621
32621
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
32622
32622
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33011,7 +33011,7 @@ var Person = class Person extends Object$1 {
|
|
|
33011
33011
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33012
33012
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33013
33013
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33014
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33014
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33015
33015
|
let fetchResult;
|
|
33016
33016
|
try {
|
|
33017
33017
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33173,7 +33173,7 @@ var Person = class Person extends Object$1 {
|
|
|
33173
33173
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33174
33174
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33175
33175
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33176
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33176
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33177
33177
|
let fetchResult;
|
|
33178
33178
|
try {
|
|
33179
33179
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33353,7 +33353,7 @@ var Person = class Person extends Object$1 {
|
|
|
33353
33353
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33354
33354
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33355
33355
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33356
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33356
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33357
33357
|
let fetchResult;
|
|
33358
33358
|
try {
|
|
33359
33359
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33495,7 +33495,7 @@ var Person = class Person extends Object$1 {
|
|
|
33495
33495
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33496
33496
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33497
33497
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33498
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33498
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33499
33499
|
let fetchResult;
|
|
33500
33500
|
try {
|
|
33501
33501
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33634,7 +33634,7 @@ var Person = class Person extends Object$1 {
|
|
|
33634
33634
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33635
33635
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33636
33636
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33637
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33637
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33638
33638
|
let fetchResult;
|
|
33639
33639
|
try {
|
|
33640
33640
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33758,7 +33758,7 @@ var Person = class Person extends Object$1 {
|
|
|
33758
33758
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33759
33759
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33760
33760
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33761
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33761
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33762
33762
|
let fetchResult;
|
|
33763
33763
|
try {
|
|
33764
33764
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33885,7 +33885,7 @@ var Person = class Person extends Object$1 {
|
|
|
33885
33885
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33886
33886
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33887
33887
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33888
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33888
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33889
33889
|
let fetchResult;
|
|
33890
33890
|
try {
|
|
33891
33891
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34010,7 +34010,7 @@ var Person = class Person extends Object$1 {
|
|
|
34010
34010
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34011
34011
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34012
34012
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34013
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34013
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34014
34014
|
let fetchResult;
|
|
34015
34015
|
try {
|
|
34016
34016
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34133,7 +34133,7 @@ var Person = class Person extends Object$1 {
|
|
|
34133
34133
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34134
34134
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34135
34135
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34136
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34136
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34137
34137
|
let fetchResult;
|
|
34138
34138
|
try {
|
|
34139
34139
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34256,7 +34256,7 @@ var Person = class Person extends Object$1 {
|
|
|
34256
34256
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34257
34257
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34258
34258
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34259
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34259
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34260
34260
|
let fetchResult;
|
|
34261
34261
|
try {
|
|
34262
34262
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34418,7 +34418,7 @@ var Person = class Person extends Object$1 {
|
|
|
34418
34418
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34419
34419
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34420
34420
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34421
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34421
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34422
34422
|
let fetchResult;
|
|
34423
34423
|
try {
|
|
34424
34424
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34584,7 +34584,7 @@ var Person = class Person extends Object$1 {
|
|
|
34584
34584
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34585
34585
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34586
34586
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34587
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34587
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34588
34588
|
let fetchResult;
|
|
34589
34589
|
try {
|
|
34590
34590
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34798,7 +34798,7 @@ var Person = class Person extends Object$1 {
|
|
|
34798
34798
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34799
34799
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34800
34800
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34801
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34801
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34802
34802
|
let fetchResult;
|
|
34803
34803
|
try {
|
|
34804
34804
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35483,7 +35483,7 @@ var Person = class Person extends Object$1 {
|
|
|
35483
35483
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35484
35484
|
*/
|
|
35485
35485
|
static async fromJsonLd(json, options = {}) {
|
|
35486
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
35486
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35487
35487
|
try {
|
|
35488
35488
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
35489
35489
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36226,7 +36226,7 @@ var Place = class Place extends Object$1 {
|
|
|
36226
36226
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36227
36227
|
*/
|
|
36228
36228
|
static async fromJsonLd(json, options = {}) {
|
|
36229
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
36229
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36230
36230
|
try {
|
|
36231
36231
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
36232
36232
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36417,7 +36417,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
36417
36417
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36418
36418
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36419
36419
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36420
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36420
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36421
36421
|
let fetchResult;
|
|
36422
36422
|
try {
|
|
36423
36423
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36618,7 +36618,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
36618
36618
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36619
36619
|
*/
|
|
36620
36620
|
static async fromJsonLd(json, options = {}) {
|
|
36621
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
36621
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36622
36622
|
try {
|
|
36623
36623
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
36624
36624
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36789,7 +36789,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
36789
36789
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36790
36790
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36791
36791
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36792
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36792
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36793
36793
|
let fetchResult;
|
|
36794
36794
|
try {
|
|
36795
36795
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36911,7 +36911,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
36911
36911
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36912
36912
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36913
36913
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36914
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36914
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36915
36915
|
let fetchResult;
|
|
36916
36916
|
try {
|
|
36917
36917
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37175,7 +37175,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
37175
37175
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37176
37176
|
*/
|
|
37177
37177
|
static async fromJsonLd(json, options = {}) {
|
|
37178
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
37178
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37179
37179
|
try {
|
|
37180
37180
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
37181
37181
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37402,7 +37402,7 @@ var Read = class Read extends Activity {
|
|
|
37402
37402
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37403
37403
|
*/
|
|
37404
37404
|
static async fromJsonLd(json, options = {}) {
|
|
37405
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
37405
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37406
37406
|
try {
|
|
37407
37407
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
37408
37408
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37551,7 +37551,7 @@ var Reject = class Reject extends Activity {
|
|
|
37551
37551
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37552
37552
|
*/
|
|
37553
37553
|
static async fromJsonLd(json, options = {}) {
|
|
37554
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
37554
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37555
37555
|
try {
|
|
37556
37556
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
37557
37557
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37724,7 +37724,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
37724
37724
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37725
37725
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37726
37726
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37727
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
37727
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37728
37728
|
let fetchResult;
|
|
37729
37729
|
try {
|
|
37730
37730
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37847,7 +37847,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
37847
37847
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37848
37848
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37849
37849
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37850
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
37850
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37851
37851
|
let fetchResult;
|
|
37852
37852
|
try {
|
|
37853
37853
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38009,7 +38009,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
38009
38009
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38010
38010
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38011
38011
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38012
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
38012
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38013
38013
|
let fetchResult;
|
|
38014
38014
|
try {
|
|
38015
38015
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38287,7 +38287,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
38287
38287
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38288
38288
|
*/
|
|
38289
38289
|
static async fromJsonLd(json, options = {}) {
|
|
38290
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
38290
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38291
38291
|
try {
|
|
38292
38292
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
38293
38293
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38496,7 +38496,7 @@ var Remove = class Remove extends Activity {
|
|
|
38496
38496
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38497
38497
|
*/
|
|
38498
38498
|
static async fromJsonLd(json, options = {}) {
|
|
38499
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
38499
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38500
38500
|
try {
|
|
38501
38501
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
38502
38502
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38891,7 +38891,7 @@ var Service = class Service extends Object$1 {
|
|
|
38891
38891
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38892
38892
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38893
38893
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38894
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
38894
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38895
38895
|
let fetchResult;
|
|
38896
38896
|
try {
|
|
38897
38897
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39053,7 +39053,7 @@ var Service = class Service extends Object$1 {
|
|
|
39053
39053
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39054
39054
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39055
39055
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39056
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39056
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39057
39057
|
let fetchResult;
|
|
39058
39058
|
try {
|
|
39059
39059
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39233,7 +39233,7 @@ var Service = class Service extends Object$1 {
|
|
|
39233
39233
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39234
39234
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39235
39235
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39236
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39236
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39237
39237
|
let fetchResult;
|
|
39238
39238
|
try {
|
|
39239
39239
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39375,7 +39375,7 @@ var Service = class Service extends Object$1 {
|
|
|
39375
39375
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39376
39376
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39377
39377
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39378
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39378
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39379
39379
|
let fetchResult;
|
|
39380
39380
|
try {
|
|
39381
39381
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39514,7 +39514,7 @@ var Service = class Service extends Object$1 {
|
|
|
39514
39514
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39515
39515
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39516
39516
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39517
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39517
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39518
39518
|
let fetchResult;
|
|
39519
39519
|
try {
|
|
39520
39520
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39638,7 +39638,7 @@ var Service = class Service extends Object$1 {
|
|
|
39638
39638
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39639
39639
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39640
39640
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39641
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39641
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39642
39642
|
let fetchResult;
|
|
39643
39643
|
try {
|
|
39644
39644
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39765,7 +39765,7 @@ var Service = class Service extends Object$1 {
|
|
|
39765
39765
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39766
39766
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39767
39767
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39768
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39768
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39769
39769
|
let fetchResult;
|
|
39770
39770
|
try {
|
|
39771
39771
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39890,7 +39890,7 @@ var Service = class Service extends Object$1 {
|
|
|
39890
39890
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39891
39891
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39892
39892
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39893
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39893
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39894
39894
|
let fetchResult;
|
|
39895
39895
|
try {
|
|
39896
39896
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40013,7 +40013,7 @@ var Service = class Service extends Object$1 {
|
|
|
40013
40013
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40014
40014
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40015
40015
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40016
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40016
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40017
40017
|
let fetchResult;
|
|
40018
40018
|
try {
|
|
40019
40019
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40136,7 +40136,7 @@ var Service = class Service extends Object$1 {
|
|
|
40136
40136
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40137
40137
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40138
40138
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40139
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40139
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40140
40140
|
let fetchResult;
|
|
40141
40141
|
try {
|
|
40142
40142
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40298,7 +40298,7 @@ var Service = class Service extends Object$1 {
|
|
|
40298
40298
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40299
40299
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40300
40300
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40301
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40301
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40302
40302
|
let fetchResult;
|
|
40303
40303
|
try {
|
|
40304
40304
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40464,7 +40464,7 @@ var Service = class Service extends Object$1 {
|
|
|
40464
40464
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40465
40465
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40466
40466
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40467
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40467
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40468
40468
|
let fetchResult;
|
|
40469
40469
|
try {
|
|
40470
40470
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40678,7 +40678,7 @@ var Service = class Service extends Object$1 {
|
|
|
40678
40678
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40679
40679
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40680
40680
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40681
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40681
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40682
40682
|
let fetchResult;
|
|
40683
40683
|
try {
|
|
40684
40684
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41363,7 +41363,7 @@ var Service = class Service extends Object$1 {
|
|
|
41363
41363
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41364
41364
|
*/
|
|
41365
41365
|
static async fromJsonLd(json, options = {}) {
|
|
41366
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
41366
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41367
41367
|
try {
|
|
41368
41368
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
41369
41369
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42011,7 +42011,7 @@ var Source = class {
|
|
|
42011
42011
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42012
42012
|
*/
|
|
42013
42013
|
static async fromJsonLd(json, options = {}) {
|
|
42014
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42014
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42015
42015
|
try {
|
|
42016
42016
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
42017
42017
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42187,7 +42187,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
42187
42187
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42188
42188
|
*/
|
|
42189
42189
|
static async fromJsonLd(json, options = {}) {
|
|
42190
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42190
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42191
42191
|
try {
|
|
42192
42192
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
42193
42193
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42336,7 +42336,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
42336
42336
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42337
42337
|
*/
|
|
42338
42338
|
static async fromJsonLd(json, options = {}) {
|
|
42339
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42339
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42340
42340
|
try {
|
|
42341
42341
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
42342
42342
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42531,7 +42531,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
42531
42531
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42532
42532
|
*/
|
|
42533
42533
|
static async fromJsonLd(json, options = {}) {
|
|
42534
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42534
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42535
42535
|
try {
|
|
42536
42536
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
42537
42537
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42695,7 +42695,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
42695
42695
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42696
42696
|
*/
|
|
42697
42697
|
static async fromJsonLd(json, options = {}) {
|
|
42698
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42698
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42699
42699
|
try {
|
|
42700
42700
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
42701
42701
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42858,7 +42858,7 @@ var Undo = class Undo extends Activity {
|
|
|
42858
42858
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42859
42859
|
*/
|
|
42860
42860
|
static async fromJsonLd(json, options = {}) {
|
|
42861
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42861
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42862
42862
|
try {
|
|
42863
42863
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
42864
42864
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43059,7 +43059,7 @@ var Update = class Update extends Activity {
|
|
|
43059
43059
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43060
43060
|
*/
|
|
43061
43061
|
static async fromJsonLd(json, options = {}) {
|
|
43062
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
43062
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43063
43063
|
try {
|
|
43064
43064
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
43065
43065
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43221,7 +43221,7 @@ var Video = class Video extends Document {
|
|
|
43221
43221
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43222
43222
|
*/
|
|
43223
43223
|
static async fromJsonLd(json, options = {}) {
|
|
43224
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
43224
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43225
43225
|
try {
|
|
43226
43226
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
43227
43227
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43369,7 +43369,7 @@ var View = class View extends Activity {
|
|
|
43369
43369
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43370
43370
|
*/
|
|
43371
43371
|
static async fromJsonLd(json, options = {}) {
|
|
43372
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
43372
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43373
43373
|
try {
|
|
43374
43374
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
43375
43375
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|