@fedify/vocab 2.1.25 → 2.1.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deno.json +1 -1
- package/dist/mod.cjs +202 -202
- package/dist/mod.js +202 -202
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/{deno-DHi8-LT3.mjs → deno-Cz-KMvez.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-CyEe0PZp.mjs → vocab-CUCvA5FQ.mjs} +201 -201
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
package/dist/mod.js
CHANGED
|
@@ -9,7 +9,7 @@ import { isTemporalDuration, isTemporalInstant } from "@fedify/vocab-runtime/tem
|
|
|
9
9
|
import { delay } from "es-toolkit";
|
|
10
10
|
//#region deno.json
|
|
11
11
|
var name = "@fedify/vocab";
|
|
12
|
-
var version = "2.1.
|
|
12
|
+
var version = "2.1.26";
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/type.ts
|
|
15
15
|
function getTypeId(object) {
|
|
@@ -700,7 +700,7 @@ var Object$1 = class Object$1 {
|
|
|
700
700
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
701
701
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
702
702
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
703
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
703
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
704
704
|
let fetchResult;
|
|
705
705
|
try {
|
|
706
706
|
fetchResult = await documentLoader(url.href);
|
|
@@ -856,7 +856,7 @@ var Object$1 = class Object$1 {
|
|
|
856
856
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
857
857
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
858
858
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
859
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
859
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
860
860
|
let fetchResult;
|
|
861
861
|
try {
|
|
862
862
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1087,7 +1087,7 @@ var Object$1 = class Object$1 {
|
|
|
1087
1087
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1088
1088
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1089
1089
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1090
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1090
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1091
1091
|
let fetchResult;
|
|
1092
1092
|
try {
|
|
1093
1093
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1290,7 +1290,7 @@ var Object$1 = class Object$1 {
|
|
|
1290
1290
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1291
1291
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1292
1292
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1293
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1293
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1294
1294
|
let fetchResult;
|
|
1295
1295
|
try {
|
|
1296
1296
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1462,7 +1462,7 @@ var Object$1 = class Object$1 {
|
|
|
1462
1462
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1463
1463
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1464
1464
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1465
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1465
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1466
1466
|
let fetchResult;
|
|
1467
1467
|
try {
|
|
1468
1468
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1602,7 +1602,7 @@ var Object$1 = class Object$1 {
|
|
|
1602
1602
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1603
1603
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1604
1604
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1605
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1605
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1606
1606
|
let fetchResult;
|
|
1607
1607
|
try {
|
|
1608
1608
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1787,7 +1787,7 @@ var Object$1 = class Object$1 {
|
|
|
1787
1787
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1788
1788
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1789
1789
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1790
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1790
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1791
1791
|
let fetchResult;
|
|
1792
1792
|
try {
|
|
1793
1793
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1972,7 +1972,7 @@ var Object$1 = class Object$1 {
|
|
|
1972
1972
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1973
1973
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1974
1974
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1975
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1975
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1976
1976
|
let fetchResult;
|
|
1977
1977
|
try {
|
|
1978
1978
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2165,7 +2165,7 @@ var Object$1 = class Object$1 {
|
|
|
2165
2165
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2166
2166
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2167
2167
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2168
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2168
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2169
2169
|
let fetchResult;
|
|
2170
2170
|
try {
|
|
2171
2171
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2358,7 +2358,7 @@ var Object$1 = class Object$1 {
|
|
|
2358
2358
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2359
2359
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2360
2360
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2361
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2361
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2362
2362
|
let fetchResult;
|
|
2363
2363
|
try {
|
|
2364
2364
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2556,7 +2556,7 @@ var Object$1 = class Object$1 {
|
|
|
2556
2556
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2557
2557
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2558
2558
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2559
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2559
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2560
2560
|
let fetchResult;
|
|
2561
2561
|
try {
|
|
2562
2562
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2686,7 +2686,7 @@ var Object$1 = class Object$1 {
|
|
|
2686
2686
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2687
2687
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2688
2688
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2689
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2689
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2690
2690
|
let fetchResult;
|
|
2691
2691
|
try {
|
|
2692
2692
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2822,7 +2822,7 @@ var Object$1 = class Object$1 {
|
|
|
2822
2822
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2823
2823
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2824
2824
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2825
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2825
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2826
2826
|
let fetchResult;
|
|
2827
2827
|
try {
|
|
2828
2828
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2958,7 +2958,7 @@ var Object$1 = class Object$1 {
|
|
|
2958
2958
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2959
2959
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2960
2960
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2961
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2961
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2962
2962
|
let fetchResult;
|
|
2963
2963
|
try {
|
|
2964
2964
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3112,7 +3112,7 @@ var Object$1 = class Object$1 {
|
|
|
3112
3112
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3113
3113
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3114
3114
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3115
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3115
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3116
3116
|
let fetchResult;
|
|
3117
3117
|
try {
|
|
3118
3118
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3274,7 +3274,7 @@ var Object$1 = class Object$1 {
|
|
|
3274
3274
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3275
3275
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3276
3276
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3277
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3277
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3278
3278
|
let fetchResult;
|
|
3279
3279
|
try {
|
|
3280
3280
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3457,7 +3457,7 @@ var Object$1 = class Object$1 {
|
|
|
3457
3457
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3458
3458
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3459
3459
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3460
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3460
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3461
3461
|
let fetchResult;
|
|
3462
3462
|
try {
|
|
3463
3463
|
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.1.
|
|
3643
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3644
3644
|
let fetchResult;
|
|
3645
3645
|
try {
|
|
3646
3646
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3823,7 +3823,7 @@ var Object$1 = class Object$1 {
|
|
|
3823
3823
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3824
3824
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3825
3825
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3826
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3826
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3827
3827
|
let fetchResult;
|
|
3828
3828
|
try {
|
|
3829
3829
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4043,7 +4043,7 @@ var Object$1 = class Object$1 {
|
|
|
4043
4043
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4044
4044
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4045
4045
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4046
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4046
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4047
4047
|
let fetchResult;
|
|
4048
4048
|
try {
|
|
4049
4049
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4249,7 +4249,7 @@ var Object$1 = class Object$1 {
|
|
|
4249
4249
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4250
4250
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4251
4251
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4252
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4252
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4253
4253
|
let fetchResult;
|
|
4254
4254
|
try {
|
|
4255
4255
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4379,7 +4379,7 @@ var Object$1 = class Object$1 {
|
|
|
4379
4379
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4380
4380
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4381
4381
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4382
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4382
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4383
4383
|
let fetchResult;
|
|
4384
4384
|
try {
|
|
4385
4385
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4509,7 +4509,7 @@ var Object$1 = class Object$1 {
|
|
|
4509
4509
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4510
4510
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4511
4511
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4512
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4512
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4513
4513
|
let fetchResult;
|
|
4514
4514
|
try {
|
|
4515
4515
|
fetchResult = await documentLoader(url.href);
|
|
@@ -5345,7 +5345,7 @@ var Object$1 = class Object$1 {
|
|
|
5345
5345
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5346
5346
|
*/
|
|
5347
5347
|
static async fromJsonLd(json, options = {}) {
|
|
5348
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
5348
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5349
5349
|
try {
|
|
5350
5350
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
5351
5351
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6821,7 +6821,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
6821
6821
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6822
6822
|
*/
|
|
6823
6823
|
static async fromJsonLd(json, options = {}) {
|
|
6824
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
6824
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6825
6825
|
try {
|
|
6826
6826
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
6827
6827
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7062,7 +7062,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7062
7062
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7063
7063
|
*/
|
|
7064
7064
|
static async fromJsonLd(json, options = {}) {
|
|
7065
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
7065
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7066
7066
|
try {
|
|
7067
7067
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
7068
7068
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7351,7 +7351,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7351
7351
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7352
7352
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7353
7353
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7354
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7354
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7355
7355
|
let fetchResult;
|
|
7356
7356
|
try {
|
|
7357
7357
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7582,7 +7582,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7582
7582
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7583
7583
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7584
7584
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7585
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7585
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7586
7586
|
let fetchResult;
|
|
7587
7587
|
try {
|
|
7588
7588
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7767,7 +7767,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7767
7767
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7768
7768
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7769
7769
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7770
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7770
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7771
7771
|
let fetchResult;
|
|
7772
7772
|
try {
|
|
7773
7773
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7958,7 +7958,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7958
7958
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7959
7959
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7960
7960
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7961
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7961
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7962
7962
|
let fetchResult;
|
|
7963
7963
|
try {
|
|
7964
7964
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8143,7 +8143,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8143
8143
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8144
8144
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8145
8145
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8146
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
8146
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8147
8147
|
let fetchResult;
|
|
8148
8148
|
try {
|
|
8149
8149
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8330,7 +8330,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8330
8330
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8331
8331
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8332
8332
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8333
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
8333
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8334
8334
|
let fetchResult;
|
|
8335
8335
|
try {
|
|
8336
8336
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8600,7 +8600,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8600
8600
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8601
8601
|
*/
|
|
8602
8602
|
static async fromJsonLd(json, options = {}) {
|
|
8603
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
8603
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8604
8604
|
try {
|
|
8605
8605
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
8606
8606
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8938,7 +8938,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
8938
8938
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8939
8939
|
*/
|
|
8940
8940
|
static async fromJsonLd(json, options = {}) {
|
|
8941
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
8941
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8942
8942
|
try {
|
|
8943
8943
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
8944
8944
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9198,7 +9198,7 @@ var PropertyValue = class {
|
|
|
9198
9198
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9199
9199
|
*/
|
|
9200
9200
|
static async fromJsonLd(json, options = {}) {
|
|
9201
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9201
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9202
9202
|
try {
|
|
9203
9203
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
9204
9204
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9368,7 +9368,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9368
9368
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9369
9369
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9370
9370
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9371
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
9371
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9372
9372
|
let fetchResult;
|
|
9373
9373
|
try {
|
|
9374
9374
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9498,7 +9498,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9498
9498
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9499
9499
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9500
9500
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9501
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
9501
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9502
9502
|
let fetchResult;
|
|
9503
9503
|
try {
|
|
9504
9504
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9723,7 +9723,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9723
9723
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9724
9724
|
*/
|
|
9725
9725
|
static async fromJsonLd(json, options = {}) {
|
|
9726
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9726
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9727
9727
|
try {
|
|
9728
9728
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
9729
9729
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9926,7 +9926,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
9926
9926
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9927
9927
|
*/
|
|
9928
9928
|
static async fromJsonLd(json, options = {}) {
|
|
9929
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9929
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9930
9930
|
try {
|
|
9931
9931
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
9932
9932
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10180,7 +10180,7 @@ var InteractionPolicy = class {
|
|
|
10180
10180
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10181
10181
|
*/
|
|
10182
10182
|
static async fromJsonLd(json, options = {}) {
|
|
10183
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
10183
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10184
10184
|
try {
|
|
10185
10185
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
10186
10186
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10502,7 +10502,7 @@ var InteractionRule = class {
|
|
|
10502
10502
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10503
10503
|
*/
|
|
10504
10504
|
static async fromJsonLd(json, options = {}) {
|
|
10505
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
10505
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10506
10506
|
try {
|
|
10507
10507
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
10508
10508
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10665,7 +10665,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10665
10665
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10666
10666
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10667
10667
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10668
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10668
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10669
10669
|
let fetchResult;
|
|
10670
10670
|
try {
|
|
10671
10671
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10795,7 +10795,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10795
10795
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10796
10796
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10797
10797
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10798
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10798
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10799
10799
|
let fetchResult;
|
|
10800
10800
|
try {
|
|
10801
10801
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11020,7 +11020,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11020
11020
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11021
11021
|
*/
|
|
11022
11022
|
static async fromJsonLd(json, options = {}) {
|
|
11023
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11023
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11024
11024
|
try {
|
|
11025
11025
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
11026
11026
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11222,7 +11222,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
11222
11222
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11223
11223
|
*/
|
|
11224
11224
|
static async fromJsonLd(json, options = {}) {
|
|
11225
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11225
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11226
11226
|
try {
|
|
11227
11227
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
11228
11228
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11355,7 +11355,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11355
11355
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11356
11356
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11357
11357
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11358
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
11358
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11359
11359
|
let fetchResult;
|
|
11360
11360
|
try {
|
|
11361
11361
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11485,7 +11485,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11485
11485
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11486
11486
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11487
11487
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11488
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
11488
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11489
11489
|
let fetchResult;
|
|
11490
11490
|
try {
|
|
11491
11491
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11710,7 +11710,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11710
11710
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11711
11711
|
*/
|
|
11712
11712
|
static async fromJsonLd(json, options = {}) {
|
|
11713
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11713
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11714
11714
|
try {
|
|
11715
11715
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
11716
11716
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11912,7 +11912,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
11912
11912
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11913
11913
|
*/
|
|
11914
11914
|
static async fromJsonLd(json, options = {}) {
|
|
11915
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11915
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11916
11916
|
try {
|
|
11917
11917
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
11918
11918
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12132,7 +12132,7 @@ var DidService = class {
|
|
|
12132
12132
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12133
12133
|
*/
|
|
12134
12134
|
static async fromJsonLd(json, options = {}) {
|
|
12135
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12135
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12136
12136
|
try {
|
|
12137
12137
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
12138
12138
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12290,7 +12290,7 @@ var Export = class Export extends DidService {
|
|
|
12290
12290
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12291
12291
|
*/
|
|
12292
12292
|
static async fromJsonLd(json, options = {}) {
|
|
12293
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12293
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12294
12294
|
try {
|
|
12295
12295
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
12296
12296
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12477,7 +12477,7 @@ var DataIntegrityProof = class {
|
|
|
12477
12477
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12478
12478
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12479
12479
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12480
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
12480
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12481
12481
|
let fetchResult;
|
|
12482
12482
|
try {
|
|
12483
12483
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12696,7 +12696,7 @@ var DataIntegrityProof = class {
|
|
|
12696
12696
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12697
12697
|
*/
|
|
12698
12698
|
static async fromJsonLd(json, options = {}) {
|
|
12699
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12699
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12700
12700
|
try {
|
|
12701
12701
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
12702
12702
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12934,7 +12934,7 @@ var CryptographicKey = class {
|
|
|
12934
12934
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12935
12935
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12936
12936
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12937
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
12937
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12938
12938
|
let fetchResult;
|
|
12939
12939
|
try {
|
|
12940
12940
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13205,7 +13205,7 @@ var CryptographicKey = class {
|
|
|
13205
13205
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13206
13206
|
*/
|
|
13207
13207
|
static async fromJsonLd(json, options = {}) {
|
|
13208
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13208
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13209
13209
|
try {
|
|
13210
13210
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
13211
13211
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13420,7 +13420,7 @@ var Multikey = class {
|
|
|
13420
13420
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13421
13421
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13422
13422
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13423
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
13423
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13424
13424
|
let fetchResult;
|
|
13425
13425
|
try {
|
|
13426
13426
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13697,7 +13697,7 @@ var Multikey = class {
|
|
|
13697
13697
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13698
13698
|
*/
|
|
13699
13699
|
static async fromJsonLd(json, options = {}) {
|
|
13700
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13700
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13701
13701
|
try {
|
|
13702
13702
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
13703
13703
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13900,7 +13900,7 @@ var Accept = class Accept extends Activity {
|
|
|
13900
13900
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13901
13901
|
*/
|
|
13902
13902
|
static async fromJsonLd(json, options = {}) {
|
|
13903
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13903
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13904
13904
|
try {
|
|
13905
13905
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
13906
13906
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14054,7 +14054,7 @@ var Add = class Add extends Activity {
|
|
|
14054
14054
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14055
14055
|
*/
|
|
14056
14056
|
static async fromJsonLd(json, options = {}) {
|
|
14057
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
14057
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14058
14058
|
try {
|
|
14059
14059
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
14060
14060
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14225,7 +14225,7 @@ var Announce = class Announce extends Activity {
|
|
|
14225
14225
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14226
14226
|
*/
|
|
14227
14227
|
static async fromJsonLd(json, options = {}) {
|
|
14228
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
14228
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14229
14229
|
try {
|
|
14230
14230
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
14231
14231
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14622,7 +14622,7 @@ var Application = class Application extends Object$1 {
|
|
|
14622
14622
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14623
14623
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14624
14624
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14625
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14625
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14626
14626
|
let fetchResult;
|
|
14627
14627
|
try {
|
|
14628
14628
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14803,7 +14803,7 @@ var Application = class Application extends Object$1 {
|
|
|
14803
14803
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14804
14804
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14805
14805
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14806
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14806
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14807
14807
|
let fetchResult;
|
|
14808
14808
|
try {
|
|
14809
14809
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15002,7 +15002,7 @@ var Application = class Application extends Object$1 {
|
|
|
15002
15002
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15003
15003
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15004
15004
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15005
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15005
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15006
15006
|
let fetchResult;
|
|
15007
15007
|
try {
|
|
15008
15008
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15153,7 +15153,7 @@ var Application = class Application extends Object$1 {
|
|
|
15153
15153
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15154
15154
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15155
15155
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15156
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15156
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15157
15157
|
let fetchResult;
|
|
15158
15158
|
try {
|
|
15159
15159
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15301,7 +15301,7 @@ var Application = class Application extends Object$1 {
|
|
|
15301
15301
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15302
15302
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15303
15303
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15304
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15304
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15305
15305
|
let fetchResult;
|
|
15306
15306
|
try {
|
|
15307
15307
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15434,7 +15434,7 @@ var Application = class Application extends Object$1 {
|
|
|
15434
15434
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15435
15435
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15436
15436
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15437
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15437
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15438
15438
|
let fetchResult;
|
|
15439
15439
|
try {
|
|
15440
15440
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15570,7 +15570,7 @@ var Application = class Application extends Object$1 {
|
|
|
15570
15570
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15571
15571
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15572
15572
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15573
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15573
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15574
15574
|
let fetchResult;
|
|
15575
15575
|
try {
|
|
15576
15576
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15704,7 +15704,7 @@ var Application = class Application extends Object$1 {
|
|
|
15704
15704
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15705
15705
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15706
15706
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15707
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15707
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15708
15708
|
let fetchResult;
|
|
15709
15709
|
try {
|
|
15710
15710
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15836,7 +15836,7 @@ var Application = class Application extends Object$1 {
|
|
|
15836
15836
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15837
15837
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15838
15838
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15839
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15839
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15840
15840
|
let fetchResult;
|
|
15841
15841
|
try {
|
|
15842
15842
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15968,7 +15968,7 @@ var Application = class Application extends Object$1 {
|
|
|
15968
15968
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15969
15969
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15970
15970
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15971
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15971
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15972
15972
|
let fetchResult;
|
|
15973
15973
|
try {
|
|
15974
15974
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16140,7 +16140,7 @@ var Application = class Application extends Object$1 {
|
|
|
16140
16140
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16141
16141
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16142
16142
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16143
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
16143
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16144
16144
|
let fetchResult;
|
|
16145
16145
|
try {
|
|
16146
16146
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16315,7 +16315,7 @@ var Application = class Application extends Object$1 {
|
|
|
16315
16315
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16316
16316
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16317
16317
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16318
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
16318
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16319
16319
|
let fetchResult;
|
|
16320
16320
|
try {
|
|
16321
16321
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16548,7 +16548,7 @@ var Application = class Application extends Object$1 {
|
|
|
16548
16548
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16549
16549
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16550
16550
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16551
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
16551
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16552
16552
|
let fetchResult;
|
|
16553
16553
|
try {
|
|
16554
16554
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17252,7 +17252,7 @@ var Application = class Application extends Object$1 {
|
|
|
17252
17252
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17253
17253
|
*/
|
|
17254
17254
|
static async fromJsonLd(json, options = {}) {
|
|
17255
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17255
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17256
17256
|
try {
|
|
17257
17257
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
17258
17258
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17862,7 +17862,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
17862
17862
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17863
17863
|
*/
|
|
17864
17864
|
static async fromJsonLd(json, options = {}) {
|
|
17865
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17865
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17866
17866
|
try {
|
|
17867
17867
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
17868
17868
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18017,7 +18017,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
18017
18017
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18018
18018
|
*/
|
|
18019
18019
|
static async fromJsonLd(json, options = {}) {
|
|
18020
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18020
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18021
18021
|
try {
|
|
18022
18022
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
18023
18023
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18256,7 +18256,7 @@ var Article = class Article extends Object$1 {
|
|
|
18256
18256
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18257
18257
|
*/
|
|
18258
18258
|
static async fromJsonLd(json, options = {}) {
|
|
18259
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18259
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18260
18260
|
try {
|
|
18261
18261
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
18262
18262
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18501,7 +18501,7 @@ var Document = class Document extends Object$1 {
|
|
|
18501
18501
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18502
18502
|
*/
|
|
18503
18503
|
static async fromJsonLd(json, options = {}) {
|
|
18504
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18504
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18505
18505
|
try {
|
|
18506
18506
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
18507
18507
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18698,7 +18698,7 @@ var Audio = class Audio extends Document {
|
|
|
18698
18698
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18699
18699
|
*/
|
|
18700
18700
|
static async fromJsonLd(json, options = {}) {
|
|
18701
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18701
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18702
18702
|
try {
|
|
18703
18703
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
18704
18704
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18849,7 +18849,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
18849
18849
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18850
18850
|
*/
|
|
18851
18851
|
static async fromJsonLd(json, options = {}) {
|
|
18852
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18852
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18853
18853
|
try {
|
|
18854
18854
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
18855
18855
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19003,7 +19003,7 @@ var Block = class Block extends Ignore {
|
|
|
19003
19003
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19004
19004
|
*/
|
|
19005
19005
|
static async fromJsonLd(json, options = {}) {
|
|
19006
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
19006
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19007
19007
|
try {
|
|
19008
19008
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
19009
19009
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19269,7 +19269,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19269
19269
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19270
19270
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19271
19271
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19272
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19272
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19273
19273
|
let fetchResult;
|
|
19274
19274
|
try {
|
|
19275
19275
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19399,7 +19399,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19399
19399
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19400
19400
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19401
19401
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19402
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19402
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19403
19403
|
let fetchResult;
|
|
19404
19404
|
try {
|
|
19405
19405
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19529,7 +19529,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19529
19529
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19530
19530
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19531
19531
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19532
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19532
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19533
19533
|
let fetchResult;
|
|
19534
19534
|
try {
|
|
19535
19535
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19659,7 +19659,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19659
19659
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19660
19660
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19661
19661
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19662
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19662
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19663
19663
|
let fetchResult;
|
|
19664
19664
|
try {
|
|
19665
19665
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19800,7 +19800,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19800
19800
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19801
19801
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19802
19802
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19803
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19803
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19804
19804
|
let fetchResult;
|
|
19805
19805
|
try {
|
|
19806
19806
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19929,7 +19929,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19929
19929
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19930
19930
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19931
19931
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19932
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19932
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19933
19933
|
let fetchResult;
|
|
19934
19934
|
try {
|
|
19935
19935
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20058,7 +20058,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20058
20058
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20059
20059
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20060
20060
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20061
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20061
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20062
20062
|
let fetchResult;
|
|
20063
20063
|
try {
|
|
20064
20064
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20187,7 +20187,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20187
20187
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20188
20188
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20189
20189
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20190
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20190
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20191
20191
|
let fetchResult;
|
|
20192
20192
|
try {
|
|
20193
20193
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20316,7 +20316,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20316
20316
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20317
20317
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20318
20318
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20319
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20319
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20320
20320
|
let fetchResult;
|
|
20321
20321
|
try {
|
|
20322
20322
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20445,7 +20445,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20445
20445
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20446
20446
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20447
20447
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20448
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20448
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20449
20449
|
let fetchResult;
|
|
20450
20450
|
try {
|
|
20451
20451
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20574,7 +20574,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20574
20574
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20575
20575
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20576
20576
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20577
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20577
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20578
20578
|
let fetchResult;
|
|
20579
20579
|
try {
|
|
20580
20580
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20703,7 +20703,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20703
20703
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20704
20704
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20705
20705
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20706
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20706
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20707
20707
|
let fetchResult;
|
|
20708
20708
|
try {
|
|
20709
20709
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21141,7 +21141,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21141
21141
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21142
21142
|
*/
|
|
21143
21143
|
static async fromJsonLd(json, options = {}) {
|
|
21144
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21144
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21145
21145
|
try {
|
|
21146
21146
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
21147
21147
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21624,7 +21624,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
21624
21624
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21625
21625
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21626
21626
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21627
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
21627
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21628
21628
|
let fetchResult;
|
|
21629
21629
|
try {
|
|
21630
21630
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21754,7 +21754,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
21754
21754
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21755
21755
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21756
21756
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21757
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
21757
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21758
21758
|
let fetchResult;
|
|
21759
21759
|
try {
|
|
21760
21760
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21883,7 +21883,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
21883
21883
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21884
21884
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21885
21885
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21886
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
21886
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21887
21887
|
let fetchResult;
|
|
21888
21888
|
try {
|
|
21889
21889
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22158,7 +22158,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
22158
22158
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22159
22159
|
*/
|
|
22160
22160
|
static async fromJsonLd(json, options = {}) {
|
|
22161
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22161
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22162
22162
|
try {
|
|
22163
22163
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
22164
22164
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22393,7 +22393,7 @@ var Create = class Create extends Activity {
|
|
|
22393
22393
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22394
22394
|
*/
|
|
22395
22395
|
static async fromJsonLd(json, options = {}) {
|
|
22396
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22396
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22397
22397
|
try {
|
|
22398
22398
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
22399
22399
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22560,7 +22560,7 @@ var Delete = class Delete extends Activity {
|
|
|
22560
22560
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22561
22561
|
*/
|
|
22562
22562
|
static async fromJsonLd(json, options = {}) {
|
|
22563
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22563
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22564
22564
|
try {
|
|
22565
22565
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
22566
22566
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22714,7 +22714,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
22714
22714
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22715
22715
|
*/
|
|
22716
22716
|
static async fromJsonLd(json, options = {}) {
|
|
22717
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22717
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22718
22718
|
try {
|
|
22719
22719
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
22720
22720
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23073,7 +23073,7 @@ var Endpoints = class {
|
|
|
23073
23073
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23074
23074
|
*/
|
|
23075
23075
|
static async fromJsonLd(json, options = {}) {
|
|
23076
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
23076
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23077
23077
|
try {
|
|
23078
23078
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
23079
23079
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23321,7 +23321,7 @@ var Event = class Event extends Object$1 {
|
|
|
23321
23321
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23322
23322
|
*/
|
|
23323
23323
|
static async fromJsonLd(json, options = {}) {
|
|
23324
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
23324
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23325
23325
|
try {
|
|
23326
23326
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
23327
23327
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23473,7 +23473,7 @@ var Flag = class Flag extends Activity {
|
|
|
23473
23473
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23474
23474
|
*/
|
|
23475
23475
|
static async fromJsonLd(json, options = {}) {
|
|
23476
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
23476
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23477
23477
|
try {
|
|
23478
23478
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
23479
23479
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23629,7 +23629,7 @@ var Follow = class Follow extends Activity {
|
|
|
23629
23629
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23630
23630
|
*/
|
|
23631
23631
|
static async fromJsonLd(json, options = {}) {
|
|
23632
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
23632
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23633
23633
|
try {
|
|
23634
23634
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
23635
23635
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24026,7 +24026,7 @@ var Group = class Group extends Object$1 {
|
|
|
24026
24026
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24027
24027
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24028
24028
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24029
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24029
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24030
24030
|
let fetchResult;
|
|
24031
24031
|
try {
|
|
24032
24032
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24207,7 +24207,7 @@ var Group = class Group extends Object$1 {
|
|
|
24207
24207
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24208
24208
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24209
24209
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24210
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24210
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24211
24211
|
let fetchResult;
|
|
24212
24212
|
try {
|
|
24213
24213
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24406,7 +24406,7 @@ var Group = class Group extends Object$1 {
|
|
|
24406
24406
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24407
24407
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24408
24408
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24409
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24409
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24410
24410
|
let fetchResult;
|
|
24411
24411
|
try {
|
|
24412
24412
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24557,7 +24557,7 @@ var Group = class Group extends Object$1 {
|
|
|
24557
24557
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24558
24558
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24559
24559
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24560
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24560
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24561
24561
|
let fetchResult;
|
|
24562
24562
|
try {
|
|
24563
24563
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24705,7 +24705,7 @@ var Group = class Group extends Object$1 {
|
|
|
24705
24705
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24706
24706
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24707
24707
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24708
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24708
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24709
24709
|
let fetchResult;
|
|
24710
24710
|
try {
|
|
24711
24711
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24838,7 +24838,7 @@ var Group = class Group extends Object$1 {
|
|
|
24838
24838
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24839
24839
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24840
24840
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24841
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24841
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24842
24842
|
let fetchResult;
|
|
24843
24843
|
try {
|
|
24844
24844
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24974,7 +24974,7 @@ var Group = class Group extends Object$1 {
|
|
|
24974
24974
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24975
24975
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24976
24976
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24977
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24977
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24978
24978
|
let fetchResult;
|
|
24979
24979
|
try {
|
|
24980
24980
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25108,7 +25108,7 @@ var Group = class Group extends Object$1 {
|
|
|
25108
25108
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25109
25109
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25110
25110
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25111
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25111
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25112
25112
|
let fetchResult;
|
|
25113
25113
|
try {
|
|
25114
25114
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25240,7 +25240,7 @@ var Group = class Group extends Object$1 {
|
|
|
25240
25240
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25241
25241
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25242
25242
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25243
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25243
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25244
25244
|
let fetchResult;
|
|
25245
25245
|
try {
|
|
25246
25246
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25372,7 +25372,7 @@ var Group = class Group extends Object$1 {
|
|
|
25372
25372
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25373
25373
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25374
25374
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25375
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25375
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25376
25376
|
let fetchResult;
|
|
25377
25377
|
try {
|
|
25378
25378
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25544,7 +25544,7 @@ var Group = class Group extends Object$1 {
|
|
|
25544
25544
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25545
25545
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25546
25546
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25547
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25547
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25548
25548
|
let fetchResult;
|
|
25549
25549
|
try {
|
|
25550
25550
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25719,7 +25719,7 @@ var Group = class Group extends Object$1 {
|
|
|
25719
25719
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25720
25720
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25721
25721
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25722
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25722
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25723
25723
|
let fetchResult;
|
|
25724
25724
|
try {
|
|
25725
25725
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25952,7 +25952,7 @@ var Group = class Group extends Object$1 {
|
|
|
25952
25952
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25953
25953
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25954
25954
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25955
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25955
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25956
25956
|
let fetchResult;
|
|
25957
25957
|
try {
|
|
25958
25958
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26656,7 +26656,7 @@ var Group = class Group extends Object$1 {
|
|
|
26656
26656
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26657
26657
|
*/
|
|
26658
26658
|
static async fromJsonLd(json, options = {}) {
|
|
26659
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
26659
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26660
26660
|
try {
|
|
26661
26661
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
26662
26662
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27416,7 +27416,7 @@ var Link = class Link {
|
|
|
27416
27416
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27417
27417
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27418
27418
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27419
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
27419
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27420
27420
|
let fetchResult;
|
|
27421
27421
|
try {
|
|
27422
27422
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27718,7 +27718,7 @@ var Link = class Link {
|
|
|
27718
27718
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27719
27719
|
*/
|
|
27720
27720
|
static async fromJsonLd(json, options = {}) {
|
|
27721
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27721
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27722
27722
|
try {
|
|
27723
27723
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
27724
27724
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28073,7 +28073,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
28073
28073
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28074
28074
|
*/
|
|
28075
28075
|
static async fromJsonLd(json, options = {}) {
|
|
28076
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28076
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28077
28077
|
try {
|
|
28078
28078
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
28079
28079
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28237,7 +28237,7 @@ var Image = class Image extends Document {
|
|
|
28237
28237
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28238
28238
|
*/
|
|
28239
28239
|
static async fromJsonLd(json, options = {}) {
|
|
28240
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28240
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28241
28241
|
try {
|
|
28242
28242
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
28243
28243
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28389,7 +28389,7 @@ var Offer = class Offer extends Activity {
|
|
|
28389
28389
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28390
28390
|
*/
|
|
28391
28391
|
static async fromJsonLd(json, options = {}) {
|
|
28392
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28392
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28393
28393
|
try {
|
|
28394
28394
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
28395
28395
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28541,7 +28541,7 @@ var Invite = class Invite extends Offer {
|
|
|
28541
28541
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28542
28542
|
*/
|
|
28543
28543
|
static async fromJsonLd(json, options = {}) {
|
|
28544
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28544
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28545
28545
|
try {
|
|
28546
28546
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
28547
28547
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28692,7 +28692,7 @@ var Join = class Join extends Activity {
|
|
|
28692
28692
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28693
28693
|
*/
|
|
28694
28694
|
static async fromJsonLd(json, options = {}) {
|
|
28695
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28695
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28696
28696
|
try {
|
|
28697
28697
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
28698
28698
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28843,7 +28843,7 @@ var Leave = class Leave extends Activity {
|
|
|
28843
28843
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28844
28844
|
*/
|
|
28845
28845
|
static async fromJsonLd(json, options = {}) {
|
|
28846
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28846
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28847
28847
|
try {
|
|
28848
28848
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
28849
28849
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28998,7 +28998,7 @@ var Like = class Like extends Activity {
|
|
|
28998
28998
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28999
28999
|
*/
|
|
29000
29000
|
static async fromJsonLd(json, options = {}) {
|
|
29001
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
29001
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29002
29002
|
try {
|
|
29003
29003
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
29004
29004
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29148,7 +29148,7 @@ var Listen = class Listen extends Activity {
|
|
|
29148
29148
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29149
29149
|
*/
|
|
29150
29150
|
static async fromJsonLd(json, options = {}) {
|
|
29151
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
29151
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29152
29152
|
try {
|
|
29153
29153
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
29154
29154
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29301,7 +29301,7 @@ var Mention = class Mention extends Link {
|
|
|
29301
29301
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29302
29302
|
*/
|
|
29303
29303
|
static async fromJsonLd(json, options = {}) {
|
|
29304
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
29304
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29305
29305
|
try {
|
|
29306
29306
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
29307
29307
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29453,7 +29453,7 @@ var Move = class Move extends Activity {
|
|
|
29453
29453
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29454
29454
|
*/
|
|
29455
29455
|
static async fromJsonLd(json, options = {}) {
|
|
29456
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
29456
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29457
29457
|
try {
|
|
29458
29458
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
29459
29459
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29693,7 +29693,7 @@ var Note = class Note extends Object$1 {
|
|
|
29693
29693
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29694
29694
|
*/
|
|
29695
29695
|
static async fromJsonLd(json, options = {}) {
|
|
29696
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
29696
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29697
29697
|
try {
|
|
29698
29698
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
29699
29699
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29830,7 +29830,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
29830
29830
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29831
29831
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29832
29832
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29833
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
29833
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29834
29834
|
let fetchResult;
|
|
29835
29835
|
try {
|
|
29836
29836
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30090,7 +30090,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
30090
30090
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30091
30091
|
*/
|
|
30092
30092
|
static async fromJsonLd(json, options = {}) {
|
|
30093
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
30093
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30094
30094
|
try {
|
|
30095
30095
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
30096
30096
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30308,7 +30308,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
30308
30308
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30309
30309
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30310
30310
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30311
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30311
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30312
30312
|
let fetchResult;
|
|
30313
30313
|
try {
|
|
30314
30314
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30591,7 +30591,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
30591
30591
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30592
30592
|
*/
|
|
30593
30593
|
static async fromJsonLd(json, options = {}) {
|
|
30594
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
30594
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30595
30595
|
try {
|
|
30596
30596
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
30597
30597
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31097,7 +31097,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31097
31097
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31098
31098
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31099
31099
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31100
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31100
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31101
31101
|
let fetchResult;
|
|
31102
31102
|
try {
|
|
31103
31103
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31278,7 +31278,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31278
31278
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31279
31279
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31280
31280
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31281
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31281
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31282
31282
|
let fetchResult;
|
|
31283
31283
|
try {
|
|
31284
31284
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31477,7 +31477,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31477
31477
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31478
31478
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31479
31479
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31480
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31480
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31481
31481
|
let fetchResult;
|
|
31482
31482
|
try {
|
|
31483
31483
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31628,7 +31628,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31628
31628
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31629
31629
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31630
31630
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31631
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31631
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31632
31632
|
let fetchResult;
|
|
31633
31633
|
try {
|
|
31634
31634
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31776,7 +31776,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31776
31776
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31777
31777
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31778
31778
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31779
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31779
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31780
31780
|
let fetchResult;
|
|
31781
31781
|
try {
|
|
31782
31782
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31909,7 +31909,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31909
31909
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31910
31910
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31911
31911
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31912
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31912
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31913
31913
|
let fetchResult;
|
|
31914
31914
|
try {
|
|
31915
31915
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32045,7 +32045,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32045
32045
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32046
32046
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32047
32047
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32048
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32048
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32049
32049
|
let fetchResult;
|
|
32050
32050
|
try {
|
|
32051
32051
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32179,7 +32179,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32179
32179
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32180
32180
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32181
32181
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32182
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32182
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32183
32183
|
let fetchResult;
|
|
32184
32184
|
try {
|
|
32185
32185
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32311,7 +32311,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32311
32311
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32312
32312
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32313
32313
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32314
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32314
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32315
32315
|
let fetchResult;
|
|
32316
32316
|
try {
|
|
32317
32317
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32443,7 +32443,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32443
32443
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32444
32444
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32445
32445
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32446
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32446
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32447
32447
|
let fetchResult;
|
|
32448
32448
|
try {
|
|
32449
32449
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32615,7 +32615,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32615
32615
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32616
32616
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32617
32617
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32618
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32618
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32619
32619
|
let fetchResult;
|
|
32620
32620
|
try {
|
|
32621
32621
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32790,7 +32790,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32790
32790
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32791
32791
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32792
32792
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32793
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32793
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32794
32794
|
let fetchResult;
|
|
32795
32795
|
try {
|
|
32796
32796
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33023,7 +33023,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33023
33023
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33024
33024
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33025
33025
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33026
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33026
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33027
33027
|
let fetchResult;
|
|
33028
33028
|
try {
|
|
33029
33029
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33727,7 +33727,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33727
33727
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33728
33728
|
*/
|
|
33729
33729
|
static async fromJsonLd(json, options = {}) {
|
|
33730
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
33730
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33731
33731
|
try {
|
|
33732
33732
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
33733
33733
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34349,7 +34349,7 @@ var Page = class Page extends Document {
|
|
|
34349
34349
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34350
34350
|
*/
|
|
34351
34351
|
static async fromJsonLd(json, options = {}) {
|
|
34352
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
34352
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34353
34353
|
try {
|
|
34354
34354
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
34355
34355
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34746,7 +34746,7 @@ var Person = class Person extends Object$1 {
|
|
|
34746
34746
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34747
34747
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34748
34748
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34749
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34749
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34750
34750
|
let fetchResult;
|
|
34751
34751
|
try {
|
|
34752
34752
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34927,7 +34927,7 @@ var Person = class Person extends Object$1 {
|
|
|
34927
34927
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34928
34928
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34929
34929
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34930
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34930
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34931
34931
|
let fetchResult;
|
|
34932
34932
|
try {
|
|
34933
34933
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35126,7 +35126,7 @@ var Person = class Person extends Object$1 {
|
|
|
35126
35126
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35127
35127
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35128
35128
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35129
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35129
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35130
35130
|
let fetchResult;
|
|
35131
35131
|
try {
|
|
35132
35132
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35277,7 +35277,7 @@ var Person = class Person extends Object$1 {
|
|
|
35277
35277
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35278
35278
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35279
35279
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35280
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35280
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35281
35281
|
let fetchResult;
|
|
35282
35282
|
try {
|
|
35283
35283
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35425,7 +35425,7 @@ var Person = class Person extends Object$1 {
|
|
|
35425
35425
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35426
35426
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35427
35427
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35428
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35428
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35429
35429
|
let fetchResult;
|
|
35430
35430
|
try {
|
|
35431
35431
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35558,7 +35558,7 @@ var Person = class Person extends Object$1 {
|
|
|
35558
35558
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35559
35559
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35560
35560
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35561
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35561
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35562
35562
|
let fetchResult;
|
|
35563
35563
|
try {
|
|
35564
35564
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35694,7 +35694,7 @@ var Person = class Person extends Object$1 {
|
|
|
35694
35694
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35695
35695
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35696
35696
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35697
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35697
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35698
35698
|
let fetchResult;
|
|
35699
35699
|
try {
|
|
35700
35700
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35828,7 +35828,7 @@ var Person = class Person extends Object$1 {
|
|
|
35828
35828
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35829
35829
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35830
35830
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35831
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35831
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35832
35832
|
let fetchResult;
|
|
35833
35833
|
try {
|
|
35834
35834
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35960,7 +35960,7 @@ var Person = class Person extends Object$1 {
|
|
|
35960
35960
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35961
35961
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35962
35962
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35963
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35963
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35964
35964
|
let fetchResult;
|
|
35965
35965
|
try {
|
|
35966
35966
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36092,7 +36092,7 @@ var Person = class Person extends Object$1 {
|
|
|
36092
36092
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36093
36093
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36094
36094
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36095
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36095
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36096
36096
|
let fetchResult;
|
|
36097
36097
|
try {
|
|
36098
36098
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36264,7 +36264,7 @@ var Person = class Person extends Object$1 {
|
|
|
36264
36264
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36265
36265
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36266
36266
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36267
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36267
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36268
36268
|
let fetchResult;
|
|
36269
36269
|
try {
|
|
36270
36270
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36439,7 +36439,7 @@ var Person = class Person extends Object$1 {
|
|
|
36439
36439
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36440
36440
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36441
36441
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36442
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36442
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36443
36443
|
let fetchResult;
|
|
36444
36444
|
try {
|
|
36445
36445
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36672,7 +36672,7 @@ var Person = class Person extends Object$1 {
|
|
|
36672
36672
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36673
36673
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36674
36674
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36675
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36675
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36676
36676
|
let fetchResult;
|
|
36677
36677
|
try {
|
|
36678
36678
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37376,7 +37376,7 @@ var Person = class Person extends Object$1 {
|
|
|
37376
37376
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37377
37377
|
*/
|
|
37378
37378
|
static async fromJsonLd(json, options = {}) {
|
|
37379
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
37379
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37380
37380
|
try {
|
|
37381
37381
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
37382
37382
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38175,7 +38175,7 @@ var Place = class Place extends Object$1 {
|
|
|
38175
38175
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38176
38176
|
*/
|
|
38177
38177
|
static async fromJsonLd(json, options = {}) {
|
|
38178
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
38178
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38179
38179
|
try {
|
|
38180
38180
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
38181
38181
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38382,7 +38382,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
38382
38382
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38383
38383
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38384
38384
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38385
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
38385
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38386
38386
|
let fetchResult;
|
|
38387
38387
|
try {
|
|
38388
38388
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38592,7 +38592,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
38592
38592
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38593
38593
|
*/
|
|
38594
38594
|
static async fromJsonLd(json, options = {}) {
|
|
38595
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
38595
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38596
38596
|
try {
|
|
38597
38597
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
38598
38598
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38767,7 +38767,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
38767
38767
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38768
38768
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38769
38769
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38770
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
38770
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38771
38771
|
let fetchResult;
|
|
38772
38772
|
try {
|
|
38773
38773
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38899,7 +38899,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
38899
38899
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38900
38900
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38901
38901
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38902
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
38902
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38903
38903
|
let fetchResult;
|
|
38904
38904
|
try {
|
|
38905
38905
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39173,7 +39173,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
39173
39173
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39174
39174
|
*/
|
|
39175
39175
|
static async fromJsonLd(json, options = {}) {
|
|
39176
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
39176
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39177
39177
|
try {
|
|
39178
39178
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
39179
39179
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39418,7 +39418,7 @@ var Read = class Read extends Activity {
|
|
|
39418
39418
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39419
39419
|
*/
|
|
39420
39420
|
static async fromJsonLd(json, options = {}) {
|
|
39421
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
39421
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39422
39422
|
try {
|
|
39423
39423
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
39424
39424
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39569,7 +39569,7 @@ var Reject = class Reject extends Activity {
|
|
|
39569
39569
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39570
39570
|
*/
|
|
39571
39571
|
static async fromJsonLd(json, options = {}) {
|
|
39572
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
39572
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39573
39573
|
try {
|
|
39574
39574
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
39575
39575
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39744,7 +39744,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
39744
39744
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39745
39745
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39746
39746
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39747
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39747
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39748
39748
|
let fetchResult;
|
|
39749
39749
|
try {
|
|
39750
39750
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39876,7 +39876,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
39876
39876
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39877
39877
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39878
39878
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39879
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39879
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39880
39880
|
let fetchResult;
|
|
39881
39881
|
try {
|
|
39882
39882
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40057,7 +40057,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
40057
40057
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40058
40058
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40059
40059
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40060
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40060
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40061
40061
|
let fetchResult;
|
|
40062
40062
|
try {
|
|
40063
40063
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40354,7 +40354,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
40354
40354
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40355
40355
|
*/
|
|
40356
40356
|
static async fromJsonLd(json, options = {}) {
|
|
40357
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
40357
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40358
40358
|
try {
|
|
40359
40359
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
40360
40360
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40571,7 +40571,7 @@ var Remove = class Remove extends Activity {
|
|
|
40571
40571
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40572
40572
|
*/
|
|
40573
40573
|
static async fromJsonLd(json, options = {}) {
|
|
40574
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
40574
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40575
40575
|
try {
|
|
40576
40576
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
40577
40577
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40968,7 +40968,7 @@ var Service = class Service extends Object$1 {
|
|
|
40968
40968
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40969
40969
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40970
40970
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40971
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40971
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40972
40972
|
let fetchResult;
|
|
40973
40973
|
try {
|
|
40974
40974
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41149,7 +41149,7 @@ var Service = class Service extends Object$1 {
|
|
|
41149
41149
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41150
41150
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41151
41151
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41152
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41152
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41153
41153
|
let fetchResult;
|
|
41154
41154
|
try {
|
|
41155
41155
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41348,7 +41348,7 @@ var Service = class Service extends Object$1 {
|
|
|
41348
41348
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41349
41349
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41350
41350
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41351
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41351
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41352
41352
|
let fetchResult;
|
|
41353
41353
|
try {
|
|
41354
41354
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41499,7 +41499,7 @@ var Service = class Service extends Object$1 {
|
|
|
41499
41499
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41500
41500
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41501
41501
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41502
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41502
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41503
41503
|
let fetchResult;
|
|
41504
41504
|
try {
|
|
41505
41505
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41647,7 +41647,7 @@ var Service = class Service extends Object$1 {
|
|
|
41647
41647
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41648
41648
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41649
41649
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41650
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41650
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41651
41651
|
let fetchResult;
|
|
41652
41652
|
try {
|
|
41653
41653
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41780,7 +41780,7 @@ var Service = class Service extends Object$1 {
|
|
|
41780
41780
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41781
41781
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41782
41782
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41783
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41783
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41784
41784
|
let fetchResult;
|
|
41785
41785
|
try {
|
|
41786
41786
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41916,7 +41916,7 @@ var Service = class Service extends Object$1 {
|
|
|
41916
41916
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41917
41917
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41918
41918
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41919
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41919
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41920
41920
|
let fetchResult;
|
|
41921
41921
|
try {
|
|
41922
41922
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42050,7 +42050,7 @@ var Service = class Service extends Object$1 {
|
|
|
42050
42050
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42051
42051
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42052
42052
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42053
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
42053
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42054
42054
|
let fetchResult;
|
|
42055
42055
|
try {
|
|
42056
42056
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42182,7 +42182,7 @@ var Service = class Service extends Object$1 {
|
|
|
42182
42182
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42183
42183
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42184
42184
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42185
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
42185
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42186
42186
|
let fetchResult;
|
|
42187
42187
|
try {
|
|
42188
42188
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42314,7 +42314,7 @@ var Service = class Service extends Object$1 {
|
|
|
42314
42314
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42315
42315
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42316
42316
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42317
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
42317
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42318
42318
|
let fetchResult;
|
|
42319
42319
|
try {
|
|
42320
42320
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42486,7 +42486,7 @@ var Service = class Service extends Object$1 {
|
|
|
42486
42486
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42487
42487
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42488
42488
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42489
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
42489
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42490
42490
|
let fetchResult;
|
|
42491
42491
|
try {
|
|
42492
42492
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42661,7 +42661,7 @@ var Service = class Service extends Object$1 {
|
|
|
42661
42661
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42662
42662
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42663
42663
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42664
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
42664
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42665
42665
|
let fetchResult;
|
|
42666
42666
|
try {
|
|
42667
42667
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42894,7 +42894,7 @@ var Service = class Service extends Object$1 {
|
|
|
42894
42894
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42895
42895
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42896
42896
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42897
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
42897
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42898
42898
|
let fetchResult;
|
|
42899
42899
|
try {
|
|
42900
42900
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43598,7 +43598,7 @@ var Service = class Service extends Object$1 {
|
|
|
43598
43598
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43599
43599
|
*/
|
|
43600
43600
|
static async fromJsonLd(json, options = {}) {
|
|
43601
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
43601
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43602
43602
|
try {
|
|
43603
43603
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
43604
43604
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44314,7 +44314,7 @@ var Source = class {
|
|
|
44314
44314
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44315
44315
|
*/
|
|
44316
44316
|
static async fromJsonLd(json, options = {}) {
|
|
44317
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
44317
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44318
44318
|
try {
|
|
44319
44319
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
44320
44320
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44498,7 +44498,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
44498
44498
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44499
44499
|
*/
|
|
44500
44500
|
static async fromJsonLd(json, options = {}) {
|
|
44501
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
44501
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44502
44502
|
try {
|
|
44503
44503
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
44504
44504
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44649,7 +44649,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
44649
44649
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44650
44650
|
*/
|
|
44651
44651
|
static async fromJsonLd(json, options = {}) {
|
|
44652
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
44652
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44653
44653
|
try {
|
|
44654
44654
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
44655
44655
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44846,7 +44846,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
44846
44846
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44847
44847
|
*/
|
|
44848
44848
|
static async fromJsonLd(json, options = {}) {
|
|
44849
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
44849
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44850
44850
|
try {
|
|
44851
44851
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
44852
44852
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45014,7 +45014,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
45014
45014
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45015
45015
|
*/
|
|
45016
45016
|
static async fromJsonLd(json, options = {}) {
|
|
45017
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
45017
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45018
45018
|
try {
|
|
45019
45019
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
45020
45020
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45179,7 +45179,7 @@ var Undo = class Undo extends Activity {
|
|
|
45179
45179
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45180
45180
|
*/
|
|
45181
45181
|
static async fromJsonLd(json, options = {}) {
|
|
45182
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
45182
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45183
45183
|
try {
|
|
45184
45184
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
45185
45185
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45382,7 +45382,7 @@ var Update = class Update extends Activity {
|
|
|
45382
45382
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45383
45383
|
*/
|
|
45384
45384
|
static async fromJsonLd(json, options = {}) {
|
|
45385
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
45385
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45386
45386
|
try {
|
|
45387
45387
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
45388
45388
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45546,7 +45546,7 @@ var Video = class Video extends Document {
|
|
|
45546
45546
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45547
45547
|
*/
|
|
45548
45548
|
static async fromJsonLd(json, options = {}) {
|
|
45549
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
45549
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45550
45550
|
try {
|
|
45551
45551
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
45552
45552
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45696,7 +45696,7 @@ var View = class View extends Activity {
|
|
|
45696
45696
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45697
45697
|
*/
|
|
45698
45698
|
static async fromJsonLd(json, options = {}) {
|
|
45699
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
45699
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45700
45700
|
try {
|
|
45701
45701
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
45702
45702
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|