@fedify/vocab 2.2.14 → 2.2.15-dev.2196
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deno.json +1 -1
- package/dist/mod.cjs +217 -217
- package/dist/mod.js +217 -217
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/{deno-Bm7tiCIb.mjs → deno-CNg_wFNe.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-B7Fuv7Kz.mjs → vocab-D2M3Itg4.mjs} +216 -216
- 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.2.
|
|
12
|
+
var version = "2.2.15-dev.2196+10201be2";
|
|
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.2.
|
|
703
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").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.2.
|
|
859
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").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.2.
|
|
1090
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").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.2.
|
|
1293
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").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.2.
|
|
1465
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").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.2.
|
|
1605
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").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.2.
|
|
1790
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").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.2.
|
|
1975
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").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.2.
|
|
2168
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").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.2.
|
|
2361
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").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.2.
|
|
2559
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").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.2.
|
|
2689
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").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.2.
|
|
2825
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").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.2.
|
|
2961
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").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.2.
|
|
3115
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").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.2.
|
|
3277
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").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.2.
|
|
3460
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").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.2.
|
|
3643
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").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.2.
|
|
3826
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").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.2.
|
|
4046
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").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.2.
|
|
4252
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").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.2.
|
|
4382
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").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.2.
|
|
4512
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").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.2.
|
|
5348
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").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);
|
|
@@ -6945,7 +6945,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
6945
6945
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6946
6946
|
*/
|
|
6947
6947
|
static async fromJsonLd(json, options = {}) {
|
|
6948
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
6948
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6949
6949
|
try {
|
|
6950
6950
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
6951
6951
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7081,7 +7081,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7081
7081
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7082
7082
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7083
7083
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7084
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
7084
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7085
7085
|
let fetchResult;
|
|
7086
7086
|
try {
|
|
7087
7087
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7228,7 +7228,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7228
7228
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7229
7229
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7230
7230
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7231
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
7231
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7232
7232
|
let fetchResult;
|
|
7233
7233
|
try {
|
|
7234
7234
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7521,7 +7521,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7521
7521
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7522
7522
|
*/
|
|
7523
7523
|
static async fromJsonLd(json, options = {}) {
|
|
7524
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
7524
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7525
7525
|
try {
|
|
7526
7526
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
7527
7527
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7860,7 +7860,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7860
7860
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7861
7861
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7862
7862
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7863
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
7863
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7864
7864
|
let fetchResult;
|
|
7865
7865
|
try {
|
|
7866
7866
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8091,7 +8091,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8091
8091
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8092
8092
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8093
8093
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8094
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8094
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8095
8095
|
let fetchResult;
|
|
8096
8096
|
try {
|
|
8097
8097
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8276,7 +8276,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8276
8276
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8277
8277
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8278
8278
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8279
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8279
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8280
8280
|
let fetchResult;
|
|
8281
8281
|
try {
|
|
8282
8282
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8467,7 +8467,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8467
8467
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8468
8468
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8469
8469
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8470
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8470
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8471
8471
|
let fetchResult;
|
|
8472
8472
|
try {
|
|
8473
8473
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8652,7 +8652,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8652
8652
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8653
8653
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8654
8654
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8655
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8655
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8656
8656
|
let fetchResult;
|
|
8657
8657
|
try {
|
|
8658
8658
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8839,7 +8839,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8839
8839
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8840
8840
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8841
8841
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8842
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8842
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8843
8843
|
let fetchResult;
|
|
8844
8844
|
try {
|
|
8845
8845
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9109,7 +9109,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
9109
9109
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9110
9110
|
*/
|
|
9111
9111
|
static async fromJsonLd(json, options = {}) {
|
|
9112
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
9112
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9113
9113
|
try {
|
|
9114
9114
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
9115
9115
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9468,7 +9468,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
9468
9468
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9469
9469
|
*/
|
|
9470
9470
|
static async fromJsonLd(json, options = {}) {
|
|
9471
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
9471
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9472
9472
|
try {
|
|
9473
9473
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
9474
9474
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9728,7 +9728,7 @@ var PropertyValue = class {
|
|
|
9728
9728
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9729
9729
|
*/
|
|
9730
9730
|
static async fromJsonLd(json, options = {}) {
|
|
9731
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
9731
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9732
9732
|
try {
|
|
9733
9733
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
9734
9734
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10015,7 +10015,7 @@ var Measure = class {
|
|
|
10015
10015
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10016
10016
|
*/
|
|
10017
10017
|
static async fromJsonLd(json, options = {}) {
|
|
10018
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
10018
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10019
10019
|
try {
|
|
10020
10020
|
const object = await this.__fromJsonLd__Measure__(json, span, options);
|
|
10021
10021
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10185,7 +10185,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10185
10185
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10186
10186
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10187
10187
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10188
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
10188
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10189
10189
|
let fetchResult;
|
|
10190
10190
|
try {
|
|
10191
10191
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10315,7 +10315,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10315
10315
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10316
10316
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10317
10317
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10318
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
10318
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10319
10319
|
let fetchResult;
|
|
10320
10320
|
try {
|
|
10321
10321
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10540,7 +10540,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10540
10540
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10541
10541
|
*/
|
|
10542
10542
|
static async fromJsonLd(json, options = {}) {
|
|
10543
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
10543
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10544
10544
|
try {
|
|
10545
10545
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
10546
10546
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10751,7 +10751,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
10751
10751
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10752
10752
|
*/
|
|
10753
10753
|
static async fromJsonLd(json, options = {}) {
|
|
10754
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
10754
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10755
10755
|
try {
|
|
10756
10756
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
10757
10757
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11029,7 +11029,7 @@ var InteractionPolicy = class {
|
|
|
11029
11029
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11030
11030
|
*/
|
|
11031
11031
|
static async fromJsonLd(json, options = {}) {
|
|
11032
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
11032
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11033
11033
|
try {
|
|
11034
11034
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
11035
11035
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11384,7 +11384,7 @@ var InteractionRule = class {
|
|
|
11384
11384
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11385
11385
|
*/
|
|
11386
11386
|
static async fromJsonLd(json, options = {}) {
|
|
11387
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
11387
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11388
11388
|
try {
|
|
11389
11389
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
11390
11390
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11555,7 +11555,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11555
11555
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11556
11556
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11557
11557
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11558
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
11558
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11559
11559
|
let fetchResult;
|
|
11560
11560
|
try {
|
|
11561
11561
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11685,7 +11685,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11685
11685
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11686
11686
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11687
11687
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11688
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
11688
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11689
11689
|
let fetchResult;
|
|
11690
11690
|
try {
|
|
11691
11691
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11910,7 +11910,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11910
11910
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11911
11911
|
*/
|
|
11912
11912
|
static async fromJsonLd(json, options = {}) {
|
|
11913
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
11913
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11914
11914
|
try {
|
|
11915
11915
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
11916
11916
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12120,7 +12120,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
12120
12120
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12121
12121
|
*/
|
|
12122
12122
|
static async fromJsonLd(json, options = {}) {
|
|
12123
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12123
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12124
12124
|
try {
|
|
12125
12125
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
12126
12126
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12253,7 +12253,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12253
12253
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12254
12254
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12255
12255
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12256
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
12256
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12257
12257
|
let fetchResult;
|
|
12258
12258
|
try {
|
|
12259
12259
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12383,7 +12383,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12383
12383
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12384
12384
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12385
12385
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12386
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
12386
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12387
12387
|
let fetchResult;
|
|
12388
12388
|
try {
|
|
12389
12389
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12608,7 +12608,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12608
12608
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12609
12609
|
*/
|
|
12610
12610
|
static async fromJsonLd(json, options = {}) {
|
|
12611
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12611
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12612
12612
|
try {
|
|
12613
12613
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
12614
12614
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12818,7 +12818,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
12818
12818
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12819
12819
|
*/
|
|
12820
12820
|
static async fromJsonLd(json, options = {}) {
|
|
12821
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12821
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12822
12822
|
try {
|
|
12823
12823
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
12824
12824
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12951,7 +12951,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
12951
12951
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12952
12952
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12953
12953
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12954
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
12954
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12955
12955
|
let fetchResult;
|
|
12956
12956
|
try {
|
|
12957
12957
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13080,7 +13080,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
13080
13080
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13081
13081
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13082
13082
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13083
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
13083
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13084
13084
|
let fetchResult;
|
|
13085
13085
|
try {
|
|
13086
13086
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13307,7 +13307,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
13307
13307
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13308
13308
|
*/
|
|
13309
13309
|
static async fromJsonLd(json, options = {}) {
|
|
13310
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13310
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13311
13311
|
try {
|
|
13312
13312
|
const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
|
|
13313
13313
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13547,7 +13547,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
|
|
|
13547
13547
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13548
13548
|
*/
|
|
13549
13549
|
static async fromJsonLd(json, options = {}) {
|
|
13550
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13550
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13551
13551
|
try {
|
|
13552
13552
|
const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
|
|
13553
13553
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13767,7 +13767,7 @@ var DidService = class {
|
|
|
13767
13767
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13768
13768
|
*/
|
|
13769
13769
|
static async fromJsonLd(json, options = {}) {
|
|
13770
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13770
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13771
13771
|
try {
|
|
13772
13772
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
13773
13773
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13929,7 +13929,7 @@ var Export = class Export extends DidService {
|
|
|
13929
13929
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13930
13930
|
*/
|
|
13931
13931
|
static async fromJsonLd(json, options = {}) {
|
|
13932
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13932
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13933
13933
|
try {
|
|
13934
13934
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
13935
13935
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14116,7 +14116,7 @@ var DataIntegrityProof = class {
|
|
|
14116
14116
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14117
14117
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14118
14118
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14119
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
14119
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14120
14120
|
let fetchResult;
|
|
14121
14121
|
try {
|
|
14122
14122
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14335,7 +14335,7 @@ var DataIntegrityProof = class {
|
|
|
14335
14335
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14336
14336
|
*/
|
|
14337
14337
|
static async fromJsonLd(json, options = {}) {
|
|
14338
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
14338
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14339
14339
|
try {
|
|
14340
14340
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
14341
14341
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14593,7 +14593,7 @@ var CryptographicKey = class {
|
|
|
14593
14593
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14594
14594
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14595
14595
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14596
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
14596
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14597
14597
|
let fetchResult;
|
|
14598
14598
|
try {
|
|
14599
14599
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14864,7 +14864,7 @@ var CryptographicKey = class {
|
|
|
14864
14864
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14865
14865
|
*/
|
|
14866
14866
|
static async fromJsonLd(json, options = {}) {
|
|
14867
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
14867
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14868
14868
|
try {
|
|
14869
14869
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
14870
14870
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15083,7 +15083,7 @@ var Multikey = class {
|
|
|
15083
15083
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15084
15084
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15085
15085
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15086
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
15086
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15087
15087
|
let fetchResult;
|
|
15088
15088
|
try {
|
|
15089
15089
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15360,7 +15360,7 @@ var Multikey = class {
|
|
|
15360
15360
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15361
15361
|
*/
|
|
15362
15362
|
static async fromJsonLd(json, options = {}) {
|
|
15363
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
15363
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15364
15364
|
try {
|
|
15365
15365
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
15366
15366
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15770,7 +15770,7 @@ var Intent = class {
|
|
|
15770
15770
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15771
15771
|
*/
|
|
15772
15772
|
static async fromJsonLd(json, options = {}) {
|
|
15773
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
15773
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15774
15774
|
try {
|
|
15775
15775
|
const object = await this.__fromJsonLd__Intent__(json, span, options);
|
|
15776
15776
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16209,7 +16209,7 @@ var Proposal = class Proposal extends Object$1 {
|
|
|
16209
16209
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16210
16210
|
*/
|
|
16211
16211
|
static async fromJsonLd(json, options = {}) {
|
|
16212
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
16212
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16213
16213
|
try {
|
|
16214
16214
|
const object = await this.__fromJsonLd__Proposal__(json, span, options);
|
|
16215
16215
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16440,7 +16440,7 @@ var Accept = class Accept extends Activity {
|
|
|
16440
16440
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16441
16441
|
*/
|
|
16442
16442
|
static async fromJsonLd(json, options = {}) {
|
|
16443
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
16443
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16444
16444
|
try {
|
|
16445
16445
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
16446
16446
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16594,7 +16594,7 @@ var Add = class Add extends Activity {
|
|
|
16594
16594
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16595
16595
|
*/
|
|
16596
16596
|
static async fromJsonLd(json, options = {}) {
|
|
16597
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
16597
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16598
16598
|
try {
|
|
16599
16599
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
16600
16600
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16775,7 +16775,7 @@ var Announce = class Announce extends Activity {
|
|
|
16775
16775
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16776
16776
|
*/
|
|
16777
16777
|
static async fromJsonLd(json, options = {}) {
|
|
16778
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
16778
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16779
16779
|
try {
|
|
16780
16780
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
16781
16781
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17172,7 +17172,7 @@ var Application = class Application extends Object$1 {
|
|
|
17172
17172
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17173
17173
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17174
17174
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17175
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17175
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17176
17176
|
let fetchResult;
|
|
17177
17177
|
try {
|
|
17178
17178
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17353,7 +17353,7 @@ var Application = class Application extends Object$1 {
|
|
|
17353
17353
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17354
17354
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17355
17355
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17356
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17356
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17357
17357
|
let fetchResult;
|
|
17358
17358
|
try {
|
|
17359
17359
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17552,7 +17552,7 @@ var Application = class Application extends Object$1 {
|
|
|
17552
17552
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17553
17553
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17554
17554
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17555
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17555
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17556
17556
|
let fetchResult;
|
|
17557
17557
|
try {
|
|
17558
17558
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17703,7 +17703,7 @@ var Application = class Application extends Object$1 {
|
|
|
17703
17703
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17704
17704
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17705
17705
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17706
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17706
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17707
17707
|
let fetchResult;
|
|
17708
17708
|
try {
|
|
17709
17709
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17851,7 +17851,7 @@ var Application = class Application extends Object$1 {
|
|
|
17851
17851
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17852
17852
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17853
17853
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17854
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17854
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17855
17855
|
let fetchResult;
|
|
17856
17856
|
try {
|
|
17857
17857
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17984,7 +17984,7 @@ var Application = class Application extends Object$1 {
|
|
|
17984
17984
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17985
17985
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17986
17986
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17987
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17987
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17988
17988
|
let fetchResult;
|
|
17989
17989
|
try {
|
|
17990
17990
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18120,7 +18120,7 @@ var Application = class Application extends Object$1 {
|
|
|
18120
18120
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18121
18121
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18122
18122
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18123
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18123
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18124
18124
|
let fetchResult;
|
|
18125
18125
|
try {
|
|
18126
18126
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18254,7 +18254,7 @@ var Application = class Application extends Object$1 {
|
|
|
18254
18254
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18255
18255
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18256
18256
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18257
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18257
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18258
18258
|
let fetchResult;
|
|
18259
18259
|
try {
|
|
18260
18260
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18386,7 +18386,7 @@ var Application = class Application extends Object$1 {
|
|
|
18386
18386
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18387
18387
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18388
18388
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18389
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18389
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18390
18390
|
let fetchResult;
|
|
18391
18391
|
try {
|
|
18392
18392
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18518,7 +18518,7 @@ var Application = class Application extends Object$1 {
|
|
|
18518
18518
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18519
18519
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18520
18520
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18521
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18521
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18522
18522
|
let fetchResult;
|
|
18523
18523
|
try {
|
|
18524
18524
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18690,7 +18690,7 @@ var Application = class Application extends Object$1 {
|
|
|
18690
18690
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18691
18691
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18692
18692
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18693
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18693
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18694
18694
|
let fetchResult;
|
|
18695
18695
|
try {
|
|
18696
18696
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18865,7 +18865,7 @@ var Application = class Application extends Object$1 {
|
|
|
18865
18865
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18866
18866
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18867
18867
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18868
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18868
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18869
18869
|
let fetchResult;
|
|
18870
18870
|
try {
|
|
18871
18871
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19098,7 +19098,7 @@ var Application = class Application extends Object$1 {
|
|
|
19098
19098
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19099
19099
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19100
19100
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19101
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
19101
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19102
19102
|
let fetchResult;
|
|
19103
19103
|
try {
|
|
19104
19104
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19802,7 +19802,7 @@ var Application = class Application extends Object$1 {
|
|
|
19802
19802
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19803
19803
|
*/
|
|
19804
19804
|
static async fromJsonLd(json, options = {}) {
|
|
19805
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
19805
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19806
19806
|
try {
|
|
19807
19807
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
19808
19808
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20480,7 +20480,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
20480
20480
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20481
20481
|
*/
|
|
20482
20482
|
static async fromJsonLd(json, options = {}) {
|
|
20483
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
20483
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20484
20484
|
try {
|
|
20485
20485
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
20486
20486
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20635,7 +20635,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
20635
20635
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20636
20636
|
*/
|
|
20637
20637
|
static async fromJsonLd(json, options = {}) {
|
|
20638
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
20638
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20639
20639
|
try {
|
|
20640
20640
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
20641
20641
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20767,7 +20767,7 @@ var Article = class Article extends Object$1 {
|
|
|
20767
20767
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20768
20768
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20769
20769
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20770
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
20770
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20771
20771
|
let fetchResult;
|
|
20772
20772
|
try {
|
|
20773
20773
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20914,7 +20914,7 @@ var Article = class Article extends Object$1 {
|
|
|
20914
20914
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20915
20915
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20916
20916
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20917
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
20917
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20918
20918
|
let fetchResult;
|
|
20919
20919
|
try {
|
|
20920
20920
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21209,7 +21209,7 @@ var Article = class Article extends Object$1 {
|
|
|
21209
21209
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21210
21210
|
*/
|
|
21211
21211
|
static async fromJsonLd(json, options = {}) {
|
|
21212
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
21212
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21213
21213
|
try {
|
|
21214
21214
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
21215
21215
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21504,7 +21504,7 @@ var Document = class Document extends Object$1 {
|
|
|
21504
21504
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21505
21505
|
*/
|
|
21506
21506
|
static async fromJsonLd(json, options = {}) {
|
|
21507
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
21507
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21508
21508
|
try {
|
|
21509
21509
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
21510
21510
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21709,7 +21709,7 @@ var Audio = class Audio extends Document {
|
|
|
21709
21709
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21710
21710
|
*/
|
|
21711
21711
|
static async fromJsonLd(json, options = {}) {
|
|
21712
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
21712
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21713
21713
|
try {
|
|
21714
21714
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
21715
21715
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21860,7 +21860,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
21860
21860
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21861
21861
|
*/
|
|
21862
21862
|
static async fromJsonLd(json, options = {}) {
|
|
21863
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
21863
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21864
21864
|
try {
|
|
21865
21865
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
21866
21866
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22014,7 +22014,7 @@ var Block = class Block extends Ignore {
|
|
|
22014
22014
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22015
22015
|
*/
|
|
22016
22016
|
static async fromJsonLd(json, options = {}) {
|
|
22017
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
22017
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22018
22018
|
try {
|
|
22019
22019
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
22020
22020
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22280,7 +22280,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22280
22280
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22281
22281
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22282
22282
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22283
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22283
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22284
22284
|
let fetchResult;
|
|
22285
22285
|
try {
|
|
22286
22286
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22410,7 +22410,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22410
22410
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22411
22411
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22412
22412
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22413
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22413
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22414
22414
|
let fetchResult;
|
|
22415
22415
|
try {
|
|
22416
22416
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22540,7 +22540,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22540
22540
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22541
22541
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22542
22542
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22543
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22543
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22544
22544
|
let fetchResult;
|
|
22545
22545
|
try {
|
|
22546
22546
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22670,7 +22670,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22670
22670
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22671
22671
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22672
22672
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22673
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22673
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22674
22674
|
let fetchResult;
|
|
22675
22675
|
try {
|
|
22676
22676
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22811,7 +22811,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22811
22811
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22812
22812
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22813
22813
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22814
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22814
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22815
22815
|
let fetchResult;
|
|
22816
22816
|
try {
|
|
22817
22817
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22940,7 +22940,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22940
22940
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22941
22941
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22942
22942
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22943
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22943
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22944
22944
|
let fetchResult;
|
|
22945
22945
|
try {
|
|
22946
22946
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23069,7 +23069,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23069
23069
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23070
23070
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23071
23071
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23072
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23072
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23073
23073
|
let fetchResult;
|
|
23074
23074
|
try {
|
|
23075
23075
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23198,7 +23198,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23198
23198
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23199
23199
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23200
23200
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23201
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23201
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23202
23202
|
let fetchResult;
|
|
23203
23203
|
try {
|
|
23204
23204
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23327,7 +23327,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23327
23327
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23328
23328
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23329
23329
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23330
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23330
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23331
23331
|
let fetchResult;
|
|
23332
23332
|
try {
|
|
23333
23333
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23456,7 +23456,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23456
23456
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23457
23457
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23458
23458
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23459
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23459
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23460
23460
|
let fetchResult;
|
|
23461
23461
|
try {
|
|
23462
23462
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23585,7 +23585,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23585
23585
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23586
23586
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23587
23587
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23588
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23588
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23589
23589
|
let fetchResult;
|
|
23590
23590
|
try {
|
|
23591
23591
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23714,7 +23714,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23714
23714
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23715
23715
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23716
23716
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23717
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23717
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23718
23718
|
let fetchResult;
|
|
23719
23719
|
try {
|
|
23720
23720
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24172,7 +24172,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24172
24172
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24173
24173
|
*/
|
|
24174
24174
|
static async fromJsonLd(json, options = {}) {
|
|
24175
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
24175
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24176
24176
|
try {
|
|
24177
24177
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
24178
24178
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24706,7 +24706,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
24706
24706
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24707
24707
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24708
24708
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24709
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
24709
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24710
24710
|
let fetchResult;
|
|
24711
24711
|
try {
|
|
24712
24712
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24836,7 +24836,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
24836
24836
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24837
24837
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24838
24838
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24839
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
24839
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24840
24840
|
let fetchResult;
|
|
24841
24841
|
try {
|
|
24842
24842
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24965,7 +24965,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
24965
24965
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24966
24966
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24967
24967
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24968
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
24968
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24969
24969
|
let fetchResult;
|
|
24970
24970
|
try {
|
|
24971
24971
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25260,7 +25260,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
25260
25260
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25261
25261
|
*/
|
|
25262
25262
|
static async fromJsonLd(json, options = {}) {
|
|
25263
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25263
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25264
25264
|
try {
|
|
25265
25265
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
25266
25266
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25517,7 +25517,7 @@ var Create = class Create extends Activity {
|
|
|
25517
25517
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25518
25518
|
*/
|
|
25519
25519
|
static async fromJsonLd(json, options = {}) {
|
|
25520
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25520
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25521
25521
|
try {
|
|
25522
25522
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
25523
25523
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25694,7 +25694,7 @@ var Delete = class Delete extends Activity {
|
|
|
25694
25694
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25695
25695
|
*/
|
|
25696
25696
|
static async fromJsonLd(json, options = {}) {
|
|
25697
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25697
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25698
25698
|
try {
|
|
25699
25699
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
25700
25700
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25848,7 +25848,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
25848
25848
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25849
25849
|
*/
|
|
25850
25850
|
static async fromJsonLd(json, options = {}) {
|
|
25851
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25851
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25852
25852
|
try {
|
|
25853
25853
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
25854
25854
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26207,7 +26207,7 @@ var Endpoints = class {
|
|
|
26207
26207
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26208
26208
|
*/
|
|
26209
26209
|
static async fromJsonLd(json, options = {}) {
|
|
26210
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
26210
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26211
26211
|
try {
|
|
26212
26212
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
26213
26213
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26479,7 +26479,7 @@ var Event = class Event extends Object$1 {
|
|
|
26479
26479
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26480
26480
|
*/
|
|
26481
26481
|
static async fromJsonLd(json, options = {}) {
|
|
26482
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
26482
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26483
26483
|
try {
|
|
26484
26484
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
26485
26485
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26631,7 +26631,7 @@ var Flag = class Flag extends Activity {
|
|
|
26631
26631
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26632
26632
|
*/
|
|
26633
26633
|
static async fromJsonLd(json, options = {}) {
|
|
26634
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
26634
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26635
26635
|
try {
|
|
26636
26636
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
26637
26637
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26787,7 +26787,7 @@ var Follow = class Follow extends Activity {
|
|
|
26787
26787
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26788
26788
|
*/
|
|
26789
26789
|
static async fromJsonLd(json, options = {}) {
|
|
26790
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
26790
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26791
26791
|
try {
|
|
26792
26792
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
26793
26793
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27184,7 +27184,7 @@ var Group = class Group extends Object$1 {
|
|
|
27184
27184
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27185
27185
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27186
27186
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27187
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27187
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27188
27188
|
let fetchResult;
|
|
27189
27189
|
try {
|
|
27190
27190
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27365,7 +27365,7 @@ var Group = class Group extends Object$1 {
|
|
|
27365
27365
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27366
27366
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27367
27367
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27368
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27368
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27369
27369
|
let fetchResult;
|
|
27370
27370
|
try {
|
|
27371
27371
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27564,7 +27564,7 @@ var Group = class Group extends Object$1 {
|
|
|
27564
27564
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27565
27565
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27566
27566
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27567
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27567
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27568
27568
|
let fetchResult;
|
|
27569
27569
|
try {
|
|
27570
27570
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27715,7 +27715,7 @@ var Group = class Group extends Object$1 {
|
|
|
27715
27715
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27716
27716
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27717
27717
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27718
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27718
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27719
27719
|
let fetchResult;
|
|
27720
27720
|
try {
|
|
27721
27721
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27863,7 +27863,7 @@ var Group = class Group extends Object$1 {
|
|
|
27863
27863
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27864
27864
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27865
27865
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27866
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27866
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27867
27867
|
let fetchResult;
|
|
27868
27868
|
try {
|
|
27869
27869
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27996,7 +27996,7 @@ var Group = class Group extends Object$1 {
|
|
|
27996
27996
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27997
27997
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27998
27998
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27999
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27999
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28000
28000
|
let fetchResult;
|
|
28001
28001
|
try {
|
|
28002
28002
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28132,7 +28132,7 @@ var Group = class Group extends Object$1 {
|
|
|
28132
28132
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28133
28133
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28134
28134
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28135
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28135
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28136
28136
|
let fetchResult;
|
|
28137
28137
|
try {
|
|
28138
28138
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28266,7 +28266,7 @@ var Group = class Group extends Object$1 {
|
|
|
28266
28266
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28267
28267
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28268
28268
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28269
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28269
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28270
28270
|
let fetchResult;
|
|
28271
28271
|
try {
|
|
28272
28272
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28398,7 +28398,7 @@ var Group = class Group extends Object$1 {
|
|
|
28398
28398
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28399
28399
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28400
28400
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28401
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28401
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28402
28402
|
let fetchResult;
|
|
28403
28403
|
try {
|
|
28404
28404
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28530,7 +28530,7 @@ var Group = class Group extends Object$1 {
|
|
|
28530
28530
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28531
28531
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28532
28532
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28533
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28533
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28534
28534
|
let fetchResult;
|
|
28535
28535
|
try {
|
|
28536
28536
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28702,7 +28702,7 @@ var Group = class Group extends Object$1 {
|
|
|
28702
28702
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28703
28703
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28704
28704
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28705
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28705
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28706
28706
|
let fetchResult;
|
|
28707
28707
|
try {
|
|
28708
28708
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28877,7 +28877,7 @@ var Group = class Group extends Object$1 {
|
|
|
28877
28877
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28878
28878
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28879
28879
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28880
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28880
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28881
28881
|
let fetchResult;
|
|
28882
28882
|
try {
|
|
28883
28883
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29110,7 +29110,7 @@ var Group = class Group extends Object$1 {
|
|
|
29110
29110
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29111
29111
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29112
29112
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29113
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
29113
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29114
29114
|
let fetchResult;
|
|
29115
29115
|
try {
|
|
29116
29116
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29814,7 +29814,7 @@ var Group = class Group extends Object$1 {
|
|
|
29814
29814
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29815
29815
|
*/
|
|
29816
29816
|
static async fromJsonLd(json, options = {}) {
|
|
29817
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
29817
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29818
29818
|
try {
|
|
29819
29819
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
29820
29820
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30642,7 +30642,7 @@ var Link = class Link {
|
|
|
30642
30642
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30643
30643
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30644
30644
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30645
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
30645
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30646
30646
|
let fetchResult;
|
|
30647
30647
|
try {
|
|
30648
30648
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30944,7 +30944,7 @@ var Link = class Link {
|
|
|
30944
30944
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30945
30945
|
*/
|
|
30946
30946
|
static async fromJsonLd(json, options = {}) {
|
|
30947
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
30947
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30948
30948
|
try {
|
|
30949
30949
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
30950
30950
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31326,7 +31326,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
31326
31326
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31327
31327
|
*/
|
|
31328
31328
|
static async fromJsonLd(json, options = {}) {
|
|
31329
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31329
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31330
31330
|
try {
|
|
31331
31331
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
31332
31332
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31490,7 +31490,7 @@ var Image = class Image extends Document {
|
|
|
31490
31490
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31491
31491
|
*/
|
|
31492
31492
|
static async fromJsonLd(json, options = {}) {
|
|
31493
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31493
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31494
31494
|
try {
|
|
31495
31495
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
31496
31496
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31642,7 +31642,7 @@ var Offer = class Offer extends Activity {
|
|
|
31642
31642
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31643
31643
|
*/
|
|
31644
31644
|
static async fromJsonLd(json, options = {}) {
|
|
31645
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31645
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31646
31646
|
try {
|
|
31647
31647
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
31648
31648
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31794,7 +31794,7 @@ var Invite = class Invite extends Offer {
|
|
|
31794
31794
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31795
31795
|
*/
|
|
31796
31796
|
static async fromJsonLd(json, options = {}) {
|
|
31797
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31797
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31798
31798
|
try {
|
|
31799
31799
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
31800
31800
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31945,7 +31945,7 @@ var Join = class Join extends Activity {
|
|
|
31945
31945
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31946
31946
|
*/
|
|
31947
31947
|
static async fromJsonLd(json, options = {}) {
|
|
31948
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31948
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31949
31949
|
try {
|
|
31950
31950
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
31951
31951
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32096,7 +32096,7 @@ var Leave = class Leave extends Activity {
|
|
|
32096
32096
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32097
32097
|
*/
|
|
32098
32098
|
static async fromJsonLd(json, options = {}) {
|
|
32099
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32099
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32100
32100
|
try {
|
|
32101
32101
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
32102
32102
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32251,7 +32251,7 @@ var Like = class Like extends Activity {
|
|
|
32251
32251
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32252
32252
|
*/
|
|
32253
32253
|
static async fromJsonLd(json, options = {}) {
|
|
32254
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32254
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32255
32255
|
try {
|
|
32256
32256
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
32257
32257
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32401,7 +32401,7 @@ var Listen = class Listen extends Activity {
|
|
|
32401
32401
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32402
32402
|
*/
|
|
32403
32403
|
static async fromJsonLd(json, options = {}) {
|
|
32404
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32404
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32405
32405
|
try {
|
|
32406
32406
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
32407
32407
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32554,7 +32554,7 @@ var Mention = class Mention extends Link {
|
|
|
32554
32554
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32555
32555
|
*/
|
|
32556
32556
|
static async fromJsonLd(json, options = {}) {
|
|
32557
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32557
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32558
32558
|
try {
|
|
32559
32559
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
32560
32560
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32706,7 +32706,7 @@ var Move = class Move extends Activity {
|
|
|
32706
32706
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32707
32707
|
*/
|
|
32708
32708
|
static async fromJsonLd(json, options = {}) {
|
|
32709
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32709
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32710
32710
|
try {
|
|
32711
32711
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
32712
32712
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32839,7 +32839,7 @@ var Note = class Note extends Object$1 {
|
|
|
32839
32839
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32840
32840
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32841
32841
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32842
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
32842
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32843
32843
|
let fetchResult;
|
|
32844
32844
|
try {
|
|
32845
32845
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32986,7 +32986,7 @@ var Note = class Note extends Object$1 {
|
|
|
32986
32986
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32987
32987
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32988
32988
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32989
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
32989
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32990
32990
|
let fetchResult;
|
|
32991
32991
|
try {
|
|
32992
32992
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33281,7 +33281,7 @@ var Note = class Note extends Object$1 {
|
|
|
33281
33281
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33282
33282
|
*/
|
|
33283
33283
|
static async fromJsonLd(json, options = {}) {
|
|
33284
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
33284
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33285
33285
|
try {
|
|
33286
33286
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
33287
33287
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33468,7 +33468,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
33468
33468
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33469
33469
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33470
33470
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33471
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33471
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33472
33472
|
let fetchResult;
|
|
33473
33473
|
try {
|
|
33474
33474
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33748,7 +33748,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
33748
33748
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33749
33749
|
*/
|
|
33750
33750
|
static async fromJsonLd(json, options = {}) {
|
|
33751
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
33751
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33752
33752
|
try {
|
|
33753
33753
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
33754
33754
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33969,7 +33969,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
33969
33969
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33970
33970
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33971
33971
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33972
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33972
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33973
33973
|
let fetchResult;
|
|
33974
33974
|
try {
|
|
33975
33975
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34272,7 +34272,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
34272
34272
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34273
34273
|
*/
|
|
34274
34274
|
static async fromJsonLd(json, options = {}) {
|
|
34275
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
34275
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34276
34276
|
try {
|
|
34277
34277
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
34278
34278
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34785,7 +34785,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34785
34785
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34786
34786
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34787
34787
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34788
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34788
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34789
34789
|
let fetchResult;
|
|
34790
34790
|
try {
|
|
34791
34791
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34966,7 +34966,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34966
34966
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34967
34967
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34968
34968
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34969
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34969
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34970
34970
|
let fetchResult;
|
|
34971
34971
|
try {
|
|
34972
34972
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35165,7 +35165,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35165
35165
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35166
35166
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35167
35167
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35168
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35168
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35169
35169
|
let fetchResult;
|
|
35170
35170
|
try {
|
|
35171
35171
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35316,7 +35316,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35316
35316
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35317
35317
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35318
35318
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35319
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35319
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35320
35320
|
let fetchResult;
|
|
35321
35321
|
try {
|
|
35322
35322
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35464,7 +35464,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35464
35464
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35465
35465
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35466
35466
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35467
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35467
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35468
35468
|
let fetchResult;
|
|
35469
35469
|
try {
|
|
35470
35470
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35597,7 +35597,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35597
35597
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35598
35598
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35599
35599
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35600
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35600
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35601
35601
|
let fetchResult;
|
|
35602
35602
|
try {
|
|
35603
35603
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35733,7 +35733,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35733
35733
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35734
35734
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35735
35735
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35736
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35736
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35737
35737
|
let fetchResult;
|
|
35738
35738
|
try {
|
|
35739
35739
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35867,7 +35867,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35867
35867
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35868
35868
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35869
35869
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35870
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35870
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35871
35871
|
let fetchResult;
|
|
35872
35872
|
try {
|
|
35873
35873
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35999,7 +35999,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35999
35999
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36000
36000
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36001
36001
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36002
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36002
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36003
36003
|
let fetchResult;
|
|
36004
36004
|
try {
|
|
36005
36005
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36131,7 +36131,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36131
36131
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36132
36132
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36133
36133
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36134
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36134
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36135
36135
|
let fetchResult;
|
|
36136
36136
|
try {
|
|
36137
36137
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36303,7 +36303,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36303
36303
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36304
36304
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36305
36305
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36306
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36306
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36307
36307
|
let fetchResult;
|
|
36308
36308
|
try {
|
|
36309
36309
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36478,7 +36478,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36478
36478
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36479
36479
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36480
36480
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36481
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36481
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36482
36482
|
let fetchResult;
|
|
36483
36483
|
try {
|
|
36484
36484
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36711,7 +36711,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36711
36711
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36712
36712
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36713
36713
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36714
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36714
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36715
36715
|
let fetchResult;
|
|
36716
36716
|
try {
|
|
36717
36717
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37415,7 +37415,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37415
37415
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37416
37416
|
*/
|
|
37417
37417
|
static async fromJsonLd(json, options = {}) {
|
|
37418
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
37418
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37419
37419
|
try {
|
|
37420
37420
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
37421
37421
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38105,7 +38105,7 @@ var Page = class Page extends Document {
|
|
|
38105
38105
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38106
38106
|
*/
|
|
38107
38107
|
static async fromJsonLd(json, options = {}) {
|
|
38108
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
38108
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38109
38109
|
try {
|
|
38110
38110
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
38111
38111
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38502,7 +38502,7 @@ var Person = class Person extends Object$1 {
|
|
|
38502
38502
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38503
38503
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38504
38504
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38505
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38505
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38506
38506
|
let fetchResult;
|
|
38507
38507
|
try {
|
|
38508
38508
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38683,7 +38683,7 @@ var Person = class Person extends Object$1 {
|
|
|
38683
38683
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38684
38684
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38685
38685
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38686
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38686
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38687
38687
|
let fetchResult;
|
|
38688
38688
|
try {
|
|
38689
38689
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38882,7 +38882,7 @@ var Person = class Person extends Object$1 {
|
|
|
38882
38882
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38883
38883
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38884
38884
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38885
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38885
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38886
38886
|
let fetchResult;
|
|
38887
38887
|
try {
|
|
38888
38888
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39033,7 +39033,7 @@ var Person = class Person extends Object$1 {
|
|
|
39033
39033
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39034
39034
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39035
39035
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39036
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39036
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39037
39037
|
let fetchResult;
|
|
39038
39038
|
try {
|
|
39039
39039
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39181,7 +39181,7 @@ var Person = class Person extends Object$1 {
|
|
|
39181
39181
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39182
39182
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39183
39183
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39184
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39184
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39185
39185
|
let fetchResult;
|
|
39186
39186
|
try {
|
|
39187
39187
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39314,7 +39314,7 @@ var Person = class Person extends Object$1 {
|
|
|
39314
39314
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39315
39315
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39316
39316
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39317
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39317
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39318
39318
|
let fetchResult;
|
|
39319
39319
|
try {
|
|
39320
39320
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39450,7 +39450,7 @@ var Person = class Person extends Object$1 {
|
|
|
39450
39450
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39451
39451
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39452
39452
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39453
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39453
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39454
39454
|
let fetchResult;
|
|
39455
39455
|
try {
|
|
39456
39456
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39584,7 +39584,7 @@ var Person = class Person extends Object$1 {
|
|
|
39584
39584
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39585
39585
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39586
39586
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39587
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39587
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39588
39588
|
let fetchResult;
|
|
39589
39589
|
try {
|
|
39590
39590
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39716,7 +39716,7 @@ var Person = class Person extends Object$1 {
|
|
|
39716
39716
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39717
39717
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39718
39718
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39719
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39719
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39720
39720
|
let fetchResult;
|
|
39721
39721
|
try {
|
|
39722
39722
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39848,7 +39848,7 @@ var Person = class Person extends Object$1 {
|
|
|
39848
39848
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39849
39849
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39850
39850
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39851
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39851
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39852
39852
|
let fetchResult;
|
|
39853
39853
|
try {
|
|
39854
39854
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40020,7 +40020,7 @@ var Person = class Person extends Object$1 {
|
|
|
40020
40020
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40021
40021
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40022
40022
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40023
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
40023
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40024
40024
|
let fetchResult;
|
|
40025
40025
|
try {
|
|
40026
40026
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40195,7 +40195,7 @@ var Person = class Person extends Object$1 {
|
|
|
40195
40195
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40196
40196
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40197
40197
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40198
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
40198
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40199
40199
|
let fetchResult;
|
|
40200
40200
|
try {
|
|
40201
40201
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40428,7 +40428,7 @@ var Person = class Person extends Object$1 {
|
|
|
40428
40428
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40429
40429
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40430
40430
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40431
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
40431
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40432
40432
|
let fetchResult;
|
|
40433
40433
|
try {
|
|
40434
40434
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41132,7 +41132,7 @@ var Person = class Person extends Object$1 {
|
|
|
41132
41132
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41133
41133
|
*/
|
|
41134
41134
|
static async fromJsonLd(json, options = {}) {
|
|
41135
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
41135
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41136
41136
|
try {
|
|
41137
41137
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
41138
41138
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41999,7 +41999,7 @@ var Place = class Place extends Object$1 {
|
|
|
41999
41999
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42000
42000
|
*/
|
|
42001
42001
|
static async fromJsonLd(json, options = {}) {
|
|
42002
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
42002
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42003
42003
|
try {
|
|
42004
42004
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
42005
42005
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42226,7 +42226,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
42226
42226
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42227
42227
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42228
42228
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42229
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42229
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42230
42230
|
let fetchResult;
|
|
42231
42231
|
try {
|
|
42232
42232
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42436,7 +42436,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
42436
42436
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42437
42437
|
*/
|
|
42438
42438
|
static async fromJsonLd(json, options = {}) {
|
|
42439
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
42439
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42440
42440
|
try {
|
|
42441
42441
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
42442
42442
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42639,7 +42639,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
42639
42639
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42640
42640
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42641
42641
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42642
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42642
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42643
42643
|
let fetchResult;
|
|
42644
42644
|
try {
|
|
42645
42645
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42771,7 +42771,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
42771
42771
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42772
42772
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42773
42773
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42774
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42774
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42775
42775
|
let fetchResult;
|
|
42776
42776
|
try {
|
|
42777
42777
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42919,7 +42919,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
42919
42919
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42920
42920
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42921
42921
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42922
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42922
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42923
42923
|
let fetchResult;
|
|
42924
42924
|
try {
|
|
42925
42925
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43066,7 +43066,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
43066
43066
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43067
43067
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43068
43068
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43069
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
43069
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43070
43070
|
let fetchResult;
|
|
43071
43071
|
try {
|
|
43072
43072
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43327,7 +43327,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
43327
43327
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43328
43328
|
*/
|
|
43329
43329
|
static async fromJsonLd(json, options = {}) {
|
|
43330
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
43330
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43331
43331
|
try {
|
|
43332
43332
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
43333
43333
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43634,7 +43634,7 @@ var Read = class Read extends Activity {
|
|
|
43634
43634
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43635
43635
|
*/
|
|
43636
43636
|
static async fromJsonLd(json, options = {}) {
|
|
43637
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
43637
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43638
43638
|
try {
|
|
43639
43639
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
43640
43640
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43785,7 +43785,7 @@ var Reject = class Reject extends Activity {
|
|
|
43785
43785
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43786
43786
|
*/
|
|
43787
43787
|
static async fromJsonLd(json, options = {}) {
|
|
43788
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
43788
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43789
43789
|
try {
|
|
43790
43790
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
43791
43791
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43960,7 +43960,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
43960
43960
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43961
43961
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43962
43962
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43963
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
43963
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43964
43964
|
let fetchResult;
|
|
43965
43965
|
try {
|
|
43966
43966
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44092,7 +44092,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
44092
44092
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44093
44093
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44094
44094
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44095
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44095
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44096
44096
|
let fetchResult;
|
|
44097
44097
|
try {
|
|
44098
44098
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44273,7 +44273,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
44273
44273
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44274
44274
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44275
44275
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44276
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44276
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44277
44277
|
let fetchResult;
|
|
44278
44278
|
try {
|
|
44279
44279
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44570,7 +44570,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
44570
44570
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44571
44571
|
*/
|
|
44572
44572
|
static async fromJsonLd(json, options = {}) {
|
|
44573
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
44573
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44574
44574
|
try {
|
|
44575
44575
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
44576
44576
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44799,7 +44799,7 @@ var Remove = class Remove extends Activity {
|
|
|
44799
44799
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44800
44800
|
*/
|
|
44801
44801
|
static async fromJsonLd(json, options = {}) {
|
|
44802
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
44802
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44803
44803
|
try {
|
|
44804
44804
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
44805
44805
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45196,7 +45196,7 @@ var Service = class Service extends Object$1 {
|
|
|
45196
45196
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45197
45197
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45198
45198
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45199
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
45199
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45200
45200
|
let fetchResult;
|
|
45201
45201
|
try {
|
|
45202
45202
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45377,7 +45377,7 @@ var Service = class Service extends Object$1 {
|
|
|
45377
45377
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45378
45378
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45379
45379
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45380
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
45380
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45381
45381
|
let fetchResult;
|
|
45382
45382
|
try {
|
|
45383
45383
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45576,7 +45576,7 @@ var Service = class Service extends Object$1 {
|
|
|
45576
45576
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45577
45577
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45578
45578
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45579
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
45579
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45580
45580
|
let fetchResult;
|
|
45581
45581
|
try {
|
|
45582
45582
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45727,7 +45727,7 @@ var Service = class Service extends Object$1 {
|
|
|
45727
45727
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45728
45728
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45729
45729
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45730
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
45730
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45731
45731
|
let fetchResult;
|
|
45732
45732
|
try {
|
|
45733
45733
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45875,7 +45875,7 @@ var Service = class Service extends Object$1 {
|
|
|
45875
45875
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45876
45876
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45877
45877
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45878
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
45878
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45879
45879
|
let fetchResult;
|
|
45880
45880
|
try {
|
|
45881
45881
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46008,7 +46008,7 @@ var Service = class Service extends Object$1 {
|
|
|
46008
46008
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46009
46009
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46010
46010
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46011
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46011
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46012
46012
|
let fetchResult;
|
|
46013
46013
|
try {
|
|
46014
46014
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46144,7 +46144,7 @@ var Service = class Service extends Object$1 {
|
|
|
46144
46144
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46145
46145
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46146
46146
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46147
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46147
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46148
46148
|
let fetchResult;
|
|
46149
46149
|
try {
|
|
46150
46150
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46278,7 +46278,7 @@ var Service = class Service extends Object$1 {
|
|
|
46278
46278
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46279
46279
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46280
46280
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46281
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46281
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46282
46282
|
let fetchResult;
|
|
46283
46283
|
try {
|
|
46284
46284
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46410,7 +46410,7 @@ var Service = class Service extends Object$1 {
|
|
|
46410
46410
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46411
46411
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46412
46412
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46413
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46413
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46414
46414
|
let fetchResult;
|
|
46415
46415
|
try {
|
|
46416
46416
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46542,7 +46542,7 @@ var Service = class Service extends Object$1 {
|
|
|
46542
46542
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46543
46543
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46544
46544
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46545
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46545
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46546
46546
|
let fetchResult;
|
|
46547
46547
|
try {
|
|
46548
46548
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46714,7 +46714,7 @@ var Service = class Service extends Object$1 {
|
|
|
46714
46714
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46715
46715
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46716
46716
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46717
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46717
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46718
46718
|
let fetchResult;
|
|
46719
46719
|
try {
|
|
46720
46720
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46889,7 +46889,7 @@ var Service = class Service extends Object$1 {
|
|
|
46889
46889
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46890
46890
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46891
46891
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46892
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46892
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46893
46893
|
let fetchResult;
|
|
46894
46894
|
try {
|
|
46895
46895
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47122,7 +47122,7 @@ var Service = class Service extends Object$1 {
|
|
|
47122
47122
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47123
47123
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47124
47124
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47125
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
47125
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47126
47126
|
let fetchResult;
|
|
47127
47127
|
try {
|
|
47128
47128
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47826,7 +47826,7 @@ var Service = class Service extends Object$1 {
|
|
|
47826
47826
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47827
47827
|
*/
|
|
47828
47828
|
static async fromJsonLd(json, options = {}) {
|
|
47829
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
47829
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47830
47830
|
try {
|
|
47831
47831
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
47832
47832
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48610,7 +48610,7 @@ var Source = class {
|
|
|
48610
48610
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48611
48611
|
*/
|
|
48612
48612
|
static async fromJsonLd(json, options = {}) {
|
|
48613
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
48613
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48614
48614
|
try {
|
|
48615
48615
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
48616
48616
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48798,7 +48798,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
48798
48798
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48799
48799
|
*/
|
|
48800
48800
|
static async fromJsonLd(json, options = {}) {
|
|
48801
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
48801
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48802
48802
|
try {
|
|
48803
48803
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
48804
48804
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48949,7 +48949,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
48949
48949
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48950
48950
|
*/
|
|
48951
48951
|
static async fromJsonLd(json, options = {}) {
|
|
48952
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
48952
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48953
48953
|
try {
|
|
48954
48954
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
48955
48955
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49189,7 +49189,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
49189
49189
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49190
49190
|
*/
|
|
49191
49191
|
static async fromJsonLd(json, options = {}) {
|
|
49192
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
49192
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49193
49193
|
try {
|
|
49194
49194
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
49195
49195
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49385,7 +49385,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
49385
49385
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49386
49386
|
*/
|
|
49387
49387
|
static async fromJsonLd(json, options = {}) {
|
|
49388
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
49388
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49389
49389
|
try {
|
|
49390
49390
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
49391
49391
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49550,7 +49550,7 @@ var Undo = class Undo extends Activity {
|
|
|
49550
49550
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49551
49551
|
*/
|
|
49552
49552
|
static async fromJsonLd(json, options = {}) {
|
|
49553
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
49553
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49554
49554
|
try {
|
|
49555
49555
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
49556
49556
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49763,7 +49763,7 @@ var Update = class Update extends Activity {
|
|
|
49763
49763
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49764
49764
|
*/
|
|
49765
49765
|
static async fromJsonLd(json, options = {}) {
|
|
49766
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
49766
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49767
49767
|
try {
|
|
49768
49768
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
49769
49769
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49927,7 +49927,7 @@ var Video = class Video extends Document {
|
|
|
49927
49927
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49928
49928
|
*/
|
|
49929
49929
|
static async fromJsonLd(json, options = {}) {
|
|
49930
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
49930
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49931
49931
|
try {
|
|
49932
49932
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
49933
49933
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50077,7 +50077,7 @@ var View = class View extends Activity {
|
|
|
50077
50077
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50078
50078
|
*/
|
|
50079
50079
|
static async fromJsonLd(json, options = {}) {
|
|
50080
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
50080
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50081
50081
|
try {
|
|
50082
50082
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
50083
50083
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|