@fedify/vocab 2.3.2 → 2.3.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 +219 -219
- package/dist/mod.js +219 -219
- package/dist-tests/{actor-C1JXaHGB.mjs → actor-LXILs6nm.mjs} +2 -2
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-qOXUdrGm.mjs → vocab-_9rJar4o.mjs} +218 -218
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
|
@@ -837,7 +837,7 @@ var Object$1 = class Object$1 {
|
|
|
837
837
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
838
838
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
839
839
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
840
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
840
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
841
841
|
let fetchResult;
|
|
842
842
|
try {
|
|
843
843
|
fetchResult = await documentLoader(url.href);
|
|
@@ -986,7 +986,7 @@ var Object$1 = class Object$1 {
|
|
|
986
986
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
987
987
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
988
988
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
989
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
989
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
990
990
|
let fetchResult;
|
|
991
991
|
try {
|
|
992
992
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1204,7 +1204,7 @@ var Object$1 = class Object$1 {
|
|
|
1204
1204
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1205
1205
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1206
1206
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1207
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1207
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1208
1208
|
let fetchResult;
|
|
1209
1209
|
try {
|
|
1210
1210
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1394,7 +1394,7 @@ var Object$1 = class Object$1 {
|
|
|
1394
1394
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1395
1395
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1396
1396
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1397
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1397
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1398
1398
|
let fetchResult;
|
|
1399
1399
|
try {
|
|
1400
1400
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1559,7 +1559,7 @@ var Object$1 = class Object$1 {
|
|
|
1559
1559
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1560
1560
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1561
1561
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1562
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1562
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1563
1563
|
let fetchResult;
|
|
1564
1564
|
try {
|
|
1565
1565
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1692,7 +1692,7 @@ var Object$1 = class Object$1 {
|
|
|
1692
1692
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1693
1693
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1694
1694
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1695
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1695
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1696
1696
|
let fetchResult;
|
|
1697
1697
|
try {
|
|
1698
1698
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1880,7 +1880,7 @@ var Object$1 = class Object$1 {
|
|
|
1880
1880
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1881
1881
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1882
1882
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1883
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1883
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1884
1884
|
let fetchResult;
|
|
1885
1885
|
try {
|
|
1886
1886
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2068,7 +2068,7 @@ var Object$1 = class Object$1 {
|
|
|
2068
2068
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2069
2069
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2070
2070
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2071
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2071
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2072
2072
|
let fetchResult;
|
|
2073
2073
|
try {
|
|
2074
2074
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2248,7 +2248,7 @@ var Object$1 = class Object$1 {
|
|
|
2248
2248
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2249
2249
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2250
2250
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2251
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2251
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2252
2252
|
let fetchResult;
|
|
2253
2253
|
try {
|
|
2254
2254
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2428,7 +2428,7 @@ var Object$1 = class Object$1 {
|
|
|
2428
2428
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2429
2429
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2430
2430
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2431
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2431
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2432
2432
|
let fetchResult;
|
|
2433
2433
|
try {
|
|
2434
2434
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2613,7 +2613,7 @@ var Object$1 = class Object$1 {
|
|
|
2613
2613
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2614
2614
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2615
2615
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2616
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2616
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2617
2617
|
let fetchResult;
|
|
2618
2618
|
try {
|
|
2619
2619
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2737,7 +2737,7 @@ var Object$1 = class Object$1 {
|
|
|
2737
2737
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2738
2738
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2739
2739
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2740
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2740
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2741
2741
|
let fetchResult;
|
|
2742
2742
|
try {
|
|
2743
2743
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2867,7 +2867,7 @@ var Object$1 = class Object$1 {
|
|
|
2867
2867
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2868
2868
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2869
2869
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2870
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2870
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2871
2871
|
let fetchResult;
|
|
2872
2872
|
try {
|
|
2873
2873
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2997,7 +2997,7 @@ var Object$1 = class Object$1 {
|
|
|
2997
2997
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2998
2998
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2999
2999
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3000
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3000
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3001
3001
|
let fetchResult;
|
|
3002
3002
|
try {
|
|
3003
3003
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3145,7 +3145,7 @@ var Object$1 = class Object$1 {
|
|
|
3145
3145
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3146
3146
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3147
3147
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3148
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3148
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3149
3149
|
let fetchResult;
|
|
3150
3150
|
try {
|
|
3151
3151
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3300,7 +3300,7 @@ var Object$1 = class Object$1 {
|
|
|
3300
3300
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3301
3301
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3302
3302
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3303
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3303
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3304
3304
|
let fetchResult;
|
|
3305
3305
|
try {
|
|
3306
3306
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3470,7 +3470,7 @@ var Object$1 = class Object$1 {
|
|
|
3470
3470
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3471
3471
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3472
3472
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3473
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3473
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3474
3474
|
let fetchResult;
|
|
3475
3475
|
try {
|
|
3476
3476
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3640,7 +3640,7 @@ var Object$1 = class Object$1 {
|
|
|
3640
3640
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3641
3641
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3642
3642
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3643
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3643
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3644
3644
|
let fetchResult;
|
|
3645
3645
|
try {
|
|
3646
3646
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3810,7 +3810,7 @@ var Object$1 = class Object$1 {
|
|
|
3810
3810
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3811
3811
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3812
3812
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3813
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3813
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3814
3814
|
let fetchResult;
|
|
3815
3815
|
try {
|
|
3816
3816
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4017,7 +4017,7 @@ var Object$1 = class Object$1 {
|
|
|
4017
4017
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4018
4018
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4019
4019
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4020
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4020
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4021
4021
|
let fetchResult;
|
|
4022
4022
|
try {
|
|
4023
4023
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4210,7 +4210,7 @@ var Object$1 = class Object$1 {
|
|
|
4210
4210
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4211
4211
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4212
4212
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4213
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4213
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4214
4214
|
let fetchResult;
|
|
4215
4215
|
try {
|
|
4216
4216
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4334,7 +4334,7 @@ var Object$1 = class Object$1 {
|
|
|
4334
4334
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4335
4335
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4336
4336
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4337
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4337
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4338
4338
|
let fetchResult;
|
|
4339
4339
|
try {
|
|
4340
4340
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4458,7 +4458,7 @@ var Object$1 = class Object$1 {
|
|
|
4458
4458
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4459
4459
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4460
4460
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4461
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4461
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4462
4462
|
let fetchResult;
|
|
4463
4463
|
try {
|
|
4464
4464
|
fetchResult = await documentLoader(url.href);
|
|
@@ -5288,7 +5288,7 @@ var Object$1 = class Object$1 {
|
|
|
5288
5288
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5289
5289
|
*/
|
|
5290
5290
|
static async fromJsonLd(json, options = {}) {
|
|
5291
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
5291
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5292
5292
|
try {
|
|
5293
5293
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
5294
5294
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6954,7 +6954,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
6954
6954
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6955
6955
|
*/
|
|
6956
6956
|
static async fromJsonLd(json, options = {}) {
|
|
6957
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
6957
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6958
6958
|
try {
|
|
6959
6959
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
6960
6960
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7091,7 +7091,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7091
7091
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7092
7092
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7093
7093
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7094
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
7094
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7095
7095
|
let fetchResult;
|
|
7096
7096
|
try {
|
|
7097
7097
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7232,7 +7232,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7232
7232
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7233
7233
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7234
7234
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7235
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
7235
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7236
7236
|
let fetchResult;
|
|
7237
7237
|
try {
|
|
7238
7238
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7519,7 +7519,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7519
7519
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7520
7520
|
*/
|
|
7521
7521
|
static async fromJsonLd(json, options = {}) {
|
|
7522
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
7522
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7523
7523
|
try {
|
|
7524
7524
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
7525
7525
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7861,7 +7861,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7861
7861
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7862
7862
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7863
7863
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7864
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
7864
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7865
7865
|
let fetchResult;
|
|
7866
7866
|
try {
|
|
7867
7867
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8079,7 +8079,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8079
8079
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8080
8080
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8081
8081
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8082
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8082
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8083
8083
|
let fetchResult;
|
|
8084
8084
|
try {
|
|
8085
8085
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8251,7 +8251,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8251
8251
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8252
8252
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8253
8253
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8254
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8254
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8255
8255
|
let fetchResult;
|
|
8256
8256
|
try {
|
|
8257
8257
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8429,7 +8429,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8429
8429
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8430
8430
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8431
8431
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8432
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8432
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8433
8433
|
let fetchResult;
|
|
8434
8434
|
try {
|
|
8435
8435
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8601,7 +8601,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8601
8601
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8602
8602
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8603
8603
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8604
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8604
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8605
8605
|
let fetchResult;
|
|
8606
8606
|
try {
|
|
8607
8607
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8775,7 +8775,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8775
8775
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8776
8776
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8777
8777
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8778
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8778
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8779
8779
|
let fetchResult;
|
|
8780
8780
|
try {
|
|
8781
8781
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9032,7 +9032,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
9032
9032
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9033
9033
|
*/
|
|
9034
9034
|
static async fromJsonLd(json, options = {}) {
|
|
9035
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
9035
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9036
9036
|
try {
|
|
9037
9037
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
9038
9038
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9398,7 +9398,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
9398
9398
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9399
9399
|
*/
|
|
9400
9400
|
static async fromJsonLd(json, options = {}) {
|
|
9401
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
9401
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9402
9402
|
try {
|
|
9403
9403
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
9404
9404
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9665,7 +9665,7 @@ var PropertyValue = class {
|
|
|
9665
9665
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9666
9666
|
*/
|
|
9667
9667
|
static async fromJsonLd(json, options = {}) {
|
|
9668
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
9668
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9669
9669
|
try {
|
|
9670
9670
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
9671
9671
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9959,7 +9959,7 @@ var Measure = class {
|
|
|
9959
9959
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9960
9960
|
*/
|
|
9961
9961
|
static async fromJsonLd(json, options = {}) {
|
|
9962
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
9962
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9963
9963
|
try {
|
|
9964
9964
|
const object = await this.__fromJsonLd__Measure__(json, span, options);
|
|
9965
9965
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10130,7 +10130,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10130
10130
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10131
10131
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10132
10132
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10133
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
10133
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10134
10134
|
let fetchResult;
|
|
10135
10135
|
try {
|
|
10136
10136
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10254,7 +10254,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10254
10254
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10255
10255
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10256
10256
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10257
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
10257
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10258
10258
|
let fetchResult;
|
|
10259
10259
|
try {
|
|
10260
10260
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10473,7 +10473,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10473
10473
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10474
10474
|
*/
|
|
10475
10475
|
static async fromJsonLd(json, options = {}) {
|
|
10476
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
10476
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10477
10477
|
try {
|
|
10478
10478
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
10479
10479
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10687,7 +10687,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
10687
10687
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10688
10688
|
*/
|
|
10689
10689
|
static async fromJsonLd(json, options = {}) {
|
|
10690
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
10690
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10691
10691
|
try {
|
|
10692
10692
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
10693
10693
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10972,7 +10972,7 @@ var InteractionPolicy = class {
|
|
|
10972
10972
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10973
10973
|
*/
|
|
10974
10974
|
static async fromJsonLd(json, options = {}) {
|
|
10975
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
10975
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10976
10976
|
try {
|
|
10977
10977
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
10978
10978
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11334,7 +11334,7 @@ var InteractionRule = class {
|
|
|
11334
11334
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11335
11335
|
*/
|
|
11336
11336
|
static async fromJsonLd(json, options = {}) {
|
|
11337
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
11337
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11338
11338
|
try {
|
|
11339
11339
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
11340
11340
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11506,7 +11506,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11506
11506
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11507
11507
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11508
11508
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11509
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
11509
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11510
11510
|
let fetchResult;
|
|
11511
11511
|
try {
|
|
11512
11512
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11630,7 +11630,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11630
11630
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11631
11631
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11632
11632
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11633
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
11633
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11634
11634
|
let fetchResult;
|
|
11635
11635
|
try {
|
|
11636
11636
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11849,7 +11849,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11849
11849
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11850
11850
|
*/
|
|
11851
11851
|
static async fromJsonLd(json, options = {}) {
|
|
11852
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
11852
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11853
11853
|
try {
|
|
11854
11854
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
11855
11855
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12062,7 +12062,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
12062
12062
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12063
12063
|
*/
|
|
12064
12064
|
static async fromJsonLd(json, options = {}) {
|
|
12065
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
12065
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12066
12066
|
try {
|
|
12067
12067
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
12068
12068
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12196,7 +12196,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12196
12196
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12197
12197
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12198
12198
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12199
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
12199
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12200
12200
|
let fetchResult;
|
|
12201
12201
|
try {
|
|
12202
12202
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12320,7 +12320,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12320
12320
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12321
12321
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12322
12322
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12323
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
12323
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12324
12324
|
let fetchResult;
|
|
12325
12325
|
try {
|
|
12326
12326
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12539,7 +12539,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12539
12539
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12540
12540
|
*/
|
|
12541
12541
|
static async fromJsonLd(json, options = {}) {
|
|
12542
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
12542
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12543
12543
|
try {
|
|
12544
12544
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
12545
12545
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12752,7 +12752,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
12752
12752
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12753
12753
|
*/
|
|
12754
12754
|
static async fromJsonLd(json, options = {}) {
|
|
12755
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
12755
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12756
12756
|
try {
|
|
12757
12757
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
12758
12758
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12886,7 +12886,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
12886
12886
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12887
12887
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12888
12888
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12889
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
12889
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12890
12890
|
let fetchResult;
|
|
12891
12891
|
try {
|
|
12892
12892
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13009,7 +13009,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
13009
13009
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13010
13010
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13011
13011
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13012
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
13012
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13013
13013
|
let fetchResult;
|
|
13014
13014
|
try {
|
|
13015
13015
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13230,7 +13230,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
13230
13230
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13231
13231
|
*/
|
|
13232
13232
|
static async fromJsonLd(json, options = {}) {
|
|
13233
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
13233
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13234
13234
|
try {
|
|
13235
13235
|
const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
|
|
13236
13236
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13473,7 +13473,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
|
|
|
13473
13473
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13474
13474
|
*/
|
|
13475
13475
|
static async fromJsonLd(json, options = {}) {
|
|
13476
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
13476
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13477
13477
|
try {
|
|
13478
13478
|
const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
|
|
13479
13479
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13700,7 +13700,7 @@ var DidService = class {
|
|
|
13700
13700
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13701
13701
|
*/
|
|
13702
13702
|
static async fromJsonLd(json, options = {}) {
|
|
13703
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
13703
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13704
13704
|
try {
|
|
13705
13705
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
13706
13706
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13863,7 +13863,7 @@ var Export = class Export extends DidService {
|
|
|
13863
13863
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13864
13864
|
*/
|
|
13865
13865
|
static async fromJsonLd(json, options = {}) {
|
|
13866
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
13866
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13867
13867
|
try {
|
|
13868
13868
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
13869
13869
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14057,7 +14057,7 @@ var DataIntegrityProof = class {
|
|
|
14057
14057
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14058
14058
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14059
14059
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14060
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
14060
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14061
14061
|
let fetchResult;
|
|
14062
14062
|
try {
|
|
14063
14063
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14276,7 +14276,7 @@ var DataIntegrityProof = class {
|
|
|
14276
14276
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14277
14277
|
*/
|
|
14278
14278
|
static async fromJsonLd(json, options = {}) {
|
|
14279
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
14279
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14280
14280
|
try {
|
|
14281
14281
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
14282
14282
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14542,7 +14542,7 @@ var CryptographicKey = class {
|
|
|
14542
14542
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14543
14543
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14544
14544
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14545
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
14545
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14546
14546
|
let fetchResult;
|
|
14547
14547
|
try {
|
|
14548
14548
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14807,7 +14807,7 @@ var CryptographicKey = class {
|
|
|
14807
14807
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14808
14808
|
*/
|
|
14809
14809
|
static async fromJsonLd(json, options = {}) {
|
|
14810
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
14810
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14811
14811
|
try {
|
|
14812
14812
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
14813
14813
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15034,7 +15034,7 @@ var Multikey = class {
|
|
|
15034
15034
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15035
15035
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15036
15036
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15037
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
15037
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15038
15038
|
let fetchResult;
|
|
15039
15039
|
try {
|
|
15040
15040
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15305,7 +15305,7 @@ var Multikey = class {
|
|
|
15305
15305
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15306
15306
|
*/
|
|
15307
15307
|
static async fromJsonLd(json, options = {}) {
|
|
15308
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
15308
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15309
15309
|
try {
|
|
15310
15310
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
15311
15311
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15643,7 +15643,7 @@ var Agreement = class Agreement extends Object$1 {
|
|
|
15643
15643
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15644
15644
|
*/
|
|
15645
15645
|
static async fromJsonLd(json, options = {}) {
|
|
15646
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
15646
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15647
15647
|
try {
|
|
15648
15648
|
const object = await this.__fromJsonLd__Agreement__(json, span, options);
|
|
15649
15649
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15966,7 +15966,7 @@ var Commitment = class {
|
|
|
15966
15966
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15967
15967
|
*/
|
|
15968
15968
|
static async fromJsonLd(json, options = {}) {
|
|
15969
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
15969
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15970
15970
|
try {
|
|
15971
15971
|
const object = await this.__fromJsonLd__Commitment__(json, span, options);
|
|
15972
15972
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16367,7 +16367,7 @@ var Intent = class {
|
|
|
16367
16367
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16368
16368
|
*/
|
|
16369
16369
|
static async fromJsonLd(json, options = {}) {
|
|
16370
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
16370
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16371
16371
|
try {
|
|
16372
16372
|
const object = await this.__fromJsonLd__Intent__(json, span, options);
|
|
16373
16373
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16807,7 +16807,7 @@ var Proposal = class Proposal extends Object$1 {
|
|
|
16807
16807
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16808
16808
|
*/
|
|
16809
16809
|
static async fromJsonLd(json, options = {}) {
|
|
16810
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
16810
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16811
16811
|
try {
|
|
16812
16812
|
const object = await this.__fromJsonLd__Proposal__(json, span, options);
|
|
16813
16813
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17039,7 +17039,7 @@ var Accept = class Accept extends Activity {
|
|
|
17039
17039
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17040
17040
|
*/
|
|
17041
17041
|
static async fromJsonLd(json, options = {}) {
|
|
17042
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
17042
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17043
17043
|
try {
|
|
17044
17044
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
17045
17045
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17194,7 +17194,7 @@ var Add = class Add extends Activity {
|
|
|
17194
17194
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17195
17195
|
*/
|
|
17196
17196
|
static async fromJsonLd(json, options = {}) {
|
|
17197
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
17197
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17198
17198
|
try {
|
|
17199
17199
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
17200
17200
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17376,7 +17376,7 @@ var Announce = class Announce extends Activity {
|
|
|
17376
17376
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17377
17377
|
*/
|
|
17378
17378
|
static async fromJsonLd(json, options = {}) {
|
|
17379
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
17379
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17380
17380
|
try {
|
|
17381
17381
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
17382
17382
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17774,7 +17774,7 @@ var Application = class Application extends Object$1 {
|
|
|
17774
17774
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17775
17775
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17776
17776
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17777
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
17777
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17778
17778
|
let fetchResult;
|
|
17779
17779
|
try {
|
|
17780
17780
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17942,7 +17942,7 @@ var Application = class Application extends Object$1 {
|
|
|
17942
17942
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17943
17943
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17944
17944
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17945
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
17945
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17946
17946
|
let fetchResult;
|
|
17947
17947
|
try {
|
|
17948
17948
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18128,7 +18128,7 @@ var Application = class Application extends Object$1 {
|
|
|
18128
18128
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18129
18129
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18130
18130
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18131
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18131
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18132
18132
|
let fetchResult;
|
|
18133
18133
|
try {
|
|
18134
18134
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18273,7 +18273,7 @@ var Application = class Application extends Object$1 {
|
|
|
18273
18273
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18274
18274
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18275
18275
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18276
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18276
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18277
18277
|
let fetchResult;
|
|
18278
18278
|
try {
|
|
18279
18279
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18415,7 +18415,7 @@ var Application = class Application extends Object$1 {
|
|
|
18415
18415
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18416
18416
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18417
18417
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18418
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18418
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18419
18419
|
let fetchResult;
|
|
18420
18420
|
try {
|
|
18421
18421
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18542,7 +18542,7 @@ var Application = class Application extends Object$1 {
|
|
|
18542
18542
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18543
18543
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18544
18544
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18545
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18545
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18546
18546
|
let fetchResult;
|
|
18547
18547
|
try {
|
|
18548
18548
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18672,7 +18672,7 @@ var Application = class Application extends Object$1 {
|
|
|
18672
18672
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18673
18673
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18674
18674
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18675
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18675
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18676
18676
|
let fetchResult;
|
|
18677
18677
|
try {
|
|
18678
18678
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18800,7 +18800,7 @@ var Application = class Application extends Object$1 {
|
|
|
18800
18800
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18801
18801
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18802
18802
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18803
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18803
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18804
18804
|
let fetchResult;
|
|
18805
18805
|
try {
|
|
18806
18806
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18926,7 +18926,7 @@ var Application = class Application extends Object$1 {
|
|
|
18926
18926
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18927
18927
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18928
18928
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18929
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18929
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18930
18930
|
let fetchResult;
|
|
18931
18931
|
try {
|
|
18932
18932
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19052,7 +19052,7 @@ var Application = class Application extends Object$1 {
|
|
|
19052
19052
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19053
19053
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19054
19054
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19055
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19055
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19056
19056
|
let fetchResult;
|
|
19057
19057
|
try {
|
|
19058
19058
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19217,7 +19217,7 @@ var Application = class Application extends Object$1 {
|
|
|
19217
19217
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19218
19218
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19219
19219
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19220
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19220
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19221
19221
|
let fetchResult;
|
|
19222
19222
|
try {
|
|
19223
19223
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19386,7 +19386,7 @@ var Application = class Application extends Object$1 {
|
|
|
19386
19386
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19387
19387
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19388
19388
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19389
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19389
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19390
19390
|
let fetchResult;
|
|
19391
19391
|
try {
|
|
19392
19392
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19606,7 +19606,7 @@ var Application = class Application extends Object$1 {
|
|
|
19606
19606
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19607
19607
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19608
19608
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19609
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19609
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19610
19610
|
let fetchResult;
|
|
19611
19611
|
try {
|
|
19612
19612
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20297,7 +20297,7 @@ var Application = class Application extends Object$1 {
|
|
|
20297
20297
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20298
20298
|
*/
|
|
20299
20299
|
static async fromJsonLd(json, options = {}) {
|
|
20300
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
20300
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20301
20301
|
try {
|
|
20302
20302
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
20303
20303
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20989,7 +20989,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
20989
20989
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20990
20990
|
*/
|
|
20991
20991
|
static async fromJsonLd(json, options = {}) {
|
|
20992
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
20992
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20993
20993
|
try {
|
|
20994
20994
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
20995
20995
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21145,7 +21145,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
21145
21145
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21146
21146
|
*/
|
|
21147
21147
|
static async fromJsonLd(json, options = {}) {
|
|
21148
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
21148
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21149
21149
|
try {
|
|
21150
21150
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
21151
21151
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21278,7 +21278,7 @@ var Article = class Article extends Object$1 {
|
|
|
21278
21278
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21279
21279
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21280
21280
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21281
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
21281
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21282
21282
|
let fetchResult;
|
|
21283
21283
|
try {
|
|
21284
21284
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21419,7 +21419,7 @@ var Article = class Article extends Object$1 {
|
|
|
21419
21419
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21420
21420
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21421
21421
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21422
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
21422
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21423
21423
|
let fetchResult;
|
|
21424
21424
|
try {
|
|
21425
21425
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21708,7 +21708,7 @@ var Article = class Article extends Object$1 {
|
|
|
21708
21708
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21709
21709
|
*/
|
|
21710
21710
|
static async fromJsonLd(json, options = {}) {
|
|
21711
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
21711
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21712
21712
|
try {
|
|
21713
21713
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
21714
21714
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22006,7 +22006,7 @@ var Document = class Document extends Object$1 {
|
|
|
22006
22006
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22007
22007
|
*/
|
|
22008
22008
|
static async fromJsonLd(json, options = {}) {
|
|
22009
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
22009
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22010
22010
|
try {
|
|
22011
22011
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
22012
22012
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22212,7 +22212,7 @@ var Audio = class Audio extends Document {
|
|
|
22212
22212
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22213
22213
|
*/
|
|
22214
22214
|
static async fromJsonLd(json, options = {}) {
|
|
22215
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
22215
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22216
22216
|
try {
|
|
22217
22217
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
22218
22218
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22364,7 +22364,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
22364
22364
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22365
22365
|
*/
|
|
22366
22366
|
static async fromJsonLd(json, options = {}) {
|
|
22367
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
22367
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22368
22368
|
try {
|
|
22369
22369
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
22370
22370
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22519,7 +22519,7 @@ var Block = class Block extends Ignore {
|
|
|
22519
22519
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22520
22520
|
*/
|
|
22521
22521
|
static async fromJsonLd(json, options = {}) {
|
|
22522
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
22522
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22523
22523
|
try {
|
|
22524
22524
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
22525
22525
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22786,7 +22786,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22786
22786
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22787
22787
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22788
22788
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22789
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
22789
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22790
22790
|
let fetchResult;
|
|
22791
22791
|
try {
|
|
22792
22792
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22910,7 +22910,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22910
22910
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22911
22911
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22912
22912
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22913
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
22913
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22914
22914
|
let fetchResult;
|
|
22915
22915
|
try {
|
|
22916
22916
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23034,7 +23034,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23034
23034
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23035
23035
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23036
23036
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23037
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23037
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23038
23038
|
let fetchResult;
|
|
23039
23039
|
try {
|
|
23040
23040
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23158,7 +23158,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23158
23158
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23159
23159
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23160
23160
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23161
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23161
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23162
23162
|
let fetchResult;
|
|
23163
23163
|
try {
|
|
23164
23164
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23292,7 +23292,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23292
23292
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23293
23293
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23294
23294
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23295
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23295
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23296
23296
|
let fetchResult;
|
|
23297
23297
|
try {
|
|
23298
23298
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23415,7 +23415,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23415
23415
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23416
23416
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23417
23417
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23418
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23418
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23419
23419
|
let fetchResult;
|
|
23420
23420
|
try {
|
|
23421
23421
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23538,7 +23538,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23538
23538
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23539
23539
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23540
23540
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23541
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23541
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23542
23542
|
let fetchResult;
|
|
23543
23543
|
try {
|
|
23544
23544
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23661,7 +23661,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23661
23661
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23662
23662
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23663
23663
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23664
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23664
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23665
23665
|
let fetchResult;
|
|
23666
23666
|
try {
|
|
23667
23667
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23784,7 +23784,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23784
23784
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23785
23785
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23786
23786
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23787
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23787
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23788
23788
|
let fetchResult;
|
|
23789
23789
|
try {
|
|
23790
23790
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23907,7 +23907,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23907
23907
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23908
23908
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23909
23909
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23910
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23910
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23911
23911
|
let fetchResult;
|
|
23912
23912
|
try {
|
|
23913
23913
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24030,7 +24030,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24030
24030
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24031
24031
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24032
24032
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24033
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24033
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24034
24034
|
let fetchResult;
|
|
24035
24035
|
try {
|
|
24036
24036
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24153,7 +24153,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24153
24153
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24154
24154
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24155
24155
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24156
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24156
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24157
24157
|
let fetchResult;
|
|
24158
24158
|
try {
|
|
24159
24159
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24605,7 +24605,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24605
24605
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24606
24606
|
*/
|
|
24607
24607
|
static async fromJsonLd(json, options = {}) {
|
|
24608
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
24608
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24609
24609
|
try {
|
|
24610
24610
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
24611
24611
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25153,7 +25153,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
25153
25153
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25154
25154
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25155
25155
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25156
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
25156
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25157
25157
|
let fetchResult;
|
|
25158
25158
|
try {
|
|
25159
25159
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25277,7 +25277,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
25277
25277
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25278
25278
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25279
25279
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25280
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
25280
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25281
25281
|
let fetchResult;
|
|
25282
25282
|
try {
|
|
25283
25283
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25400,7 +25400,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
25400
25400
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25401
25401
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25402
25402
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25403
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
25403
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25404
25404
|
let fetchResult;
|
|
25405
25405
|
try {
|
|
25406
25406
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25689,7 +25689,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
25689
25689
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25690
25690
|
*/
|
|
25691
25691
|
static async fromJsonLd(json, options = {}) {
|
|
25692
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
25692
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25693
25693
|
try {
|
|
25694
25694
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
25695
25695
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25950,7 +25950,7 @@ var Create = class Create extends Activity {
|
|
|
25950
25950
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25951
25951
|
*/
|
|
25952
25952
|
static async fromJsonLd(json, options = {}) {
|
|
25953
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
25953
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25954
25954
|
try {
|
|
25955
25955
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
25956
25956
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26128,7 +26128,7 @@ var Delete = class Delete extends Activity {
|
|
|
26128
26128
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26129
26129
|
*/
|
|
26130
26130
|
static async fromJsonLd(json, options = {}) {
|
|
26131
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
26131
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26132
26132
|
try {
|
|
26133
26133
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
26134
26134
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26283,7 +26283,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
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.3.
|
|
26286
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26287
26287
|
try {
|
|
26288
26288
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
26289
26289
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26649,7 +26649,7 @@ var Endpoints = class {
|
|
|
26649
26649
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26650
26650
|
*/
|
|
26651
26651
|
static async fromJsonLd(json, options = {}) {
|
|
26652
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
26652
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26653
26653
|
try {
|
|
26654
26654
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
26655
26655
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26922,7 +26922,7 @@ var Event = class Event extends Object$1 {
|
|
|
26922
26922
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26923
26923
|
*/
|
|
26924
26924
|
static async fromJsonLd(json, options = {}) {
|
|
26925
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
26925
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26926
26926
|
try {
|
|
26927
26927
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
26928
26928
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27075,7 +27075,7 @@ var Flag = class Flag extends Activity {
|
|
|
27075
27075
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27076
27076
|
*/
|
|
27077
27077
|
static async fromJsonLd(json, options = {}) {
|
|
27078
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
27078
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27079
27079
|
try {
|
|
27080
27080
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
27081
27081
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27232,7 +27232,7 @@ var Follow = class Follow extends Activity {
|
|
|
27232
27232
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27233
27233
|
*/
|
|
27234
27234
|
static async fromJsonLd(json, options = {}) {
|
|
27235
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
27235
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27236
27236
|
try {
|
|
27237
27237
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
27238
27238
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27630,7 +27630,7 @@ var Group = class Group extends Object$1 {
|
|
|
27630
27630
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27631
27631
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27632
27632
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27633
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
27633
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27634
27634
|
let fetchResult;
|
|
27635
27635
|
try {
|
|
27636
27636
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27798,7 +27798,7 @@ var Group = class Group extends Object$1 {
|
|
|
27798
27798
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27799
27799
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27800
27800
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27801
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
27801
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27802
27802
|
let fetchResult;
|
|
27803
27803
|
try {
|
|
27804
27804
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27984,7 +27984,7 @@ var Group = class Group extends Object$1 {
|
|
|
27984
27984
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27985
27985
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27986
27986
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27987
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
27987
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27988
27988
|
let fetchResult;
|
|
27989
27989
|
try {
|
|
27990
27990
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28129,7 +28129,7 @@ var Group = class Group extends Object$1 {
|
|
|
28129
28129
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28130
28130
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28131
28131
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28132
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28132
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28133
28133
|
let fetchResult;
|
|
28134
28134
|
try {
|
|
28135
28135
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28271,7 +28271,7 @@ var Group = class Group extends Object$1 {
|
|
|
28271
28271
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28272
28272
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28273
28273
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28274
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28274
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28275
28275
|
let fetchResult;
|
|
28276
28276
|
try {
|
|
28277
28277
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28398,7 +28398,7 @@ var Group = class Group extends Object$1 {
|
|
|
28398
28398
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28399
28399
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28400
28400
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28401
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28401
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28402
28402
|
let fetchResult;
|
|
28403
28403
|
try {
|
|
28404
28404
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28528,7 +28528,7 @@ var Group = class Group extends Object$1 {
|
|
|
28528
28528
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28529
28529
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28530
28530
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28531
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28531
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28532
28532
|
let fetchResult;
|
|
28533
28533
|
try {
|
|
28534
28534
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28656,7 +28656,7 @@ var Group = class Group extends Object$1 {
|
|
|
28656
28656
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28657
28657
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28658
28658
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28659
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28659
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28660
28660
|
let fetchResult;
|
|
28661
28661
|
try {
|
|
28662
28662
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28782,7 +28782,7 @@ var Group = class Group extends Object$1 {
|
|
|
28782
28782
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28783
28783
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28784
28784
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28785
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28785
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28786
28786
|
let fetchResult;
|
|
28787
28787
|
try {
|
|
28788
28788
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28908,7 +28908,7 @@ var Group = class Group extends Object$1 {
|
|
|
28908
28908
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28909
28909
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28910
28910
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28911
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28911
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28912
28912
|
let fetchResult;
|
|
28913
28913
|
try {
|
|
28914
28914
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29073,7 +29073,7 @@ var Group = class Group extends Object$1 {
|
|
|
29073
29073
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29074
29074
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29075
29075
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29076
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29076
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29077
29077
|
let fetchResult;
|
|
29078
29078
|
try {
|
|
29079
29079
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29242,7 +29242,7 @@ var Group = class Group extends Object$1 {
|
|
|
29242
29242
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29243
29243
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29244
29244
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29245
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29245
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29246
29246
|
let fetchResult;
|
|
29247
29247
|
try {
|
|
29248
29248
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29462,7 +29462,7 @@ var Group = class Group extends Object$1 {
|
|
|
29462
29462
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29463
29463
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29464
29464
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29465
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29465
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29466
29466
|
let fetchResult;
|
|
29467
29467
|
try {
|
|
29468
29468
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30153,7 +30153,7 @@ var Group = class Group extends Object$1 {
|
|
|
30153
30153
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30154
30154
|
*/
|
|
30155
30155
|
static async fromJsonLd(json, options = {}) {
|
|
30156
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
30156
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30157
30157
|
try {
|
|
30158
30158
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
30159
30159
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31001,7 +31001,7 @@ var Link = class Link {
|
|
|
31001
31001
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31002
31002
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31003
31003
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31004
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
31004
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31005
31005
|
let fetchResult;
|
|
31006
31006
|
try {
|
|
31007
31007
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31296,7 +31296,7 @@ var Link = class Link {
|
|
|
31296
31296
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31297
31297
|
*/
|
|
31298
31298
|
static async fromJsonLd(json, options = {}) {
|
|
31299
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
31299
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31300
31300
|
try {
|
|
31301
31301
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
31302
31302
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31681,7 +31681,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
31681
31681
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31682
31682
|
*/
|
|
31683
31683
|
static async fromJsonLd(json, options = {}) {
|
|
31684
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
31684
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31685
31685
|
try {
|
|
31686
31686
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
31687
31687
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31846,7 +31846,7 @@ var Image = class Image extends Document {
|
|
|
31846
31846
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31847
31847
|
*/
|
|
31848
31848
|
static async fromJsonLd(json, options = {}) {
|
|
31849
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
31849
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31850
31850
|
try {
|
|
31851
31851
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
31852
31852
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31999,7 +31999,7 @@ var Offer = class Offer extends Activity {
|
|
|
31999
31999
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32000
32000
|
*/
|
|
32001
32001
|
static async fromJsonLd(json, options = {}) {
|
|
32002
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32002
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32003
32003
|
try {
|
|
32004
32004
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
32005
32005
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32152,7 +32152,7 @@ var Invite = class Invite extends Offer {
|
|
|
32152
32152
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32153
32153
|
*/
|
|
32154
32154
|
static async fromJsonLd(json, options = {}) {
|
|
32155
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32155
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32156
32156
|
try {
|
|
32157
32157
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
32158
32158
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32304,7 +32304,7 @@ var Join = class Join extends Activity {
|
|
|
32304
32304
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32305
32305
|
*/
|
|
32306
32306
|
static async fromJsonLd(json, options = {}) {
|
|
32307
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32307
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32308
32308
|
try {
|
|
32309
32309
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
32310
32310
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32456,7 +32456,7 @@ var Leave = class Leave extends Activity {
|
|
|
32456
32456
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32457
32457
|
*/
|
|
32458
32458
|
static async fromJsonLd(json, options = {}) {
|
|
32459
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32459
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32460
32460
|
try {
|
|
32461
32461
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
32462
32462
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32612,7 +32612,7 @@ var Like = class Like extends Activity {
|
|
|
32612
32612
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32613
32613
|
*/
|
|
32614
32614
|
static async fromJsonLd(json, options = {}) {
|
|
32615
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32615
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32616
32616
|
try {
|
|
32617
32617
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
32618
32618
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32763,7 +32763,7 @@ var Listen = class Listen extends Activity {
|
|
|
32763
32763
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32764
32764
|
*/
|
|
32765
32765
|
static async fromJsonLd(json, options = {}) {
|
|
32766
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32766
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32767
32767
|
try {
|
|
32768
32768
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
32769
32769
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32917,7 +32917,7 @@ var Mention = class Mention extends Link {
|
|
|
32917
32917
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32918
32918
|
*/
|
|
32919
32919
|
static async fromJsonLd(json, options = {}) {
|
|
32920
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32920
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32921
32921
|
try {
|
|
32922
32922
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
32923
32923
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33070,7 +33070,7 @@ var Move = class Move extends Activity {
|
|
|
33070
33070
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33071
33071
|
*/
|
|
33072
33072
|
static async fromJsonLd(json, options = {}) {
|
|
33073
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33073
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33074
33074
|
try {
|
|
33075
33075
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
33076
33076
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33204,7 +33204,7 @@ var Note = class Note extends Object$1 {
|
|
|
33204
33204
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33205
33205
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33206
33206
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33207
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
33207
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33208
33208
|
let fetchResult;
|
|
33209
33209
|
try {
|
|
33210
33210
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33345,7 +33345,7 @@ var Note = class Note extends Object$1 {
|
|
|
33345
33345
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33346
33346
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33347
33347
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33348
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
33348
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33349
33349
|
let fetchResult;
|
|
33350
33350
|
try {
|
|
33351
33351
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33634,7 +33634,7 @@ var Note = class Note extends Object$1 {
|
|
|
33634
33634
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33635
33635
|
*/
|
|
33636
33636
|
static async fromJsonLd(json, options = {}) {
|
|
33637
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33637
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33638
33638
|
try {
|
|
33639
33639
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
33640
33640
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33824,7 +33824,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
33824
33824
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33825
33825
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33826
33826
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33827
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
33827
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33828
33828
|
let fetchResult;
|
|
33829
33829
|
try {
|
|
33830
33830
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34097,7 +34097,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
34097
34097
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34098
34098
|
*/
|
|
34099
34099
|
static async fromJsonLd(json, options = {}) {
|
|
34100
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
34100
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34101
34101
|
try {
|
|
34102
34102
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
34103
34103
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34321,7 +34321,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
34321
34321
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34322
34322
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34323
34323
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34324
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
34324
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34325
34325
|
let fetchResult;
|
|
34326
34326
|
try {
|
|
34327
34327
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34617,7 +34617,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
34617
34617
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34618
34618
|
*/
|
|
34619
34619
|
static async fromJsonLd(json, options = {}) {
|
|
34620
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
34620
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34621
34621
|
try {
|
|
34622
34622
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
34623
34623
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35133,7 +35133,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35133
35133
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35134
35134
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35135
35135
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35136
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
35136
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35137
35137
|
let fetchResult;
|
|
35138
35138
|
try {
|
|
35139
35139
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35301,7 +35301,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35301
35301
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35302
35302
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35303
35303
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35304
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
35304
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35305
35305
|
let fetchResult;
|
|
35306
35306
|
try {
|
|
35307
35307
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35487,7 +35487,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35487
35487
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35488
35488
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35489
35489
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35490
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
35490
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35491
35491
|
let fetchResult;
|
|
35492
35492
|
try {
|
|
35493
35493
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35632,7 +35632,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35632
35632
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35633
35633
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35634
35634
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35635
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
35635
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35636
35636
|
let fetchResult;
|
|
35637
35637
|
try {
|
|
35638
35638
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35774,7 +35774,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35774
35774
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35775
35775
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35776
35776
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35777
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
35777
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35778
35778
|
let fetchResult;
|
|
35779
35779
|
try {
|
|
35780
35780
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35901,7 +35901,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35901
35901
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35902
35902
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35903
35903
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35904
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
35904
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35905
35905
|
let fetchResult;
|
|
35906
35906
|
try {
|
|
35907
35907
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36031,7 +36031,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36031
36031
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36032
36032
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36033
36033
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36034
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36034
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36035
36035
|
let fetchResult;
|
|
36036
36036
|
try {
|
|
36037
36037
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36159,7 +36159,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36159
36159
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36160
36160
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36161
36161
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36162
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36162
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36163
36163
|
let fetchResult;
|
|
36164
36164
|
try {
|
|
36165
36165
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36285,7 +36285,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36285
36285
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36286
36286
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36287
36287
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36288
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36288
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36289
36289
|
let fetchResult;
|
|
36290
36290
|
try {
|
|
36291
36291
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36411,7 +36411,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36411
36411
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36412
36412
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36413
36413
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36414
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36414
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36415
36415
|
let fetchResult;
|
|
36416
36416
|
try {
|
|
36417
36417
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36576,7 +36576,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36576
36576
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36577
36577
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36578
36578
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36579
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36579
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36580
36580
|
let fetchResult;
|
|
36581
36581
|
try {
|
|
36582
36582
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36745,7 +36745,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36745
36745
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36746
36746
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36747
36747
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36748
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36748
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36749
36749
|
let fetchResult;
|
|
36750
36750
|
try {
|
|
36751
36751
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36965,7 +36965,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36965
36965
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36966
36966
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36967
36967
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36968
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36968
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36969
36969
|
let fetchResult;
|
|
36970
36970
|
try {
|
|
36971
36971
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37656,7 +37656,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37656
37656
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37657
37657
|
*/
|
|
37658
37658
|
static async fromJsonLd(json, options = {}) {
|
|
37659
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
37659
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37660
37660
|
try {
|
|
37661
37661
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
37662
37662
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38360,7 +38360,7 @@ var Page = class Page extends Document {
|
|
|
38360
38360
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38361
38361
|
*/
|
|
38362
38362
|
static async fromJsonLd(json, options = {}) {
|
|
38363
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
38363
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38364
38364
|
try {
|
|
38365
38365
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
38366
38366
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38758,7 +38758,7 @@ var Person = class Person extends Object$1 {
|
|
|
38758
38758
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38759
38759
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38760
38760
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38761
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
38761
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38762
38762
|
let fetchResult;
|
|
38763
38763
|
try {
|
|
38764
38764
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38926,7 +38926,7 @@ var Person = class Person extends Object$1 {
|
|
|
38926
38926
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38927
38927
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38928
38928
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38929
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
38929
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38930
38930
|
let fetchResult;
|
|
38931
38931
|
try {
|
|
38932
38932
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39112,7 +39112,7 @@ var Person = class Person extends Object$1 {
|
|
|
39112
39112
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39113
39113
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39114
39114
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39115
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
39115
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39116
39116
|
let fetchResult;
|
|
39117
39117
|
try {
|
|
39118
39118
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39257,7 +39257,7 @@ var Person = class Person extends Object$1 {
|
|
|
39257
39257
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39258
39258
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39259
39259
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39260
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
39260
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39261
39261
|
let fetchResult;
|
|
39262
39262
|
try {
|
|
39263
39263
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39399,7 +39399,7 @@ var Person = class Person extends Object$1 {
|
|
|
39399
39399
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39400
39400
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39401
39401
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39402
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
39402
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39403
39403
|
let fetchResult;
|
|
39404
39404
|
try {
|
|
39405
39405
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39526,7 +39526,7 @@ var Person = class Person extends Object$1 {
|
|
|
39526
39526
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39527
39527
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39528
39528
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39529
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
39529
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39530
39530
|
let fetchResult;
|
|
39531
39531
|
try {
|
|
39532
39532
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39656,7 +39656,7 @@ var Person = class Person extends Object$1 {
|
|
|
39656
39656
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39657
39657
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39658
39658
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39659
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
39659
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39660
39660
|
let fetchResult;
|
|
39661
39661
|
try {
|
|
39662
39662
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39784,7 +39784,7 @@ var Person = class Person extends Object$1 {
|
|
|
39784
39784
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39785
39785
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39786
39786
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39787
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
39787
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39788
39788
|
let fetchResult;
|
|
39789
39789
|
try {
|
|
39790
39790
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39910,7 +39910,7 @@ var Person = class Person extends Object$1 {
|
|
|
39910
39910
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39911
39911
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39912
39912
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39913
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
39913
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39914
39914
|
let fetchResult;
|
|
39915
39915
|
try {
|
|
39916
39916
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40036,7 +40036,7 @@ var Person = class Person extends Object$1 {
|
|
|
40036
40036
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40037
40037
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40038
40038
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40039
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40039
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40040
40040
|
let fetchResult;
|
|
40041
40041
|
try {
|
|
40042
40042
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40201,7 +40201,7 @@ var Person = class Person extends Object$1 {
|
|
|
40201
40201
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40202
40202
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40203
40203
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40204
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40204
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40205
40205
|
let fetchResult;
|
|
40206
40206
|
try {
|
|
40207
40207
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40370,7 +40370,7 @@ var Person = class Person extends Object$1 {
|
|
|
40370
40370
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40371
40371
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40372
40372
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40373
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40373
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40374
40374
|
let fetchResult;
|
|
40375
40375
|
try {
|
|
40376
40376
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40590,7 +40590,7 @@ var Person = class Person extends Object$1 {
|
|
|
40590
40590
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40591
40591
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40592
40592
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40593
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40593
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40594
40594
|
let fetchResult;
|
|
40595
40595
|
try {
|
|
40596
40596
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41281,7 +41281,7 @@ var Person = class Person extends Object$1 {
|
|
|
41281
41281
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41282
41282
|
*/
|
|
41283
41283
|
static async fromJsonLd(json, options = {}) {
|
|
41284
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
41284
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41285
41285
|
try {
|
|
41286
41286
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
41287
41287
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42162,7 +42162,7 @@ var Place = class Place extends Object$1 {
|
|
|
42162
42162
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42163
42163
|
*/
|
|
42164
42164
|
static async fromJsonLd(json, options = {}) {
|
|
42165
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
42165
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42166
42166
|
try {
|
|
42167
42167
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
42168
42168
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42390,7 +42390,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
42390
42390
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42391
42391
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42392
42392
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42393
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
42393
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42394
42394
|
let fetchResult;
|
|
42395
42395
|
try {
|
|
42396
42396
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42594,7 +42594,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
42594
42594
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42595
42595
|
*/
|
|
42596
42596
|
static async fromJsonLd(json, options = {}) {
|
|
42597
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
42597
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42598
42598
|
try {
|
|
42599
42599
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
42600
42600
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42799,7 +42799,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
42799
42799
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42800
42800
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42801
42801
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42802
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
42802
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42803
42803
|
let fetchResult;
|
|
42804
42804
|
try {
|
|
42805
42805
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42924,7 +42924,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
42924
42924
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42925
42925
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42926
42926
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42927
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
42927
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42928
42928
|
let fetchResult;
|
|
42929
42929
|
try {
|
|
42930
42930
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43065,7 +43065,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
43065
43065
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43066
43066
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43067
43067
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43068
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
43068
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43069
43069
|
let fetchResult;
|
|
43070
43070
|
try {
|
|
43071
43071
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43206,7 +43206,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
43206
43206
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43207
43207
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43208
43208
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43209
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
43209
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43210
43210
|
let fetchResult;
|
|
43211
43211
|
try {
|
|
43212
43212
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43461,7 +43461,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
43461
43461
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43462
43462
|
*/
|
|
43463
43463
|
static async fromJsonLd(json, options = {}) {
|
|
43464
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
43464
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43465
43465
|
try {
|
|
43466
43466
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
43467
43467
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43773,7 +43773,7 @@ var Read = class Read extends Activity {
|
|
|
43773
43773
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43774
43774
|
*/
|
|
43775
43775
|
static async fromJsonLd(json, options = {}) {
|
|
43776
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
43776
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43777
43777
|
try {
|
|
43778
43778
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
43779
43779
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43925,7 +43925,7 @@ var Reject = class Reject extends Activity {
|
|
|
43925
43925
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43926
43926
|
*/
|
|
43927
43927
|
static async fromJsonLd(json, options = {}) {
|
|
43928
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
43928
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43929
43929
|
try {
|
|
43930
43930
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
43931
43931
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44101,7 +44101,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
44101
44101
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44102
44102
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44103
44103
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44104
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44104
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44105
44105
|
let fetchResult;
|
|
44106
44106
|
try {
|
|
44107
44107
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44227,7 +44227,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
44227
44227
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44228
44228
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44229
44229
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44230
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44230
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44231
44231
|
let fetchResult;
|
|
44232
44232
|
try {
|
|
44233
44233
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44395,7 +44395,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
44395
44395
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44396
44396
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44397
44397
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44398
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44398
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44399
44399
|
let fetchResult;
|
|
44400
44400
|
try {
|
|
44401
44401
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44679,7 +44679,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
44679
44679
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44680
44680
|
*/
|
|
44681
44681
|
static async fromJsonLd(json, options = {}) {
|
|
44682
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
44682
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44683
44683
|
try {
|
|
44684
44684
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
44685
44685
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44912,7 +44912,7 @@ var Remove = class Remove extends Activity {
|
|
|
44912
44912
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44913
44913
|
*/
|
|
44914
44914
|
static async fromJsonLd(json, options = {}) {
|
|
44915
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
44915
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44916
44916
|
try {
|
|
44917
44917
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
44918
44918
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45310,7 +45310,7 @@ var Service = class Service extends Object$1 {
|
|
|
45310
45310
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45311
45311
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45312
45312
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45313
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45313
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45314
45314
|
let fetchResult;
|
|
45315
45315
|
try {
|
|
45316
45316
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45478,7 +45478,7 @@ var Service = class Service extends Object$1 {
|
|
|
45478
45478
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45479
45479
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45480
45480
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45481
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45481
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45482
45482
|
let fetchResult;
|
|
45483
45483
|
try {
|
|
45484
45484
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45664,7 +45664,7 @@ var Service = class Service extends Object$1 {
|
|
|
45664
45664
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45665
45665
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45666
45666
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45667
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45667
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45668
45668
|
let fetchResult;
|
|
45669
45669
|
try {
|
|
45670
45670
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45809,7 +45809,7 @@ var Service = class Service extends Object$1 {
|
|
|
45809
45809
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45810
45810
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45811
45811
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45812
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45812
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45813
45813
|
let fetchResult;
|
|
45814
45814
|
try {
|
|
45815
45815
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45951,7 +45951,7 @@ var Service = class Service extends Object$1 {
|
|
|
45951
45951
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45952
45952
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45953
45953
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45954
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45954
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45955
45955
|
let fetchResult;
|
|
45956
45956
|
try {
|
|
45957
45957
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46078,7 +46078,7 @@ var Service = class Service extends Object$1 {
|
|
|
46078
46078
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46079
46079
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46080
46080
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46081
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
46081
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46082
46082
|
let fetchResult;
|
|
46083
46083
|
try {
|
|
46084
46084
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46208,7 +46208,7 @@ var Service = class Service extends Object$1 {
|
|
|
46208
46208
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46209
46209
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46210
46210
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46211
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
46211
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46212
46212
|
let fetchResult;
|
|
46213
46213
|
try {
|
|
46214
46214
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46336,7 +46336,7 @@ var Service = class Service extends Object$1 {
|
|
|
46336
46336
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46337
46337
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46338
46338
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46339
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
46339
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46340
46340
|
let fetchResult;
|
|
46341
46341
|
try {
|
|
46342
46342
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46462,7 +46462,7 @@ var Service = class Service extends Object$1 {
|
|
|
46462
46462
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46463
46463
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46464
46464
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46465
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
46465
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46466
46466
|
let fetchResult;
|
|
46467
46467
|
try {
|
|
46468
46468
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46588,7 +46588,7 @@ var Service = class Service extends Object$1 {
|
|
|
46588
46588
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46589
46589
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46590
46590
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46591
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
46591
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46592
46592
|
let fetchResult;
|
|
46593
46593
|
try {
|
|
46594
46594
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46753,7 +46753,7 @@ var Service = class Service extends Object$1 {
|
|
|
46753
46753
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46754
46754
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46755
46755
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46756
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
46756
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46757
46757
|
let fetchResult;
|
|
46758
46758
|
try {
|
|
46759
46759
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46922,7 +46922,7 @@ var Service = class Service extends Object$1 {
|
|
|
46922
46922
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46923
46923
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46924
46924
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46925
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
46925
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46926
46926
|
let fetchResult;
|
|
46927
46927
|
try {
|
|
46928
46928
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47142,7 +47142,7 @@ var Service = class Service extends Object$1 {
|
|
|
47142
47142
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47143
47143
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47144
47144
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47145
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47145
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47146
47146
|
let fetchResult;
|
|
47147
47147
|
try {
|
|
47148
47148
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47833,7 +47833,7 @@ var Service = class Service extends Object$1 {
|
|
|
47833
47833
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47834
47834
|
*/
|
|
47835
47835
|
static async fromJsonLd(json, options = {}) {
|
|
47836
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
47836
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47837
47837
|
try {
|
|
47838
47838
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
47839
47839
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48637,7 +48637,7 @@ var Source = class {
|
|
|
48637
48637
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48638
48638
|
*/
|
|
48639
48639
|
static async fromJsonLd(json, options = {}) {
|
|
48640
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
48640
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48641
48641
|
try {
|
|
48642
48642
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
48643
48643
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48826,7 +48826,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
48826
48826
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48827
48827
|
*/
|
|
48828
48828
|
static async fromJsonLd(json, options = {}) {
|
|
48829
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
48829
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48830
48830
|
try {
|
|
48831
48831
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
48832
48832
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48978,7 +48978,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
48978
48978
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48979
48979
|
*/
|
|
48980
48980
|
static async fromJsonLd(json, options = {}) {
|
|
48981
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
48981
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48982
48982
|
try {
|
|
48983
48983
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
48984
48984
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49219,7 +49219,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
49219
49219
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49220
49220
|
*/
|
|
49221
49221
|
static async fromJsonLd(json, options = {}) {
|
|
49222
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
49222
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49223
49223
|
try {
|
|
49224
49224
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
49225
49225
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49416,7 +49416,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
49416
49416
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49417
49417
|
*/
|
|
49418
49418
|
static async fromJsonLd(json, options = {}) {
|
|
49419
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
49419
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49420
49420
|
try {
|
|
49421
49421
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
49422
49422
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49582,7 +49582,7 @@ var Undo = class Undo extends Activity {
|
|
|
49582
49582
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49583
49583
|
*/
|
|
49584
49584
|
static async fromJsonLd(json, options = {}) {
|
|
49585
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
49585
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49586
49586
|
try {
|
|
49587
49587
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
49588
49588
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49796,7 +49796,7 @@ var Update = class Update extends Activity {
|
|
|
49796
49796
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49797
49797
|
*/
|
|
49798
49798
|
static async fromJsonLd(json, options = {}) {
|
|
49799
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
49799
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49800
49800
|
try {
|
|
49801
49801
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
49802
49802
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49961,7 +49961,7 @@ var Video = class Video extends Document {
|
|
|
49961
49961
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49962
49962
|
*/
|
|
49963
49963
|
static async fromJsonLd(json, options = {}) {
|
|
49964
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
49964
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49965
49965
|
try {
|
|
49966
49966
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
49967
49967
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50112,7 +50112,7 @@ var View = class View extends Activity {
|
|
|
50112
50112
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50113
50113
|
*/
|
|
50114
50114
|
static async fromJsonLd(json, options = {}) {
|
|
50115
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
50115
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50116
50116
|
try {
|
|
50117
50117
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
50118
50118
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|