@fedify/vocab 2.1.29 → 2.1.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deno.json +1 -1
- package/dist/mod.cjs +202 -202
- package/dist/mod.js +202 -202
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/{deno-tjMY3c_k.mjs → deno-C-AmqlF6.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-B3y8bfAx.mjs → vocab-BdFWN1ns.mjs} +201 -201
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
package/dist/mod.js
CHANGED
|
@@ -9,7 +9,7 @@ import { isTemporalDuration, isTemporalInstant } from "@fedify/vocab-runtime/tem
|
|
|
9
9
|
import { delay } from "es-toolkit";
|
|
10
10
|
//#region deno.json
|
|
11
11
|
var name = "@fedify/vocab";
|
|
12
|
-
var version = "2.1.
|
|
12
|
+
var version = "2.1.30";
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/type.ts
|
|
15
15
|
function getTypeId(object) {
|
|
@@ -701,7 +701,7 @@ var Object$1 = class Object$1 {
|
|
|
701
701
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
702
702
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
703
703
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
704
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
704
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
705
705
|
let fetchResult;
|
|
706
706
|
try {
|
|
707
707
|
fetchResult = await documentLoader(url.href);
|
|
@@ -857,7 +857,7 @@ var Object$1 = class Object$1 {
|
|
|
857
857
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
858
858
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
859
859
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
860
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
860
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
861
861
|
let fetchResult;
|
|
862
862
|
try {
|
|
863
863
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1088,7 +1088,7 @@ var Object$1 = class Object$1 {
|
|
|
1088
1088
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1089
1089
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1090
1090
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1091
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1091
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1092
1092
|
let fetchResult;
|
|
1093
1093
|
try {
|
|
1094
1094
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1291,7 +1291,7 @@ var Object$1 = class Object$1 {
|
|
|
1291
1291
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1292
1292
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1293
1293
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1294
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1294
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1295
1295
|
let fetchResult;
|
|
1296
1296
|
try {
|
|
1297
1297
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1463,7 +1463,7 @@ var Object$1 = class Object$1 {
|
|
|
1463
1463
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1464
1464
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1465
1465
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1466
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1466
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1467
1467
|
let fetchResult;
|
|
1468
1468
|
try {
|
|
1469
1469
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1603,7 +1603,7 @@ var Object$1 = class Object$1 {
|
|
|
1603
1603
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1604
1604
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1605
1605
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1606
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1606
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1607
1607
|
let fetchResult;
|
|
1608
1608
|
try {
|
|
1609
1609
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1788,7 +1788,7 @@ var Object$1 = class Object$1 {
|
|
|
1788
1788
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1789
1789
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1790
1790
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1791
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1791
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1792
1792
|
let fetchResult;
|
|
1793
1793
|
try {
|
|
1794
1794
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1973,7 +1973,7 @@ var Object$1 = class Object$1 {
|
|
|
1973
1973
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1974
1974
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1975
1975
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1976
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1976
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1977
1977
|
let fetchResult;
|
|
1978
1978
|
try {
|
|
1979
1979
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2166,7 +2166,7 @@ var Object$1 = class Object$1 {
|
|
|
2166
2166
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2167
2167
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2168
2168
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2169
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2169
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2170
2170
|
let fetchResult;
|
|
2171
2171
|
try {
|
|
2172
2172
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2359,7 +2359,7 @@ var Object$1 = class Object$1 {
|
|
|
2359
2359
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2360
2360
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2361
2361
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2362
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2362
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2363
2363
|
let fetchResult;
|
|
2364
2364
|
try {
|
|
2365
2365
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2557,7 +2557,7 @@ var Object$1 = class Object$1 {
|
|
|
2557
2557
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2558
2558
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2559
2559
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2560
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2560
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2561
2561
|
let fetchResult;
|
|
2562
2562
|
try {
|
|
2563
2563
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2687,7 +2687,7 @@ var Object$1 = class Object$1 {
|
|
|
2687
2687
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2688
2688
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2689
2689
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2690
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2690
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2691
2691
|
let fetchResult;
|
|
2692
2692
|
try {
|
|
2693
2693
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2823,7 +2823,7 @@ var Object$1 = class Object$1 {
|
|
|
2823
2823
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2824
2824
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2825
2825
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2826
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2826
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2827
2827
|
let fetchResult;
|
|
2828
2828
|
try {
|
|
2829
2829
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2959,7 +2959,7 @@ var Object$1 = class Object$1 {
|
|
|
2959
2959
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2960
2960
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2961
2961
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2962
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2962
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2963
2963
|
let fetchResult;
|
|
2964
2964
|
try {
|
|
2965
2965
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3113,7 +3113,7 @@ var Object$1 = class Object$1 {
|
|
|
3113
3113
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3114
3114
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3115
3115
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3116
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3116
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3117
3117
|
let fetchResult;
|
|
3118
3118
|
try {
|
|
3119
3119
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3275,7 +3275,7 @@ var Object$1 = class Object$1 {
|
|
|
3275
3275
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3276
3276
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3277
3277
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3278
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3278
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3279
3279
|
let fetchResult;
|
|
3280
3280
|
try {
|
|
3281
3281
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3458,7 +3458,7 @@ var Object$1 = class Object$1 {
|
|
|
3458
3458
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3459
3459
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3460
3460
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3461
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3461
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3462
3462
|
let fetchResult;
|
|
3463
3463
|
try {
|
|
3464
3464
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3641,7 +3641,7 @@ var Object$1 = class Object$1 {
|
|
|
3641
3641
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3642
3642
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3643
3643
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3644
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3644
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3645
3645
|
let fetchResult;
|
|
3646
3646
|
try {
|
|
3647
3647
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3824,7 +3824,7 @@ var Object$1 = class Object$1 {
|
|
|
3824
3824
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3825
3825
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3826
3826
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3827
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3827
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3828
3828
|
let fetchResult;
|
|
3829
3829
|
try {
|
|
3830
3830
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4044,7 +4044,7 @@ var Object$1 = class Object$1 {
|
|
|
4044
4044
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4045
4045
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4046
4046
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4047
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4047
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4048
4048
|
let fetchResult;
|
|
4049
4049
|
try {
|
|
4050
4050
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4250,7 +4250,7 @@ var Object$1 = class Object$1 {
|
|
|
4250
4250
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4251
4251
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4252
4252
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4253
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4253
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4254
4254
|
let fetchResult;
|
|
4255
4255
|
try {
|
|
4256
4256
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4380,7 +4380,7 @@ var Object$1 = class Object$1 {
|
|
|
4380
4380
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4381
4381
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4382
4382
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4383
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4383
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4384
4384
|
let fetchResult;
|
|
4385
4385
|
try {
|
|
4386
4386
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4510,7 +4510,7 @@ var Object$1 = class Object$1 {
|
|
|
4510
4510
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4511
4511
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4512
4512
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4513
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4513
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4514
4514
|
let fetchResult;
|
|
4515
4515
|
try {
|
|
4516
4516
|
fetchResult = await documentLoader(url.href);
|
|
@@ -5346,7 +5346,7 @@ var Object$1 = class Object$1 {
|
|
|
5346
5346
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5347
5347
|
*/
|
|
5348
5348
|
static async fromJsonLd(json, options = {}) {
|
|
5349
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
5349
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5350
5350
|
try {
|
|
5351
5351
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
5352
5352
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6823,7 +6823,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
6823
6823
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6824
6824
|
*/
|
|
6825
6825
|
static async fromJsonLd(json, options = {}) {
|
|
6826
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
6826
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6827
6827
|
try {
|
|
6828
6828
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
6829
6829
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7065,7 +7065,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7065
7065
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7066
7066
|
*/
|
|
7067
7067
|
static async fromJsonLd(json, options = {}) {
|
|
7068
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
7068
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7069
7069
|
try {
|
|
7070
7070
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
7071
7071
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7355,7 +7355,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7355
7355
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7356
7356
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7357
7357
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7358
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7358
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7359
7359
|
let fetchResult;
|
|
7360
7360
|
try {
|
|
7361
7361
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7586,7 +7586,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7586
7586
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7587
7587
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7588
7588
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7589
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7589
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7590
7590
|
let fetchResult;
|
|
7591
7591
|
try {
|
|
7592
7592
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7771,7 +7771,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7771
7771
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7772
7772
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7773
7773
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7774
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7774
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7775
7775
|
let fetchResult;
|
|
7776
7776
|
try {
|
|
7777
7777
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7962,7 +7962,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7962
7962
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7963
7963
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7964
7964
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7965
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7965
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7966
7966
|
let fetchResult;
|
|
7967
7967
|
try {
|
|
7968
7968
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8147,7 +8147,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8147
8147
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8148
8148
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8149
8149
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8150
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
8150
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8151
8151
|
let fetchResult;
|
|
8152
8152
|
try {
|
|
8153
8153
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8334,7 +8334,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8334
8334
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8335
8335
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8336
8336
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8337
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
8337
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8338
8338
|
let fetchResult;
|
|
8339
8339
|
try {
|
|
8340
8340
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8604,7 +8604,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8604
8604
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8605
8605
|
*/
|
|
8606
8606
|
static async fromJsonLd(json, options = {}) {
|
|
8607
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
8607
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8608
8608
|
try {
|
|
8609
8609
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
8610
8610
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8943,7 +8943,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
8943
8943
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8944
8944
|
*/
|
|
8945
8945
|
static async fromJsonLd(json, options = {}) {
|
|
8946
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
8946
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8947
8947
|
try {
|
|
8948
8948
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
8949
8949
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9204,7 +9204,7 @@ var PropertyValue = class {
|
|
|
9204
9204
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9205
9205
|
*/
|
|
9206
9206
|
static async fromJsonLd(json, options = {}) {
|
|
9207
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9207
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9208
9208
|
try {
|
|
9209
9209
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
9210
9210
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9375,7 +9375,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9375
9375
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9376
9376
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9377
9377
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9378
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
9378
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9379
9379
|
let fetchResult;
|
|
9380
9380
|
try {
|
|
9381
9381
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9505,7 +9505,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9505
9505
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9506
9506
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9507
9507
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9508
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
9508
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9509
9509
|
let fetchResult;
|
|
9510
9510
|
try {
|
|
9511
9511
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9730,7 +9730,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9730
9730
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9731
9731
|
*/
|
|
9732
9732
|
static async fromJsonLd(json, options = {}) {
|
|
9733
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9733
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9734
9734
|
try {
|
|
9735
9735
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
9736
9736
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9934,7 +9934,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
9934
9934
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9935
9935
|
*/
|
|
9936
9936
|
static async fromJsonLd(json, options = {}) {
|
|
9937
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9937
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9938
9938
|
try {
|
|
9939
9939
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
9940
9940
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10189,7 +10189,7 @@ var InteractionPolicy = class {
|
|
|
10189
10189
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10190
10190
|
*/
|
|
10191
10191
|
static async fromJsonLd(json, options = {}) {
|
|
10192
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
10192
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10193
10193
|
try {
|
|
10194
10194
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
10195
10195
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10512,7 +10512,7 @@ var InteractionRule = class {
|
|
|
10512
10512
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10513
10513
|
*/
|
|
10514
10514
|
static async fromJsonLd(json, options = {}) {
|
|
10515
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
10515
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10516
10516
|
try {
|
|
10517
10517
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
10518
10518
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10676,7 +10676,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10676
10676
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10677
10677
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10678
10678
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10679
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10679
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10680
10680
|
let fetchResult;
|
|
10681
10681
|
try {
|
|
10682
10682
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10806,7 +10806,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10806
10806
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10807
10807
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10808
10808
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10809
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10809
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10810
10810
|
let fetchResult;
|
|
10811
10811
|
try {
|
|
10812
10812
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11031,7 +11031,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11031
11031
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11032
11032
|
*/
|
|
11033
11033
|
static async fromJsonLd(json, options = {}) {
|
|
11034
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11034
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11035
11035
|
try {
|
|
11036
11036
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
11037
11037
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11234,7 +11234,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
11234
11234
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11235
11235
|
*/
|
|
11236
11236
|
static async fromJsonLd(json, options = {}) {
|
|
11237
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11237
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11238
11238
|
try {
|
|
11239
11239
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
11240
11240
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11368,7 +11368,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11368
11368
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11369
11369
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11370
11370
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11371
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
11371
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11372
11372
|
let fetchResult;
|
|
11373
11373
|
try {
|
|
11374
11374
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11498,7 +11498,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11498
11498
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11499
11499
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11500
11500
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11501
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
11501
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11502
11502
|
let fetchResult;
|
|
11503
11503
|
try {
|
|
11504
11504
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11723,7 +11723,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11723
11723
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11724
11724
|
*/
|
|
11725
11725
|
static async fromJsonLd(json, options = {}) {
|
|
11726
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11726
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11727
11727
|
try {
|
|
11728
11728
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
11729
11729
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11926,7 +11926,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
11926
11926
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11927
11927
|
*/
|
|
11928
11928
|
static async fromJsonLd(json, options = {}) {
|
|
11929
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11929
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11930
11930
|
try {
|
|
11931
11931
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
11932
11932
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12147,7 +12147,7 @@ var DidService = class {
|
|
|
12147
12147
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12148
12148
|
*/
|
|
12149
12149
|
static async fromJsonLd(json, options = {}) {
|
|
12150
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12150
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12151
12151
|
try {
|
|
12152
12152
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
12153
12153
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12306,7 +12306,7 @@ var Export = class Export extends DidService {
|
|
|
12306
12306
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12307
12307
|
*/
|
|
12308
12308
|
static async fromJsonLd(json, options = {}) {
|
|
12309
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12309
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12310
12310
|
try {
|
|
12311
12311
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
12312
12312
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12494,7 +12494,7 @@ var DataIntegrityProof = class {
|
|
|
12494
12494
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12495
12495
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12496
12496
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12497
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
12497
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12498
12498
|
let fetchResult;
|
|
12499
12499
|
try {
|
|
12500
12500
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12713,7 +12713,7 @@ var DataIntegrityProof = class {
|
|
|
12713
12713
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12714
12714
|
*/
|
|
12715
12715
|
static async fromJsonLd(json, options = {}) {
|
|
12716
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12716
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12717
12717
|
try {
|
|
12718
12718
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
12719
12719
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12952,7 +12952,7 @@ var CryptographicKey = class {
|
|
|
12952
12952
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12953
12953
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12954
12954
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12955
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
12955
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12956
12956
|
let fetchResult;
|
|
12957
12957
|
try {
|
|
12958
12958
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13223,7 +13223,7 @@ var CryptographicKey = class {
|
|
|
13223
13223
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13224
13224
|
*/
|
|
13225
13225
|
static async fromJsonLd(json, options = {}) {
|
|
13226
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13226
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13227
13227
|
try {
|
|
13228
13228
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
13229
13229
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13439,7 +13439,7 @@ var Multikey = class {
|
|
|
13439
13439
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13440
13440
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13441
13441
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13442
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
13442
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13443
13443
|
let fetchResult;
|
|
13444
13444
|
try {
|
|
13445
13445
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13716,7 +13716,7 @@ var Multikey = class {
|
|
|
13716
13716
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13717
13717
|
*/
|
|
13718
13718
|
static async fromJsonLd(json, options = {}) {
|
|
13719
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13719
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13720
13720
|
try {
|
|
13721
13721
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
13722
13722
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13920,7 +13920,7 @@ var Accept = class Accept extends Activity {
|
|
|
13920
13920
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13921
13921
|
*/
|
|
13922
13922
|
static async fromJsonLd(json, options = {}) {
|
|
13923
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13923
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13924
13924
|
try {
|
|
13925
13925
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
13926
13926
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14075,7 +14075,7 @@ var Add = class Add extends Activity {
|
|
|
14075
14075
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14076
14076
|
*/
|
|
14077
14077
|
static async fromJsonLd(json, options = {}) {
|
|
14078
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
14078
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14079
14079
|
try {
|
|
14080
14080
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
14081
14081
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14247,7 +14247,7 @@ var Announce = class Announce extends Activity {
|
|
|
14247
14247
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14248
14248
|
*/
|
|
14249
14249
|
static async fromJsonLd(json, options = {}) {
|
|
14250
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
14250
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14251
14251
|
try {
|
|
14252
14252
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
14253
14253
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14645,7 +14645,7 @@ var Application = class Application extends Object$1 {
|
|
|
14645
14645
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14646
14646
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14647
14647
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14648
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14648
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14649
14649
|
let fetchResult;
|
|
14650
14650
|
try {
|
|
14651
14651
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14826,7 +14826,7 @@ var Application = class Application extends Object$1 {
|
|
|
14826
14826
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14827
14827
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14828
14828
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14829
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14829
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14830
14830
|
let fetchResult;
|
|
14831
14831
|
try {
|
|
14832
14832
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15025,7 +15025,7 @@ var Application = class Application extends Object$1 {
|
|
|
15025
15025
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15026
15026
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15027
15027
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15028
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15028
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15029
15029
|
let fetchResult;
|
|
15030
15030
|
try {
|
|
15031
15031
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15176,7 +15176,7 @@ var Application = class Application extends Object$1 {
|
|
|
15176
15176
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15177
15177
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15178
15178
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15179
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15179
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15180
15180
|
let fetchResult;
|
|
15181
15181
|
try {
|
|
15182
15182
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15324,7 +15324,7 @@ var Application = class Application extends Object$1 {
|
|
|
15324
15324
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15325
15325
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15326
15326
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15327
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15327
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15328
15328
|
let fetchResult;
|
|
15329
15329
|
try {
|
|
15330
15330
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15457,7 +15457,7 @@ var Application = class Application extends Object$1 {
|
|
|
15457
15457
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15458
15458
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15459
15459
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15460
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15460
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15461
15461
|
let fetchResult;
|
|
15462
15462
|
try {
|
|
15463
15463
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15593,7 +15593,7 @@ var Application = class Application extends Object$1 {
|
|
|
15593
15593
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15594
15594
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15595
15595
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15596
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15596
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15597
15597
|
let fetchResult;
|
|
15598
15598
|
try {
|
|
15599
15599
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15727,7 +15727,7 @@ var Application = class Application extends Object$1 {
|
|
|
15727
15727
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15728
15728
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15729
15729
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15730
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15730
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15731
15731
|
let fetchResult;
|
|
15732
15732
|
try {
|
|
15733
15733
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15859,7 +15859,7 @@ var Application = class Application extends Object$1 {
|
|
|
15859
15859
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15860
15860
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15861
15861
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15862
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15862
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15863
15863
|
let fetchResult;
|
|
15864
15864
|
try {
|
|
15865
15865
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15991,7 +15991,7 @@ var Application = class Application extends Object$1 {
|
|
|
15991
15991
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15992
15992
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15993
15993
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15994
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15994
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15995
15995
|
let fetchResult;
|
|
15996
15996
|
try {
|
|
15997
15997
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16163,7 +16163,7 @@ var Application = class Application extends Object$1 {
|
|
|
16163
16163
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16164
16164
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16165
16165
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16166
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
16166
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16167
16167
|
let fetchResult;
|
|
16168
16168
|
try {
|
|
16169
16169
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16338,7 +16338,7 @@ var Application = class Application extends Object$1 {
|
|
|
16338
16338
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16339
16339
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16340
16340
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16341
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
16341
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16342
16342
|
let fetchResult;
|
|
16343
16343
|
try {
|
|
16344
16344
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16571,7 +16571,7 @@ var Application = class Application extends Object$1 {
|
|
|
16571
16571
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16572
16572
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16573
16573
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16574
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
16574
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16575
16575
|
let fetchResult;
|
|
16576
16576
|
try {
|
|
16577
16577
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17275,7 +17275,7 @@ var Application = class Application extends Object$1 {
|
|
|
17275
17275
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17276
17276
|
*/
|
|
17277
17277
|
static async fromJsonLd(json, options = {}) {
|
|
17278
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17278
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17279
17279
|
try {
|
|
17280
17280
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
17281
17281
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17886,7 +17886,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
17886
17886
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17887
17887
|
*/
|
|
17888
17888
|
static async fromJsonLd(json, options = {}) {
|
|
17889
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17889
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17890
17890
|
try {
|
|
17891
17891
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
17892
17892
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18042,7 +18042,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
18042
18042
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18043
18043
|
*/
|
|
18044
18044
|
static async fromJsonLd(json, options = {}) {
|
|
18045
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18045
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18046
18046
|
try {
|
|
18047
18047
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
18048
18048
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18282,7 +18282,7 @@ var Article = class Article extends Object$1 {
|
|
|
18282
18282
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18283
18283
|
*/
|
|
18284
18284
|
static async fromJsonLd(json, options = {}) {
|
|
18285
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18285
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18286
18286
|
try {
|
|
18287
18287
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
18288
18288
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18528,7 +18528,7 @@ var Document = class Document extends Object$1 {
|
|
|
18528
18528
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18529
18529
|
*/
|
|
18530
18530
|
static async fromJsonLd(json, options = {}) {
|
|
18531
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18531
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18532
18532
|
try {
|
|
18533
18533
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
18534
18534
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18726,7 +18726,7 @@ var Audio = class Audio extends Document {
|
|
|
18726
18726
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18727
18727
|
*/
|
|
18728
18728
|
static async fromJsonLd(json, options = {}) {
|
|
18729
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18729
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18730
18730
|
try {
|
|
18731
18731
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
18732
18732
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18878,7 +18878,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
18878
18878
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18879
18879
|
*/
|
|
18880
18880
|
static async fromJsonLd(json, options = {}) {
|
|
18881
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18881
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18882
18882
|
try {
|
|
18883
18883
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
18884
18884
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19033,7 +19033,7 @@ var Block = class Block extends Ignore {
|
|
|
19033
19033
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19034
19034
|
*/
|
|
19035
19035
|
static async fromJsonLd(json, options = {}) {
|
|
19036
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
19036
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19037
19037
|
try {
|
|
19038
19038
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
19039
19039
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19300,7 +19300,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19300
19300
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19301
19301
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19302
19302
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19303
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19303
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19304
19304
|
let fetchResult;
|
|
19305
19305
|
try {
|
|
19306
19306
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19430,7 +19430,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19430
19430
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19431
19431
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19432
19432
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19433
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19433
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19434
19434
|
let fetchResult;
|
|
19435
19435
|
try {
|
|
19436
19436
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19560,7 +19560,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19560
19560
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19561
19561
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19562
19562
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19563
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19563
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19564
19564
|
let fetchResult;
|
|
19565
19565
|
try {
|
|
19566
19566
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19690,7 +19690,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19690
19690
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19691
19691
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19692
19692
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19693
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19693
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19694
19694
|
let fetchResult;
|
|
19695
19695
|
try {
|
|
19696
19696
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19831,7 +19831,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19831
19831
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19832
19832
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19833
19833
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19834
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19834
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19835
19835
|
let fetchResult;
|
|
19836
19836
|
try {
|
|
19837
19837
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19960,7 +19960,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19960
19960
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19961
19961
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19962
19962
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19963
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19963
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19964
19964
|
let fetchResult;
|
|
19965
19965
|
try {
|
|
19966
19966
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20089,7 +20089,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20089
20089
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20090
20090
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20091
20091
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20092
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20092
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20093
20093
|
let fetchResult;
|
|
20094
20094
|
try {
|
|
20095
20095
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20218,7 +20218,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20218
20218
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20219
20219
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20220
20220
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20221
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20221
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20222
20222
|
let fetchResult;
|
|
20223
20223
|
try {
|
|
20224
20224
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20347,7 +20347,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20347
20347
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20348
20348
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20349
20349
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20350
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20350
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20351
20351
|
let fetchResult;
|
|
20352
20352
|
try {
|
|
20353
20353
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20476,7 +20476,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20476
20476
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20477
20477
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20478
20478
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20479
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20479
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20480
20480
|
let fetchResult;
|
|
20481
20481
|
try {
|
|
20482
20482
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20605,7 +20605,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20605
20605
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20606
20606
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20607
20607
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20608
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20608
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20609
20609
|
let fetchResult;
|
|
20610
20610
|
try {
|
|
20611
20611
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20734,7 +20734,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20734
20734
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20735
20735
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20736
20736
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20737
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20737
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20738
20738
|
let fetchResult;
|
|
20739
20739
|
try {
|
|
20740
20740
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21172,7 +21172,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21172
21172
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21173
21173
|
*/
|
|
21174
21174
|
static async fromJsonLd(json, options = {}) {
|
|
21175
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21175
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21176
21176
|
try {
|
|
21177
21177
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
21178
21178
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21656,7 +21656,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
21656
21656
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21657
21657
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21658
21658
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21659
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
21659
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21660
21660
|
let fetchResult;
|
|
21661
21661
|
try {
|
|
21662
21662
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21786,7 +21786,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
21786
21786
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21787
21787
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21788
21788
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21789
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
21789
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21790
21790
|
let fetchResult;
|
|
21791
21791
|
try {
|
|
21792
21792
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21915,7 +21915,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
21915
21915
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21916
21916
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21917
21917
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21918
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
21918
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21919
21919
|
let fetchResult;
|
|
21920
21920
|
try {
|
|
21921
21921
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22190,7 +22190,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
22190
22190
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22191
22191
|
*/
|
|
22192
22192
|
static async fromJsonLd(json, options = {}) {
|
|
22193
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22193
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22194
22194
|
try {
|
|
22195
22195
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
22196
22196
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22426,7 +22426,7 @@ var Create = class Create extends Activity {
|
|
|
22426
22426
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22427
22427
|
*/
|
|
22428
22428
|
static async fromJsonLd(json, options = {}) {
|
|
22429
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22429
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22430
22430
|
try {
|
|
22431
22431
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
22432
22432
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22594,7 +22594,7 @@ var Delete = class Delete extends Activity {
|
|
|
22594
22594
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22595
22595
|
*/
|
|
22596
22596
|
static async fromJsonLd(json, options = {}) {
|
|
22597
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22597
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22598
22598
|
try {
|
|
22599
22599
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
22600
22600
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22749,7 +22749,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
22749
22749
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22750
22750
|
*/
|
|
22751
22751
|
static async fromJsonLd(json, options = {}) {
|
|
22752
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22752
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22753
22753
|
try {
|
|
22754
22754
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
22755
22755
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23109,7 +23109,7 @@ var Endpoints = class {
|
|
|
23109
23109
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23110
23110
|
*/
|
|
23111
23111
|
static async fromJsonLd(json, options = {}) {
|
|
23112
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
23112
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23113
23113
|
try {
|
|
23114
23114
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
23115
23115
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23358,7 +23358,7 @@ var Event = class Event extends Object$1 {
|
|
|
23358
23358
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23359
23359
|
*/
|
|
23360
23360
|
static async fromJsonLd(json, options = {}) {
|
|
23361
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
23361
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23362
23362
|
try {
|
|
23363
23363
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
23364
23364
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23511,7 +23511,7 @@ var Flag = class Flag extends Activity {
|
|
|
23511
23511
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23512
23512
|
*/
|
|
23513
23513
|
static async fromJsonLd(json, options = {}) {
|
|
23514
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
23514
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23515
23515
|
try {
|
|
23516
23516
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
23517
23517
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23668,7 +23668,7 @@ var Follow = class Follow extends Activity {
|
|
|
23668
23668
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23669
23669
|
*/
|
|
23670
23670
|
static async fromJsonLd(json, options = {}) {
|
|
23671
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
23671
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23672
23672
|
try {
|
|
23673
23673
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
23674
23674
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24066,7 +24066,7 @@ var Group = class Group extends Object$1 {
|
|
|
24066
24066
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24067
24067
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24068
24068
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24069
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24069
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24070
24070
|
let fetchResult;
|
|
24071
24071
|
try {
|
|
24072
24072
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24247,7 +24247,7 @@ var Group = class Group extends Object$1 {
|
|
|
24247
24247
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24248
24248
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24249
24249
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24250
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24250
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24251
24251
|
let fetchResult;
|
|
24252
24252
|
try {
|
|
24253
24253
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24446,7 +24446,7 @@ var Group = class Group extends Object$1 {
|
|
|
24446
24446
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24447
24447
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24448
24448
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24449
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24449
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24450
24450
|
let fetchResult;
|
|
24451
24451
|
try {
|
|
24452
24452
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24597,7 +24597,7 @@ var Group = class Group extends Object$1 {
|
|
|
24597
24597
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24598
24598
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24599
24599
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24600
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24600
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24601
24601
|
let fetchResult;
|
|
24602
24602
|
try {
|
|
24603
24603
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24745,7 +24745,7 @@ var Group = class Group extends Object$1 {
|
|
|
24745
24745
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24746
24746
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24747
24747
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24748
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24748
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24749
24749
|
let fetchResult;
|
|
24750
24750
|
try {
|
|
24751
24751
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24878,7 +24878,7 @@ var Group = class Group extends Object$1 {
|
|
|
24878
24878
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24879
24879
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24880
24880
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24881
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24881
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24882
24882
|
let fetchResult;
|
|
24883
24883
|
try {
|
|
24884
24884
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25014,7 +25014,7 @@ var Group = class Group extends Object$1 {
|
|
|
25014
25014
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25015
25015
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25016
25016
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25017
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25017
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25018
25018
|
let fetchResult;
|
|
25019
25019
|
try {
|
|
25020
25020
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25148,7 +25148,7 @@ var Group = class Group extends Object$1 {
|
|
|
25148
25148
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25149
25149
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25150
25150
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25151
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25151
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25152
25152
|
let fetchResult;
|
|
25153
25153
|
try {
|
|
25154
25154
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25280,7 +25280,7 @@ var Group = class Group extends Object$1 {
|
|
|
25280
25280
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25281
25281
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25282
25282
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25283
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25283
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25284
25284
|
let fetchResult;
|
|
25285
25285
|
try {
|
|
25286
25286
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25412,7 +25412,7 @@ var Group = class Group extends Object$1 {
|
|
|
25412
25412
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25413
25413
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25414
25414
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25415
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25415
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25416
25416
|
let fetchResult;
|
|
25417
25417
|
try {
|
|
25418
25418
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25584,7 +25584,7 @@ var Group = class Group extends Object$1 {
|
|
|
25584
25584
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25585
25585
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25586
25586
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25587
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25587
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25588
25588
|
let fetchResult;
|
|
25589
25589
|
try {
|
|
25590
25590
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25759,7 +25759,7 @@ var Group = class Group extends Object$1 {
|
|
|
25759
25759
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25760
25760
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25761
25761
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25762
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25762
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25763
25763
|
let fetchResult;
|
|
25764
25764
|
try {
|
|
25765
25765
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25992,7 +25992,7 @@ var Group = class Group extends Object$1 {
|
|
|
25992
25992
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25993
25993
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25994
25994
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25995
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25995
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25996
25996
|
let fetchResult;
|
|
25997
25997
|
try {
|
|
25998
25998
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26696,7 +26696,7 @@ var Group = class Group extends Object$1 {
|
|
|
26696
26696
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26697
26697
|
*/
|
|
26698
26698
|
static async fromJsonLd(json, options = {}) {
|
|
26699
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
26699
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26700
26700
|
try {
|
|
26701
26701
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
26702
26702
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27457,7 +27457,7 @@ var Link = class Link {
|
|
|
27457
27457
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27458
27458
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27459
27459
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27460
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
27460
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27461
27461
|
let fetchResult;
|
|
27462
27462
|
try {
|
|
27463
27463
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27759,7 +27759,7 @@ var Link = class Link {
|
|
|
27759
27759
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27760
27760
|
*/
|
|
27761
27761
|
static async fromJsonLd(json, options = {}) {
|
|
27762
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27762
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27763
27763
|
try {
|
|
27764
27764
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
27765
27765
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28115,7 +28115,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
28115
28115
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28116
28116
|
*/
|
|
28117
28117
|
static async fromJsonLd(json, options = {}) {
|
|
28118
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28118
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28119
28119
|
try {
|
|
28120
28120
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
28121
28121
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28280,7 +28280,7 @@ var Image = class Image extends Document {
|
|
|
28280
28280
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28281
28281
|
*/
|
|
28282
28282
|
static async fromJsonLd(json, options = {}) {
|
|
28283
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28283
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28284
28284
|
try {
|
|
28285
28285
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
28286
28286
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28433,7 +28433,7 @@ var Offer = class Offer extends Activity {
|
|
|
28433
28433
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28434
28434
|
*/
|
|
28435
28435
|
static async fromJsonLd(json, options = {}) {
|
|
28436
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28436
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28437
28437
|
try {
|
|
28438
28438
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
28439
28439
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28586,7 +28586,7 @@ var Invite = class Invite extends Offer {
|
|
|
28586
28586
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28587
28587
|
*/
|
|
28588
28588
|
static async fromJsonLd(json, options = {}) {
|
|
28589
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28589
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28590
28590
|
try {
|
|
28591
28591
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
28592
28592
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28738,7 +28738,7 @@ var Join = class Join extends Activity {
|
|
|
28738
28738
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28739
28739
|
*/
|
|
28740
28740
|
static async fromJsonLd(json, options = {}) {
|
|
28741
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28741
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28742
28742
|
try {
|
|
28743
28743
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
28744
28744
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28890,7 +28890,7 @@ var Leave = class Leave extends Activity {
|
|
|
28890
28890
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28891
28891
|
*/
|
|
28892
28892
|
static async fromJsonLd(json, options = {}) {
|
|
28893
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28893
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28894
28894
|
try {
|
|
28895
28895
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
28896
28896
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29046,7 +29046,7 @@ var Like = class Like extends Activity {
|
|
|
29046
29046
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29047
29047
|
*/
|
|
29048
29048
|
static async fromJsonLd(json, options = {}) {
|
|
29049
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
29049
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29050
29050
|
try {
|
|
29051
29051
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
29052
29052
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29197,7 +29197,7 @@ var Listen = class Listen extends Activity {
|
|
|
29197
29197
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29198
29198
|
*/
|
|
29199
29199
|
static async fromJsonLd(json, options = {}) {
|
|
29200
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
29200
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29201
29201
|
try {
|
|
29202
29202
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
29203
29203
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29351,7 +29351,7 @@ var Mention = class Mention extends Link {
|
|
|
29351
29351
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29352
29352
|
*/
|
|
29353
29353
|
static async fromJsonLd(json, options = {}) {
|
|
29354
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
29354
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29355
29355
|
try {
|
|
29356
29356
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
29357
29357
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29504,7 +29504,7 @@ var Move = class Move extends Activity {
|
|
|
29504
29504
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29505
29505
|
*/
|
|
29506
29506
|
static async fromJsonLd(json, options = {}) {
|
|
29507
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
29507
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29508
29508
|
try {
|
|
29509
29509
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
29510
29510
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29745,7 +29745,7 @@ var Note = class Note extends Object$1 {
|
|
|
29745
29745
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29746
29746
|
*/
|
|
29747
29747
|
static async fromJsonLd(json, options = {}) {
|
|
29748
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
29748
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29749
29749
|
try {
|
|
29750
29750
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
29751
29751
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29883,7 +29883,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
29883
29883
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29884
29884
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29885
29885
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29886
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
29886
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29887
29887
|
let fetchResult;
|
|
29888
29888
|
try {
|
|
29889
29889
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30143,7 +30143,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
30143
30143
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30144
30144
|
*/
|
|
30145
30145
|
static async fromJsonLd(json, options = {}) {
|
|
30146
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
30146
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30147
30147
|
try {
|
|
30148
30148
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
30149
30149
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30362,7 +30362,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
30362
30362
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30363
30363
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30364
30364
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30365
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30365
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30366
30366
|
let fetchResult;
|
|
30367
30367
|
try {
|
|
30368
30368
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30645,7 +30645,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
30645
30645
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30646
30646
|
*/
|
|
30647
30647
|
static async fromJsonLd(json, options = {}) {
|
|
30648
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
30648
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30649
30649
|
try {
|
|
30650
30650
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
30651
30651
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31152,7 +31152,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31152
31152
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31153
31153
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31154
31154
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31155
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31155
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31156
31156
|
let fetchResult;
|
|
31157
31157
|
try {
|
|
31158
31158
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31333,7 +31333,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31333
31333
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31334
31334
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31335
31335
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31336
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31336
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31337
31337
|
let fetchResult;
|
|
31338
31338
|
try {
|
|
31339
31339
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31532,7 +31532,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31532
31532
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31533
31533
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31534
31534
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31535
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31535
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31536
31536
|
let fetchResult;
|
|
31537
31537
|
try {
|
|
31538
31538
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31683,7 +31683,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31683
31683
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31684
31684
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31685
31685
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31686
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31686
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31687
31687
|
let fetchResult;
|
|
31688
31688
|
try {
|
|
31689
31689
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31831,7 +31831,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31831
31831
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31832
31832
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31833
31833
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31834
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31834
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31835
31835
|
let fetchResult;
|
|
31836
31836
|
try {
|
|
31837
31837
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31964,7 +31964,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31964
31964
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31965
31965
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31966
31966
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31967
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31967
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31968
31968
|
let fetchResult;
|
|
31969
31969
|
try {
|
|
31970
31970
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32100,7 +32100,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32100
32100
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32101
32101
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32102
32102
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32103
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32103
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32104
32104
|
let fetchResult;
|
|
32105
32105
|
try {
|
|
32106
32106
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32234,7 +32234,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32234
32234
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32235
32235
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32236
32236
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32237
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32237
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32238
32238
|
let fetchResult;
|
|
32239
32239
|
try {
|
|
32240
32240
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32366,7 +32366,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32366
32366
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32367
32367
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32368
32368
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32369
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32369
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32370
32370
|
let fetchResult;
|
|
32371
32371
|
try {
|
|
32372
32372
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32498,7 +32498,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32498
32498
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32499
32499
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32500
32500
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32501
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32501
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32502
32502
|
let fetchResult;
|
|
32503
32503
|
try {
|
|
32504
32504
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32670,7 +32670,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32670
32670
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32671
32671
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32672
32672
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32673
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32673
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32674
32674
|
let fetchResult;
|
|
32675
32675
|
try {
|
|
32676
32676
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32845,7 +32845,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32845
32845
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32846
32846
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32847
32847
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32848
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32848
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32849
32849
|
let fetchResult;
|
|
32850
32850
|
try {
|
|
32851
32851
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33078,7 +33078,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33078
33078
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33079
33079
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33080
33080
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33081
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33081
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33082
33082
|
let fetchResult;
|
|
33083
33083
|
try {
|
|
33084
33084
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33782,7 +33782,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33782
33782
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33783
33783
|
*/
|
|
33784
33784
|
static async fromJsonLd(json, options = {}) {
|
|
33785
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
33785
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33786
33786
|
try {
|
|
33787
33787
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
33788
33788
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34405,7 +34405,7 @@ var Page = class Page extends Document {
|
|
|
34405
34405
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34406
34406
|
*/
|
|
34407
34407
|
static async fromJsonLd(json, options = {}) {
|
|
34408
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
34408
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34409
34409
|
try {
|
|
34410
34410
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
34411
34411
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34803,7 +34803,7 @@ var Person = class Person extends Object$1 {
|
|
|
34803
34803
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34804
34804
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34805
34805
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34806
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34806
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34807
34807
|
let fetchResult;
|
|
34808
34808
|
try {
|
|
34809
34809
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34984,7 +34984,7 @@ var Person = class Person extends Object$1 {
|
|
|
34984
34984
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34985
34985
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34986
34986
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34987
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34987
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34988
34988
|
let fetchResult;
|
|
34989
34989
|
try {
|
|
34990
34990
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35183,7 +35183,7 @@ var Person = class Person extends Object$1 {
|
|
|
35183
35183
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35184
35184
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35185
35185
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35186
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35186
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35187
35187
|
let fetchResult;
|
|
35188
35188
|
try {
|
|
35189
35189
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35334,7 +35334,7 @@ var Person = class Person extends Object$1 {
|
|
|
35334
35334
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35335
35335
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35336
35336
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35337
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35337
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35338
35338
|
let fetchResult;
|
|
35339
35339
|
try {
|
|
35340
35340
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35482,7 +35482,7 @@ var Person = class Person extends Object$1 {
|
|
|
35482
35482
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35483
35483
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35484
35484
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35485
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35485
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35486
35486
|
let fetchResult;
|
|
35487
35487
|
try {
|
|
35488
35488
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35615,7 +35615,7 @@ var Person = class Person extends Object$1 {
|
|
|
35615
35615
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35616
35616
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35617
35617
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35618
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35618
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35619
35619
|
let fetchResult;
|
|
35620
35620
|
try {
|
|
35621
35621
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35751,7 +35751,7 @@ var Person = class Person extends Object$1 {
|
|
|
35751
35751
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35752
35752
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35753
35753
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35754
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35754
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35755
35755
|
let fetchResult;
|
|
35756
35756
|
try {
|
|
35757
35757
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35885,7 +35885,7 @@ var Person = class Person extends Object$1 {
|
|
|
35885
35885
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35886
35886
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35887
35887
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35888
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35888
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35889
35889
|
let fetchResult;
|
|
35890
35890
|
try {
|
|
35891
35891
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36017,7 +36017,7 @@ var Person = class Person extends Object$1 {
|
|
|
36017
36017
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36018
36018
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36019
36019
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36020
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36020
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36021
36021
|
let fetchResult;
|
|
36022
36022
|
try {
|
|
36023
36023
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36149,7 +36149,7 @@ var Person = class Person extends Object$1 {
|
|
|
36149
36149
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36150
36150
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36151
36151
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36152
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36152
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36153
36153
|
let fetchResult;
|
|
36154
36154
|
try {
|
|
36155
36155
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36321,7 +36321,7 @@ var Person = class Person extends Object$1 {
|
|
|
36321
36321
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36322
36322
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36323
36323
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36324
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36324
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36325
36325
|
let fetchResult;
|
|
36326
36326
|
try {
|
|
36327
36327
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36496,7 +36496,7 @@ var Person = class Person extends Object$1 {
|
|
|
36496
36496
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36497
36497
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36498
36498
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36499
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36499
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36500
36500
|
let fetchResult;
|
|
36501
36501
|
try {
|
|
36502
36502
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36729,7 +36729,7 @@ var Person = class Person extends Object$1 {
|
|
|
36729
36729
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36730
36730
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36731
36731
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36732
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36732
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36733
36733
|
let fetchResult;
|
|
36734
36734
|
try {
|
|
36735
36735
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37433,7 +37433,7 @@ var Person = class Person extends Object$1 {
|
|
|
37433
37433
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37434
37434
|
*/
|
|
37435
37435
|
static async fromJsonLd(json, options = {}) {
|
|
37436
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
37436
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37437
37437
|
try {
|
|
37438
37438
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
37439
37439
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38233,7 +38233,7 @@ var Place = class Place extends Object$1 {
|
|
|
38233
38233
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38234
38234
|
*/
|
|
38235
38235
|
static async fromJsonLd(json, options = {}) {
|
|
38236
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
38236
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38237
38237
|
try {
|
|
38238
38238
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
38239
38239
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38441,7 +38441,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
38441
38441
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38442
38442
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38443
38443
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38444
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
38444
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38445
38445
|
let fetchResult;
|
|
38446
38446
|
try {
|
|
38447
38447
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38651,7 +38651,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
38651
38651
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38652
38652
|
*/
|
|
38653
38653
|
static async fromJsonLd(json, options = {}) {
|
|
38654
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
38654
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38655
38655
|
try {
|
|
38656
38656
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
38657
38657
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38827,7 +38827,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
38827
38827
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38828
38828
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38829
38829
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38830
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
38830
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38831
38831
|
let fetchResult;
|
|
38832
38832
|
try {
|
|
38833
38833
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38959,7 +38959,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
38959
38959
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38960
38960
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38961
38961
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38962
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
38962
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38963
38963
|
let fetchResult;
|
|
38964
38964
|
try {
|
|
38965
38965
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39233,7 +39233,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
39233
39233
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39234
39234
|
*/
|
|
39235
39235
|
static async fromJsonLd(json, options = {}) {
|
|
39236
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
39236
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39237
39237
|
try {
|
|
39238
39238
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
39239
39239
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39479,7 +39479,7 @@ var Read = class Read extends Activity {
|
|
|
39479
39479
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39480
39480
|
*/
|
|
39481
39481
|
static async fromJsonLd(json, options = {}) {
|
|
39482
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
39482
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39483
39483
|
try {
|
|
39484
39484
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
39485
39485
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39631,7 +39631,7 @@ var Reject = class Reject extends Activity {
|
|
|
39631
39631
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39632
39632
|
*/
|
|
39633
39633
|
static async fromJsonLd(json, options = {}) {
|
|
39634
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
39634
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39635
39635
|
try {
|
|
39636
39636
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
39637
39637
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39807,7 +39807,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
39807
39807
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39808
39808
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39809
39809
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39810
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39810
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39811
39811
|
let fetchResult;
|
|
39812
39812
|
try {
|
|
39813
39813
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39939,7 +39939,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
39939
39939
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39940
39940
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39941
39941
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39942
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39942
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39943
39943
|
let fetchResult;
|
|
39944
39944
|
try {
|
|
39945
39945
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40120,7 +40120,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
40120
40120
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40121
40121
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40122
40122
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40123
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40123
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40124
40124
|
let fetchResult;
|
|
40125
40125
|
try {
|
|
40126
40126
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40417,7 +40417,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
40417
40417
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40418
40418
|
*/
|
|
40419
40419
|
static async fromJsonLd(json, options = {}) {
|
|
40420
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
40420
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40421
40421
|
try {
|
|
40422
40422
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
40423
40423
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40635,7 +40635,7 @@ var Remove = class Remove extends Activity {
|
|
|
40635
40635
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40636
40636
|
*/
|
|
40637
40637
|
static async fromJsonLd(json, options = {}) {
|
|
40638
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
40638
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40639
40639
|
try {
|
|
40640
40640
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
40641
40641
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41033,7 +41033,7 @@ var Service = class Service extends Object$1 {
|
|
|
41033
41033
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41034
41034
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41035
41035
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41036
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41036
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41037
41037
|
let fetchResult;
|
|
41038
41038
|
try {
|
|
41039
41039
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41214,7 +41214,7 @@ var Service = class Service extends Object$1 {
|
|
|
41214
41214
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41215
41215
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41216
41216
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41217
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41217
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41218
41218
|
let fetchResult;
|
|
41219
41219
|
try {
|
|
41220
41220
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41413,7 +41413,7 @@ var Service = class Service extends Object$1 {
|
|
|
41413
41413
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41414
41414
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41415
41415
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41416
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41416
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41417
41417
|
let fetchResult;
|
|
41418
41418
|
try {
|
|
41419
41419
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41564,7 +41564,7 @@ var Service = class Service extends Object$1 {
|
|
|
41564
41564
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41565
41565
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41566
41566
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41567
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41567
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41568
41568
|
let fetchResult;
|
|
41569
41569
|
try {
|
|
41570
41570
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41712,7 +41712,7 @@ var Service = class Service extends Object$1 {
|
|
|
41712
41712
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41713
41713
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41714
41714
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41715
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41715
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41716
41716
|
let fetchResult;
|
|
41717
41717
|
try {
|
|
41718
41718
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41845,7 +41845,7 @@ var Service = class Service extends Object$1 {
|
|
|
41845
41845
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41846
41846
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41847
41847
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41848
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41848
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41849
41849
|
let fetchResult;
|
|
41850
41850
|
try {
|
|
41851
41851
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41981,7 +41981,7 @@ var Service = class Service extends Object$1 {
|
|
|
41981
41981
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41982
41982
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41983
41983
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41984
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41984
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41985
41985
|
let fetchResult;
|
|
41986
41986
|
try {
|
|
41987
41987
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42115,7 +42115,7 @@ var Service = class Service extends Object$1 {
|
|
|
42115
42115
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42116
42116
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42117
42117
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42118
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
42118
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42119
42119
|
let fetchResult;
|
|
42120
42120
|
try {
|
|
42121
42121
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42247,7 +42247,7 @@ var Service = class Service extends Object$1 {
|
|
|
42247
42247
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42248
42248
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42249
42249
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42250
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
42250
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42251
42251
|
let fetchResult;
|
|
42252
42252
|
try {
|
|
42253
42253
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42379,7 +42379,7 @@ var Service = class Service extends Object$1 {
|
|
|
42379
42379
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42380
42380
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42381
42381
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42382
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
42382
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42383
42383
|
let fetchResult;
|
|
42384
42384
|
try {
|
|
42385
42385
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42551,7 +42551,7 @@ var Service = class Service extends Object$1 {
|
|
|
42551
42551
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42552
42552
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42553
42553
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42554
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
42554
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42555
42555
|
let fetchResult;
|
|
42556
42556
|
try {
|
|
42557
42557
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42726,7 +42726,7 @@ var Service = class Service extends Object$1 {
|
|
|
42726
42726
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42727
42727
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42728
42728
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42729
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
42729
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42730
42730
|
let fetchResult;
|
|
42731
42731
|
try {
|
|
42732
42732
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42959,7 +42959,7 @@ var Service = class Service extends Object$1 {
|
|
|
42959
42959
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42960
42960
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42961
42961
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42962
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
42962
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42963
42963
|
let fetchResult;
|
|
42964
42964
|
try {
|
|
42965
42965
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43663,7 +43663,7 @@ var Service = class Service extends Object$1 {
|
|
|
43663
43663
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43664
43664
|
*/
|
|
43665
43665
|
static async fromJsonLd(json, options = {}) {
|
|
43666
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
43666
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43667
43667
|
try {
|
|
43668
43668
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
43669
43669
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44380,7 +44380,7 @@ var Source = class {
|
|
|
44380
44380
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44381
44381
|
*/
|
|
44382
44382
|
static async fromJsonLd(json, options = {}) {
|
|
44383
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
44383
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44384
44384
|
try {
|
|
44385
44385
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
44386
44386
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44565,7 +44565,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
44565
44565
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44566
44566
|
*/
|
|
44567
44567
|
static async fromJsonLd(json, options = {}) {
|
|
44568
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
44568
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44569
44569
|
try {
|
|
44570
44570
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
44571
44571
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44717,7 +44717,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
44717
44717
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44718
44718
|
*/
|
|
44719
44719
|
static async fromJsonLd(json, options = {}) {
|
|
44720
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
44720
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44721
44721
|
try {
|
|
44722
44722
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
44723
44723
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44915,7 +44915,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
44915
44915
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44916
44916
|
*/
|
|
44917
44917
|
static async fromJsonLd(json, options = {}) {
|
|
44918
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
44918
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44919
44919
|
try {
|
|
44920
44920
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
44921
44921
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45084,7 +45084,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
45084
45084
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45085
45085
|
*/
|
|
45086
45086
|
static async fromJsonLd(json, options = {}) {
|
|
45087
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
45087
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45088
45088
|
try {
|
|
45089
45089
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
45090
45090
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45250,7 +45250,7 @@ var Undo = class Undo extends Activity {
|
|
|
45250
45250
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45251
45251
|
*/
|
|
45252
45252
|
static async fromJsonLd(json, options = {}) {
|
|
45253
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
45253
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45254
45254
|
try {
|
|
45255
45255
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
45256
45256
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45454,7 +45454,7 @@ var Update = class Update extends Activity {
|
|
|
45454
45454
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45455
45455
|
*/
|
|
45456
45456
|
static async fromJsonLd(json, options = {}) {
|
|
45457
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
45457
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45458
45458
|
try {
|
|
45459
45459
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
45460
45460
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45619,7 +45619,7 @@ var Video = class Video extends Document {
|
|
|
45619
45619
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45620
45620
|
*/
|
|
45621
45621
|
static async fromJsonLd(json, options = {}) {
|
|
45622
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
45622
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45623
45623
|
try {
|
|
45624
45624
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
45625
45625
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45770,7 +45770,7 @@ var View = class View extends Activity {
|
|
|
45770
45770
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45771
45771
|
*/
|
|
45772
45772
|
static async fromJsonLd(json, options = {}) {
|
|
45773
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
45773
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45774
45774
|
try {
|
|
45775
45775
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
45776
45776
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|