@fedify/vocab 2.2.18-dev.2386 → 2.2.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deno.json +1 -1
- package/dist/mod.cjs +217 -217
- package/dist/mod.js +217 -217
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/{deno-Be8btutm.mjs → deno-6CUIKmD6.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-CCpnNoho.mjs → vocab-DTY3b5Yj.mjs} +216 -216
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
package/dist/mod.js
CHANGED
|
@@ -9,7 +9,7 @@ import { isTemporalDuration, isTemporalInstant } from "@fedify/vocab-runtime/tem
|
|
|
9
9
|
import { delay } from "es-toolkit";
|
|
10
10
|
//#region deno.json
|
|
11
11
|
var name = "@fedify/vocab";
|
|
12
|
-
var version = "2.2.
|
|
12
|
+
var version = "2.2.19";
|
|
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.2.
|
|
704
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").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.2.
|
|
860
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").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.2.
|
|
1091
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").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.2.
|
|
1294
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").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.2.
|
|
1466
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").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.2.
|
|
1606
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").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.2.
|
|
1791
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").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.2.
|
|
1976
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").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.2.
|
|
2169
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").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.2.
|
|
2362
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").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.2.
|
|
2560
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").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.2.
|
|
2690
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").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.2.
|
|
2826
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").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.2.
|
|
2962
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").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.2.
|
|
3116
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").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.2.
|
|
3278
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").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.2.
|
|
3461
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").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.2.
|
|
3644
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").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.2.
|
|
3827
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").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.2.
|
|
4047
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").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.2.
|
|
4253
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").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.2.
|
|
4383
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").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.2.
|
|
4513
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").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.2.
|
|
5349
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").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);
|
|
@@ -6947,7 +6947,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
6947
6947
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6948
6948
|
*/
|
|
6949
6949
|
static async fromJsonLd(json, options = {}) {
|
|
6950
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
6950
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6951
6951
|
try {
|
|
6952
6952
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
6953
6953
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7084,7 +7084,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7084
7084
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7085
7085
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7086
7086
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7087
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
7087
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7088
7088
|
let fetchResult;
|
|
7089
7089
|
try {
|
|
7090
7090
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7231,7 +7231,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7231
7231
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7232
7232
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7233
7233
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7234
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
7234
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7235
7235
|
let fetchResult;
|
|
7236
7236
|
try {
|
|
7237
7237
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7524,7 +7524,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7524
7524
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7525
7525
|
*/
|
|
7526
7526
|
static async fromJsonLd(json, options = {}) {
|
|
7527
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
7527
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7528
7528
|
try {
|
|
7529
7529
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
7530
7530
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7864,7 +7864,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7864
7864
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7865
7865
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7866
7866
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7867
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
7867
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7868
7868
|
let fetchResult;
|
|
7869
7869
|
try {
|
|
7870
7870
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8095,7 +8095,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8095
8095
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8096
8096
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8097
8097
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8098
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8098
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8099
8099
|
let fetchResult;
|
|
8100
8100
|
try {
|
|
8101
8101
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8280,7 +8280,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8280
8280
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8281
8281
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8282
8282
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8283
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8283
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8284
8284
|
let fetchResult;
|
|
8285
8285
|
try {
|
|
8286
8286
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8471,7 +8471,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8471
8471
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8472
8472
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8473
8473
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8474
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8474
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8475
8475
|
let fetchResult;
|
|
8476
8476
|
try {
|
|
8477
8477
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8656,7 +8656,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8656
8656
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8657
8657
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8658
8658
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8659
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8659
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8660
8660
|
let fetchResult;
|
|
8661
8661
|
try {
|
|
8662
8662
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8843,7 +8843,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8843
8843
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8844
8844
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8845
8845
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8846
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8846
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8847
8847
|
let fetchResult;
|
|
8848
8848
|
try {
|
|
8849
8849
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9113,7 +9113,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
9113
9113
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9114
9114
|
*/
|
|
9115
9115
|
static async fromJsonLd(json, options = {}) {
|
|
9116
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
9116
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9117
9117
|
try {
|
|
9118
9118
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
9119
9119
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9473,7 +9473,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
9473
9473
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9474
9474
|
*/
|
|
9475
9475
|
static async fromJsonLd(json, options = {}) {
|
|
9476
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
9476
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9477
9477
|
try {
|
|
9478
9478
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
9479
9479
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9734,7 +9734,7 @@ var PropertyValue = class {
|
|
|
9734
9734
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9735
9735
|
*/
|
|
9736
9736
|
static async fromJsonLd(json, options = {}) {
|
|
9737
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
9737
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9738
9738
|
try {
|
|
9739
9739
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
9740
9740
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10022,7 +10022,7 @@ var Measure = class {
|
|
|
10022
10022
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10023
10023
|
*/
|
|
10024
10024
|
static async fromJsonLd(json, options = {}) {
|
|
10025
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
10025
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10026
10026
|
try {
|
|
10027
10027
|
const object = await this.__fromJsonLd__Measure__(json, span, options);
|
|
10028
10028
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10193,7 +10193,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10193
10193
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10194
10194
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10195
10195
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10196
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
10196
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10197
10197
|
let fetchResult;
|
|
10198
10198
|
try {
|
|
10199
10199
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10323,7 +10323,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10323
10323
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10324
10324
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10325
10325
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10326
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
10326
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10327
10327
|
let fetchResult;
|
|
10328
10328
|
try {
|
|
10329
10329
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10548,7 +10548,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10548
10548
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10549
10549
|
*/
|
|
10550
10550
|
static async fromJsonLd(json, options = {}) {
|
|
10551
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
10551
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10552
10552
|
try {
|
|
10553
10553
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
10554
10554
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10760,7 +10760,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
10760
10760
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10761
10761
|
*/
|
|
10762
10762
|
static async fromJsonLd(json, options = {}) {
|
|
10763
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
10763
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10764
10764
|
try {
|
|
10765
10765
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
10766
10766
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11039,7 +11039,7 @@ var InteractionPolicy = class {
|
|
|
11039
11039
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11040
11040
|
*/
|
|
11041
11041
|
static async fromJsonLd(json, options = {}) {
|
|
11042
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
11042
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11043
11043
|
try {
|
|
11044
11044
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
11045
11045
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11395,7 +11395,7 @@ var InteractionRule = class {
|
|
|
11395
11395
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11396
11396
|
*/
|
|
11397
11397
|
static async fromJsonLd(json, options = {}) {
|
|
11398
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
11398
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11399
11399
|
try {
|
|
11400
11400
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
11401
11401
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11567,7 +11567,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11567
11567
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11568
11568
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11569
11569
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11570
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
11570
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11571
11571
|
let fetchResult;
|
|
11572
11572
|
try {
|
|
11573
11573
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11697,7 +11697,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11697
11697
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11698
11698
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11699
11699
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11700
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
11700
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11701
11701
|
let fetchResult;
|
|
11702
11702
|
try {
|
|
11703
11703
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11922,7 +11922,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11922
11922
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11923
11923
|
*/
|
|
11924
11924
|
static async fromJsonLd(json, options = {}) {
|
|
11925
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
11925
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11926
11926
|
try {
|
|
11927
11927
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
11928
11928
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12133,7 +12133,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
12133
12133
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12134
12134
|
*/
|
|
12135
12135
|
static async fromJsonLd(json, options = {}) {
|
|
12136
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12136
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12137
12137
|
try {
|
|
12138
12138
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
12139
12139
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12267,7 +12267,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12267
12267
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12268
12268
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12269
12269
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12270
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
12270
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12271
12271
|
let fetchResult;
|
|
12272
12272
|
try {
|
|
12273
12273
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12397,7 +12397,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12397
12397
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12398
12398
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12399
12399
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12400
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
12400
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12401
12401
|
let fetchResult;
|
|
12402
12402
|
try {
|
|
12403
12403
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12622,7 +12622,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12622
12622
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12623
12623
|
*/
|
|
12624
12624
|
static async fromJsonLd(json, options = {}) {
|
|
12625
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12625
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12626
12626
|
try {
|
|
12627
12627
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
12628
12628
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12833,7 +12833,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
12833
12833
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12834
12834
|
*/
|
|
12835
12835
|
static async fromJsonLd(json, options = {}) {
|
|
12836
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12836
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12837
12837
|
try {
|
|
12838
12838
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
12839
12839
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12967,7 +12967,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
12967
12967
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12968
12968
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12969
12969
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12970
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
12970
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12971
12971
|
let fetchResult;
|
|
12972
12972
|
try {
|
|
12973
12973
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13096,7 +13096,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
13096
13096
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13097
13097
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13098
13098
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13099
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
13099
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13100
13100
|
let fetchResult;
|
|
13101
13101
|
try {
|
|
13102
13102
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13323,7 +13323,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
13323
13323
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13324
13324
|
*/
|
|
13325
13325
|
static async fromJsonLd(json, options = {}) {
|
|
13326
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13326
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13327
13327
|
try {
|
|
13328
13328
|
const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
|
|
13329
13329
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13564,7 +13564,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
|
|
|
13564
13564
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13565
13565
|
*/
|
|
13566
13566
|
static async fromJsonLd(json, options = {}) {
|
|
13567
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13567
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13568
13568
|
try {
|
|
13569
13569
|
const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
|
|
13570
13570
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13785,7 +13785,7 @@ var DidService = class {
|
|
|
13785
13785
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13786
13786
|
*/
|
|
13787
13787
|
static async fromJsonLd(json, options = {}) {
|
|
13788
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13788
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13789
13789
|
try {
|
|
13790
13790
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
13791
13791
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13948,7 +13948,7 @@ var Export = class Export extends DidService {
|
|
|
13948
13948
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13949
13949
|
*/
|
|
13950
13950
|
static async fromJsonLd(json, options = {}) {
|
|
13951
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13951
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13952
13952
|
try {
|
|
13953
13953
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
13954
13954
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14136,7 +14136,7 @@ var DataIntegrityProof = class {
|
|
|
14136
14136
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14137
14137
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14138
14138
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14139
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
14139
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14140
14140
|
let fetchResult;
|
|
14141
14141
|
try {
|
|
14142
14142
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14355,7 +14355,7 @@ var DataIntegrityProof = class {
|
|
|
14355
14355
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14356
14356
|
*/
|
|
14357
14357
|
static async fromJsonLd(json, options = {}) {
|
|
14358
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
14358
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14359
14359
|
try {
|
|
14360
14360
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
14361
14361
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14614,7 +14614,7 @@ var CryptographicKey = class {
|
|
|
14614
14614
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14615
14615
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14616
14616
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14617
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
14617
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14618
14618
|
let fetchResult;
|
|
14619
14619
|
try {
|
|
14620
14620
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14885,7 +14885,7 @@ var CryptographicKey = class {
|
|
|
14885
14885
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14886
14886
|
*/
|
|
14887
14887
|
static async fromJsonLd(json, options = {}) {
|
|
14888
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
14888
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14889
14889
|
try {
|
|
14890
14890
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
14891
14891
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15105,7 +15105,7 @@ var Multikey = class {
|
|
|
15105
15105
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15106
15106
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15107
15107
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15108
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
15108
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15109
15109
|
let fetchResult;
|
|
15110
15110
|
try {
|
|
15111
15111
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15382,7 +15382,7 @@ var Multikey = class {
|
|
|
15382
15382
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15383
15383
|
*/
|
|
15384
15384
|
static async fromJsonLd(json, options = {}) {
|
|
15385
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
15385
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15386
15386
|
try {
|
|
15387
15387
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
15388
15388
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15793,7 +15793,7 @@ var Intent = class {
|
|
|
15793
15793
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15794
15794
|
*/
|
|
15795
15795
|
static async fromJsonLd(json, options = {}) {
|
|
15796
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
15796
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15797
15797
|
try {
|
|
15798
15798
|
const object = await this.__fromJsonLd__Intent__(json, span, options);
|
|
15799
15799
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16233,7 +16233,7 @@ var Proposal = class Proposal extends Object$1 {
|
|
|
16233
16233
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16234
16234
|
*/
|
|
16235
16235
|
static async fromJsonLd(json, options = {}) {
|
|
16236
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
16236
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16237
16237
|
try {
|
|
16238
16238
|
const object = await this.__fromJsonLd__Proposal__(json, span, options);
|
|
16239
16239
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16465,7 +16465,7 @@ var Accept = class Accept extends Activity {
|
|
|
16465
16465
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16466
16466
|
*/
|
|
16467
16467
|
static async fromJsonLd(json, options = {}) {
|
|
16468
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
16468
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16469
16469
|
try {
|
|
16470
16470
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
16471
16471
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16620,7 +16620,7 @@ var Add = class Add extends Activity {
|
|
|
16620
16620
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16621
16621
|
*/
|
|
16622
16622
|
static async fromJsonLd(json, options = {}) {
|
|
16623
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
16623
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16624
16624
|
try {
|
|
16625
16625
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
16626
16626
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16802,7 +16802,7 @@ var Announce = class Announce extends Activity {
|
|
|
16802
16802
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16803
16803
|
*/
|
|
16804
16804
|
static async fromJsonLd(json, options = {}) {
|
|
16805
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
16805
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16806
16806
|
try {
|
|
16807
16807
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
16808
16808
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17200,7 +17200,7 @@ var Application = class Application extends Object$1 {
|
|
|
17200
17200
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17201
17201
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17202
17202
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17203
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17203
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17204
17204
|
let fetchResult;
|
|
17205
17205
|
try {
|
|
17206
17206
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17381,7 +17381,7 @@ var Application = class Application extends Object$1 {
|
|
|
17381
17381
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17382
17382
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17383
17383
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17384
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17384
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17385
17385
|
let fetchResult;
|
|
17386
17386
|
try {
|
|
17387
17387
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17580,7 +17580,7 @@ var Application = class Application extends Object$1 {
|
|
|
17580
17580
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17581
17581
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17582
17582
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17583
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17583
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17584
17584
|
let fetchResult;
|
|
17585
17585
|
try {
|
|
17586
17586
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17731,7 +17731,7 @@ var Application = class Application extends Object$1 {
|
|
|
17731
17731
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17732
17732
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17733
17733
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17734
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17734
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17735
17735
|
let fetchResult;
|
|
17736
17736
|
try {
|
|
17737
17737
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17879,7 +17879,7 @@ var Application = class Application extends Object$1 {
|
|
|
17879
17879
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17880
17880
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17881
17881
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17882
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17882
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17883
17883
|
let fetchResult;
|
|
17884
17884
|
try {
|
|
17885
17885
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18012,7 +18012,7 @@ var Application = class Application extends Object$1 {
|
|
|
18012
18012
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18013
18013
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18014
18014
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18015
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18015
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18016
18016
|
let fetchResult;
|
|
18017
18017
|
try {
|
|
18018
18018
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18148,7 +18148,7 @@ var Application = class Application extends Object$1 {
|
|
|
18148
18148
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18149
18149
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18150
18150
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18151
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18151
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18152
18152
|
let fetchResult;
|
|
18153
18153
|
try {
|
|
18154
18154
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18282,7 +18282,7 @@ var Application = class Application extends Object$1 {
|
|
|
18282
18282
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18283
18283
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18284
18284
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18285
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18285
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18286
18286
|
let fetchResult;
|
|
18287
18287
|
try {
|
|
18288
18288
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18414,7 +18414,7 @@ var Application = class Application extends Object$1 {
|
|
|
18414
18414
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18415
18415
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18416
18416
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18417
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18417
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18418
18418
|
let fetchResult;
|
|
18419
18419
|
try {
|
|
18420
18420
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18546,7 +18546,7 @@ var Application = class Application extends Object$1 {
|
|
|
18546
18546
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18547
18547
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18548
18548
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18549
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18549
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18550
18550
|
let fetchResult;
|
|
18551
18551
|
try {
|
|
18552
18552
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18718,7 +18718,7 @@ var Application = class Application extends Object$1 {
|
|
|
18718
18718
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18719
18719
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18720
18720
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18721
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18721
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18722
18722
|
let fetchResult;
|
|
18723
18723
|
try {
|
|
18724
18724
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18893,7 +18893,7 @@ var Application = class Application extends Object$1 {
|
|
|
18893
18893
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18894
18894
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18895
18895
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18896
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18896
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18897
18897
|
let fetchResult;
|
|
18898
18898
|
try {
|
|
18899
18899
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19126,7 +19126,7 @@ var Application = class Application extends Object$1 {
|
|
|
19126
19126
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19127
19127
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19128
19128
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19129
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
19129
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19130
19130
|
let fetchResult;
|
|
19131
19131
|
try {
|
|
19132
19132
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19830,7 +19830,7 @@ var Application = class Application extends Object$1 {
|
|
|
19830
19830
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19831
19831
|
*/
|
|
19832
19832
|
static async fromJsonLd(json, options = {}) {
|
|
19833
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
19833
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19834
19834
|
try {
|
|
19835
19835
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
19836
19836
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20509,7 +20509,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
20509
20509
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20510
20510
|
*/
|
|
20511
20511
|
static async fromJsonLd(json, options = {}) {
|
|
20512
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
20512
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20513
20513
|
try {
|
|
20514
20514
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
20515
20515
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20665,7 +20665,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
20665
20665
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20666
20666
|
*/
|
|
20667
20667
|
static async fromJsonLd(json, options = {}) {
|
|
20668
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
20668
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20669
20669
|
try {
|
|
20670
20670
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
20671
20671
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20798,7 +20798,7 @@ var Article = class Article extends Object$1 {
|
|
|
20798
20798
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20799
20799
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20800
20800
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20801
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
20801
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20802
20802
|
let fetchResult;
|
|
20803
20803
|
try {
|
|
20804
20804
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20945,7 +20945,7 @@ var Article = class Article extends Object$1 {
|
|
|
20945
20945
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20946
20946
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20947
20947
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20948
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
20948
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20949
20949
|
let fetchResult;
|
|
20950
20950
|
try {
|
|
20951
20951
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21240,7 +21240,7 @@ var Article = class Article extends Object$1 {
|
|
|
21240
21240
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21241
21241
|
*/
|
|
21242
21242
|
static async fromJsonLd(json, options = {}) {
|
|
21243
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
21243
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21244
21244
|
try {
|
|
21245
21245
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
21246
21246
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21536,7 +21536,7 @@ var Document = class Document extends Object$1 {
|
|
|
21536
21536
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21537
21537
|
*/
|
|
21538
21538
|
static async fromJsonLd(json, options = {}) {
|
|
21539
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
21539
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21540
21540
|
try {
|
|
21541
21541
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
21542
21542
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21742,7 +21742,7 @@ var Audio = class Audio extends Document {
|
|
|
21742
21742
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21743
21743
|
*/
|
|
21744
21744
|
static async fromJsonLd(json, options = {}) {
|
|
21745
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
21745
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21746
21746
|
try {
|
|
21747
21747
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
21748
21748
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21894,7 +21894,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
21894
21894
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21895
21895
|
*/
|
|
21896
21896
|
static async fromJsonLd(json, options = {}) {
|
|
21897
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
21897
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21898
21898
|
try {
|
|
21899
21899
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
21900
21900
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22049,7 +22049,7 @@ var Block = class Block extends Ignore {
|
|
|
22049
22049
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22050
22050
|
*/
|
|
22051
22051
|
static async fromJsonLd(json, options = {}) {
|
|
22052
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
22052
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22053
22053
|
try {
|
|
22054
22054
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
22055
22055
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22316,7 +22316,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22316
22316
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22317
22317
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22318
22318
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22319
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22319
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22320
22320
|
let fetchResult;
|
|
22321
22321
|
try {
|
|
22322
22322
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22446,7 +22446,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22446
22446
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22447
22447
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22448
22448
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22449
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22449
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22450
22450
|
let fetchResult;
|
|
22451
22451
|
try {
|
|
22452
22452
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22576,7 +22576,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22576
22576
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22577
22577
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22578
22578
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22579
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22579
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22580
22580
|
let fetchResult;
|
|
22581
22581
|
try {
|
|
22582
22582
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22706,7 +22706,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22706
22706
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22707
22707
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22708
22708
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22709
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22709
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22710
22710
|
let fetchResult;
|
|
22711
22711
|
try {
|
|
22712
22712
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22847,7 +22847,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22847
22847
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22848
22848
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22849
22849
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22850
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22850
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22851
22851
|
let fetchResult;
|
|
22852
22852
|
try {
|
|
22853
22853
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22976,7 +22976,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22976
22976
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22977
22977
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22978
22978
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22979
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22979
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22980
22980
|
let fetchResult;
|
|
22981
22981
|
try {
|
|
22982
22982
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23105,7 +23105,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23105
23105
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23106
23106
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23107
23107
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23108
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23108
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23109
23109
|
let fetchResult;
|
|
23110
23110
|
try {
|
|
23111
23111
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23234,7 +23234,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23234
23234
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23235
23235
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23236
23236
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23237
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23237
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23238
23238
|
let fetchResult;
|
|
23239
23239
|
try {
|
|
23240
23240
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23363,7 +23363,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23363
23363
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23364
23364
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23365
23365
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23366
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23366
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23367
23367
|
let fetchResult;
|
|
23368
23368
|
try {
|
|
23369
23369
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23492,7 +23492,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23492
23492
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23493
23493
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23494
23494
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23495
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23495
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23496
23496
|
let fetchResult;
|
|
23497
23497
|
try {
|
|
23498
23498
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23621,7 +23621,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23621
23621
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23622
23622
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23623
23623
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23624
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23624
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23625
23625
|
let fetchResult;
|
|
23626
23626
|
try {
|
|
23627
23627
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23750,7 +23750,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23750
23750
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23751
23751
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23752
23752
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23753
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23753
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23754
23754
|
let fetchResult;
|
|
23755
23755
|
try {
|
|
23756
23756
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24208,7 +24208,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24208
24208
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24209
24209
|
*/
|
|
24210
24210
|
static async fromJsonLd(json, options = {}) {
|
|
24211
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
24211
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24212
24212
|
try {
|
|
24213
24213
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
24214
24214
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24743,7 +24743,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
24743
24743
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24744
24744
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24745
24745
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24746
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
24746
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24747
24747
|
let fetchResult;
|
|
24748
24748
|
try {
|
|
24749
24749
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24873,7 +24873,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
24873
24873
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24874
24874
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24875
24875
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24876
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
24876
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24877
24877
|
let fetchResult;
|
|
24878
24878
|
try {
|
|
24879
24879
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25002,7 +25002,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
25002
25002
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25003
25003
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25004
25004
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25005
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
25005
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25006
25006
|
let fetchResult;
|
|
25007
25007
|
try {
|
|
25008
25008
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25297,7 +25297,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
25297
25297
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25298
25298
|
*/
|
|
25299
25299
|
static async fromJsonLd(json, options = {}) {
|
|
25300
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25300
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25301
25301
|
try {
|
|
25302
25302
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
25303
25303
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25555,7 +25555,7 @@ var Create = class Create extends Activity {
|
|
|
25555
25555
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25556
25556
|
*/
|
|
25557
25557
|
static async fromJsonLd(json, options = {}) {
|
|
25558
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25558
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25559
25559
|
try {
|
|
25560
25560
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
25561
25561
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25733,7 +25733,7 @@ var Delete = class Delete extends Activity {
|
|
|
25733
25733
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25734
25734
|
*/
|
|
25735
25735
|
static async fromJsonLd(json, options = {}) {
|
|
25736
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25736
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25737
25737
|
try {
|
|
25738
25738
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
25739
25739
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25888,7 +25888,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
25888
25888
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25889
25889
|
*/
|
|
25890
25890
|
static async fromJsonLd(json, options = {}) {
|
|
25891
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25891
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25892
25892
|
try {
|
|
25893
25893
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
25894
25894
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26248,7 +26248,7 @@ var Endpoints = class {
|
|
|
26248
26248
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26249
26249
|
*/
|
|
26250
26250
|
static async fromJsonLd(json, options = {}) {
|
|
26251
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
26251
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26252
26252
|
try {
|
|
26253
26253
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
26254
26254
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26521,7 +26521,7 @@ var Event = class Event extends Object$1 {
|
|
|
26521
26521
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26522
26522
|
*/
|
|
26523
26523
|
static async fromJsonLd(json, options = {}) {
|
|
26524
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
26524
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26525
26525
|
try {
|
|
26526
26526
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
26527
26527
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26674,7 +26674,7 @@ var Flag = class Flag extends Activity {
|
|
|
26674
26674
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26675
26675
|
*/
|
|
26676
26676
|
static async fromJsonLd(json, options = {}) {
|
|
26677
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
26677
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26678
26678
|
try {
|
|
26679
26679
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
26680
26680
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26831,7 +26831,7 @@ var Follow = class Follow extends Activity {
|
|
|
26831
26831
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26832
26832
|
*/
|
|
26833
26833
|
static async fromJsonLd(json, options = {}) {
|
|
26834
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
26834
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26835
26835
|
try {
|
|
26836
26836
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
26837
26837
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27229,7 +27229,7 @@ var Group = class Group extends Object$1 {
|
|
|
27229
27229
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27230
27230
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27231
27231
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27232
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27232
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27233
27233
|
let fetchResult;
|
|
27234
27234
|
try {
|
|
27235
27235
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27410,7 +27410,7 @@ var Group = class Group extends Object$1 {
|
|
|
27410
27410
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27411
27411
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27412
27412
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27413
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27413
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27414
27414
|
let fetchResult;
|
|
27415
27415
|
try {
|
|
27416
27416
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27609,7 +27609,7 @@ var Group = class Group extends Object$1 {
|
|
|
27609
27609
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27610
27610
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27611
27611
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27612
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27612
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27613
27613
|
let fetchResult;
|
|
27614
27614
|
try {
|
|
27615
27615
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27760,7 +27760,7 @@ var Group = class Group extends Object$1 {
|
|
|
27760
27760
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27761
27761
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27762
27762
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27763
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27763
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27764
27764
|
let fetchResult;
|
|
27765
27765
|
try {
|
|
27766
27766
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27908,7 +27908,7 @@ var Group = class Group extends Object$1 {
|
|
|
27908
27908
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27909
27909
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27910
27910
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27911
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27911
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27912
27912
|
let fetchResult;
|
|
27913
27913
|
try {
|
|
27914
27914
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28041,7 +28041,7 @@ var Group = class Group extends Object$1 {
|
|
|
28041
28041
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28042
28042
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28043
28043
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28044
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28044
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28045
28045
|
let fetchResult;
|
|
28046
28046
|
try {
|
|
28047
28047
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28177,7 +28177,7 @@ var Group = class Group extends Object$1 {
|
|
|
28177
28177
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28178
28178
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28179
28179
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28180
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28180
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28181
28181
|
let fetchResult;
|
|
28182
28182
|
try {
|
|
28183
28183
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28311,7 +28311,7 @@ var Group = class Group extends Object$1 {
|
|
|
28311
28311
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28312
28312
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28313
28313
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28314
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28314
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28315
28315
|
let fetchResult;
|
|
28316
28316
|
try {
|
|
28317
28317
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28443,7 +28443,7 @@ var Group = class Group extends Object$1 {
|
|
|
28443
28443
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28444
28444
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28445
28445
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28446
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28446
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28447
28447
|
let fetchResult;
|
|
28448
28448
|
try {
|
|
28449
28449
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28575,7 +28575,7 @@ var Group = class Group extends Object$1 {
|
|
|
28575
28575
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28576
28576
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28577
28577
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28578
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28578
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28579
28579
|
let fetchResult;
|
|
28580
28580
|
try {
|
|
28581
28581
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28747,7 +28747,7 @@ var Group = class Group extends Object$1 {
|
|
|
28747
28747
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28748
28748
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28749
28749
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28750
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28750
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28751
28751
|
let fetchResult;
|
|
28752
28752
|
try {
|
|
28753
28753
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28922,7 +28922,7 @@ var Group = class Group extends Object$1 {
|
|
|
28922
28922
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28923
28923
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28924
28924
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28925
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28925
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28926
28926
|
let fetchResult;
|
|
28927
28927
|
try {
|
|
28928
28928
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29155,7 +29155,7 @@ var Group = class Group extends Object$1 {
|
|
|
29155
29155
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29156
29156
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29157
29157
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29158
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
29158
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29159
29159
|
let fetchResult;
|
|
29160
29160
|
try {
|
|
29161
29161
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29859,7 +29859,7 @@ var Group = class Group extends Object$1 {
|
|
|
29859
29859
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29860
29860
|
*/
|
|
29861
29861
|
static async fromJsonLd(json, options = {}) {
|
|
29862
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
29862
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29863
29863
|
try {
|
|
29864
29864
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
29865
29865
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30688,7 +30688,7 @@ var Link = class Link {
|
|
|
30688
30688
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30689
30689
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30690
30690
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30691
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
30691
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30692
30692
|
let fetchResult;
|
|
30693
30693
|
try {
|
|
30694
30694
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30990,7 +30990,7 @@ var Link = class Link {
|
|
|
30990
30990
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30991
30991
|
*/
|
|
30992
30992
|
static async fromJsonLd(json, options = {}) {
|
|
30993
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
30993
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30994
30994
|
try {
|
|
30995
30995
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
30996
30996
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31373,7 +31373,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
31373
31373
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31374
31374
|
*/
|
|
31375
31375
|
static async fromJsonLd(json, options = {}) {
|
|
31376
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31376
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31377
31377
|
try {
|
|
31378
31378
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
31379
31379
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31538,7 +31538,7 @@ var Image = class Image extends Document {
|
|
|
31538
31538
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31539
31539
|
*/
|
|
31540
31540
|
static async fromJsonLd(json, options = {}) {
|
|
31541
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31541
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31542
31542
|
try {
|
|
31543
31543
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
31544
31544
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31691,7 +31691,7 @@ var Offer = class Offer extends Activity {
|
|
|
31691
31691
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31692
31692
|
*/
|
|
31693
31693
|
static async fromJsonLd(json, options = {}) {
|
|
31694
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31694
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31695
31695
|
try {
|
|
31696
31696
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
31697
31697
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31844,7 +31844,7 @@ var Invite = class Invite extends Offer {
|
|
|
31844
31844
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31845
31845
|
*/
|
|
31846
31846
|
static async fromJsonLd(json, options = {}) {
|
|
31847
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31847
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31848
31848
|
try {
|
|
31849
31849
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
31850
31850
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31996,7 +31996,7 @@ var Join = class Join extends Activity {
|
|
|
31996
31996
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31997
31997
|
*/
|
|
31998
31998
|
static async fromJsonLd(json, options = {}) {
|
|
31999
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31999
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32000
32000
|
try {
|
|
32001
32001
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
32002
32002
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32148,7 +32148,7 @@ var Leave = class Leave extends Activity {
|
|
|
32148
32148
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32149
32149
|
*/
|
|
32150
32150
|
static async fromJsonLd(json, options = {}) {
|
|
32151
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32151
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32152
32152
|
try {
|
|
32153
32153
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
32154
32154
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32304,7 +32304,7 @@ var Like = class Like extends Activity {
|
|
|
32304
32304
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32305
32305
|
*/
|
|
32306
32306
|
static async fromJsonLd(json, options = {}) {
|
|
32307
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32307
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32308
32308
|
try {
|
|
32309
32309
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
32310
32310
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32455,7 +32455,7 @@ var Listen = class Listen extends Activity {
|
|
|
32455
32455
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32456
32456
|
*/
|
|
32457
32457
|
static async fromJsonLd(json, options = {}) {
|
|
32458
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32458
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32459
32459
|
try {
|
|
32460
32460
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
32461
32461
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32609,7 +32609,7 @@ var Mention = class Mention extends Link {
|
|
|
32609
32609
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32610
32610
|
*/
|
|
32611
32611
|
static async fromJsonLd(json, options = {}) {
|
|
32612
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32612
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32613
32613
|
try {
|
|
32614
32614
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
32615
32615
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32762,7 +32762,7 @@ var Move = class Move extends Activity {
|
|
|
32762
32762
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32763
32763
|
*/
|
|
32764
32764
|
static async fromJsonLd(json, options = {}) {
|
|
32765
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32765
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32766
32766
|
try {
|
|
32767
32767
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
32768
32768
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32896,7 +32896,7 @@ var Note = class Note extends Object$1 {
|
|
|
32896
32896
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32897
32897
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32898
32898
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32899
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
32899
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32900
32900
|
let fetchResult;
|
|
32901
32901
|
try {
|
|
32902
32902
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33043,7 +33043,7 @@ var Note = class Note extends Object$1 {
|
|
|
33043
33043
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33044
33044
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33045
33045
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33046
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33046
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33047
33047
|
let fetchResult;
|
|
33048
33048
|
try {
|
|
33049
33049
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33338,7 +33338,7 @@ var Note = class Note extends Object$1 {
|
|
|
33338
33338
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33339
33339
|
*/
|
|
33340
33340
|
static async fromJsonLd(json, options = {}) {
|
|
33341
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
33341
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33342
33342
|
try {
|
|
33343
33343
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
33344
33344
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33526,7 +33526,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
33526
33526
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33527
33527
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33528
33528
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33529
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33529
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33530
33530
|
let fetchResult;
|
|
33531
33531
|
try {
|
|
33532
33532
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33806,7 +33806,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
33806
33806
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33807
33807
|
*/
|
|
33808
33808
|
static async fromJsonLd(json, options = {}) {
|
|
33809
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
33809
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33810
33810
|
try {
|
|
33811
33811
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
33812
33812
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34028,7 +34028,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
34028
34028
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34029
34029
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34030
34030
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34031
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34031
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34032
34032
|
let fetchResult;
|
|
34033
34033
|
try {
|
|
34034
34034
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34331,7 +34331,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
34331
34331
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34332
34332
|
*/
|
|
34333
34333
|
static async fromJsonLd(json, options = {}) {
|
|
34334
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
34334
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34335
34335
|
try {
|
|
34336
34336
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
34337
34337
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34845,7 +34845,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34845
34845
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34846
34846
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34847
34847
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34848
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34848
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34849
34849
|
let fetchResult;
|
|
34850
34850
|
try {
|
|
34851
34851
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35026,7 +35026,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35026
35026
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35027
35027
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35028
35028
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35029
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35029
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35030
35030
|
let fetchResult;
|
|
35031
35031
|
try {
|
|
35032
35032
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35225,7 +35225,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35225
35225
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35226
35226
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35227
35227
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35228
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35228
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35229
35229
|
let fetchResult;
|
|
35230
35230
|
try {
|
|
35231
35231
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35376,7 +35376,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35376
35376
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35377
35377
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35378
35378
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35379
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35379
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35380
35380
|
let fetchResult;
|
|
35381
35381
|
try {
|
|
35382
35382
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35524,7 +35524,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35524
35524
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35525
35525
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35526
35526
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35527
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35527
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35528
35528
|
let fetchResult;
|
|
35529
35529
|
try {
|
|
35530
35530
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35657,7 +35657,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35657
35657
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35658
35658
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35659
35659
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35660
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35660
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35661
35661
|
let fetchResult;
|
|
35662
35662
|
try {
|
|
35663
35663
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35793,7 +35793,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35793
35793
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35794
35794
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35795
35795
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35796
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35796
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35797
35797
|
let fetchResult;
|
|
35798
35798
|
try {
|
|
35799
35799
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35927,7 +35927,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35927
35927
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35928
35928
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35929
35929
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35930
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35930
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35931
35931
|
let fetchResult;
|
|
35932
35932
|
try {
|
|
35933
35933
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36059,7 +36059,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36059
36059
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36060
36060
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36061
36061
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36062
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36062
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36063
36063
|
let fetchResult;
|
|
36064
36064
|
try {
|
|
36065
36065
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36191,7 +36191,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36191
36191
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36192
36192
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36193
36193
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36194
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36194
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36195
36195
|
let fetchResult;
|
|
36196
36196
|
try {
|
|
36197
36197
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36363,7 +36363,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36363
36363
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36364
36364
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36365
36365
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36366
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36366
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36367
36367
|
let fetchResult;
|
|
36368
36368
|
try {
|
|
36369
36369
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36538,7 +36538,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36538
36538
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36539
36539
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36540
36540
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36541
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36541
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36542
36542
|
let fetchResult;
|
|
36543
36543
|
try {
|
|
36544
36544
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36771,7 +36771,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36771
36771
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36772
36772
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36773
36773
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36774
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36774
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36775
36775
|
let fetchResult;
|
|
36776
36776
|
try {
|
|
36777
36777
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37475,7 +37475,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37475
37475
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37476
37476
|
*/
|
|
37477
37477
|
static async fromJsonLd(json, options = {}) {
|
|
37478
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
37478
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37479
37479
|
try {
|
|
37480
37480
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
37481
37481
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38166,7 +38166,7 @@ var Page = class Page extends Document {
|
|
|
38166
38166
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38167
38167
|
*/
|
|
38168
38168
|
static async fromJsonLd(json, options = {}) {
|
|
38169
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
38169
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38170
38170
|
try {
|
|
38171
38171
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
38172
38172
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38564,7 +38564,7 @@ var Person = class Person extends Object$1 {
|
|
|
38564
38564
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38565
38565
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38566
38566
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38567
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38567
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38568
38568
|
let fetchResult;
|
|
38569
38569
|
try {
|
|
38570
38570
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38745,7 +38745,7 @@ var Person = class Person extends Object$1 {
|
|
|
38745
38745
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38746
38746
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38747
38747
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38748
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38748
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38749
38749
|
let fetchResult;
|
|
38750
38750
|
try {
|
|
38751
38751
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38944,7 +38944,7 @@ var Person = class Person extends Object$1 {
|
|
|
38944
38944
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38945
38945
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38946
38946
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38947
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38947
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38948
38948
|
let fetchResult;
|
|
38949
38949
|
try {
|
|
38950
38950
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39095,7 +39095,7 @@ var Person = class Person extends Object$1 {
|
|
|
39095
39095
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39096
39096
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39097
39097
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39098
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39098
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39099
39099
|
let fetchResult;
|
|
39100
39100
|
try {
|
|
39101
39101
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39243,7 +39243,7 @@ var Person = class Person extends Object$1 {
|
|
|
39243
39243
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39244
39244
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39245
39245
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39246
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39246
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39247
39247
|
let fetchResult;
|
|
39248
39248
|
try {
|
|
39249
39249
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39376,7 +39376,7 @@ var Person = class Person extends Object$1 {
|
|
|
39376
39376
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39377
39377
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39378
39378
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39379
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39379
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39380
39380
|
let fetchResult;
|
|
39381
39381
|
try {
|
|
39382
39382
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39512,7 +39512,7 @@ var Person = class Person extends Object$1 {
|
|
|
39512
39512
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39513
39513
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39514
39514
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39515
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39515
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39516
39516
|
let fetchResult;
|
|
39517
39517
|
try {
|
|
39518
39518
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39646,7 +39646,7 @@ var Person = class Person extends Object$1 {
|
|
|
39646
39646
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39647
39647
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39648
39648
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39649
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39649
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39650
39650
|
let fetchResult;
|
|
39651
39651
|
try {
|
|
39652
39652
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39778,7 +39778,7 @@ var Person = class Person extends Object$1 {
|
|
|
39778
39778
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39779
39779
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39780
39780
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39781
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39781
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39782
39782
|
let fetchResult;
|
|
39783
39783
|
try {
|
|
39784
39784
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39910,7 +39910,7 @@ var Person = class Person extends Object$1 {
|
|
|
39910
39910
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39911
39911
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39912
39912
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39913
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39913
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39914
39914
|
let fetchResult;
|
|
39915
39915
|
try {
|
|
39916
39916
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40082,7 +40082,7 @@ var Person = class Person extends Object$1 {
|
|
|
40082
40082
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40083
40083
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40084
40084
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40085
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
40085
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40086
40086
|
let fetchResult;
|
|
40087
40087
|
try {
|
|
40088
40088
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40257,7 +40257,7 @@ var Person = class Person extends Object$1 {
|
|
|
40257
40257
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40258
40258
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40259
40259
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40260
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
40260
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40261
40261
|
let fetchResult;
|
|
40262
40262
|
try {
|
|
40263
40263
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40490,7 +40490,7 @@ var Person = class Person extends Object$1 {
|
|
|
40490
40490
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40491
40491
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40492
40492
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40493
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
40493
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40494
40494
|
let fetchResult;
|
|
40495
40495
|
try {
|
|
40496
40496
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41194,7 +41194,7 @@ var Person = class Person extends Object$1 {
|
|
|
41194
41194
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41195
41195
|
*/
|
|
41196
41196
|
static async fromJsonLd(json, options = {}) {
|
|
41197
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
41197
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41198
41198
|
try {
|
|
41199
41199
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
41200
41200
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42062,7 +42062,7 @@ var Place = class Place extends Object$1 {
|
|
|
42062
42062
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42063
42063
|
*/
|
|
42064
42064
|
static async fromJsonLd(json, options = {}) {
|
|
42065
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
42065
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42066
42066
|
try {
|
|
42067
42067
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
42068
42068
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42290,7 +42290,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
42290
42290
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42291
42291
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42292
42292
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42293
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42293
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42294
42294
|
let fetchResult;
|
|
42295
42295
|
try {
|
|
42296
42296
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42500,7 +42500,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
42500
42500
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42501
42501
|
*/
|
|
42502
42502
|
static async fromJsonLd(json, options = {}) {
|
|
42503
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
42503
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42504
42504
|
try {
|
|
42505
42505
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
42506
42506
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42704,7 +42704,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
42704
42704
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42705
42705
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42706
42706
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42707
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42707
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42708
42708
|
let fetchResult;
|
|
42709
42709
|
try {
|
|
42710
42710
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42836,7 +42836,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
42836
42836
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42837
42837
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42838
42838
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42839
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42839
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42840
42840
|
let fetchResult;
|
|
42841
42841
|
try {
|
|
42842
42842
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42984,7 +42984,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
42984
42984
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42985
42985
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42986
42986
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42987
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42987
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42988
42988
|
let fetchResult;
|
|
42989
42989
|
try {
|
|
42990
42990
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43131,7 +43131,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
43131
43131
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43132
43132
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43133
43133
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43134
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
43134
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43135
43135
|
let fetchResult;
|
|
43136
43136
|
try {
|
|
43137
43137
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43392,7 +43392,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
43392
43392
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43393
43393
|
*/
|
|
43394
43394
|
static async fromJsonLd(json, options = {}) {
|
|
43395
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
43395
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43396
43396
|
try {
|
|
43397
43397
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
43398
43398
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43700,7 +43700,7 @@ var Read = class Read extends Activity {
|
|
|
43700
43700
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43701
43701
|
*/
|
|
43702
43702
|
static async fromJsonLd(json, options = {}) {
|
|
43703
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
43703
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43704
43704
|
try {
|
|
43705
43705
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
43706
43706
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43852,7 +43852,7 @@ var Reject = class Reject extends Activity {
|
|
|
43852
43852
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43853
43853
|
*/
|
|
43854
43854
|
static async fromJsonLd(json, options = {}) {
|
|
43855
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
43855
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43856
43856
|
try {
|
|
43857
43857
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
43858
43858
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44028,7 +44028,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
44028
44028
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44029
44029
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44030
44030
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44031
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44031
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44032
44032
|
let fetchResult;
|
|
44033
44033
|
try {
|
|
44034
44034
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44160,7 +44160,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
44160
44160
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44161
44161
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44162
44162
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44163
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44163
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44164
44164
|
let fetchResult;
|
|
44165
44165
|
try {
|
|
44166
44166
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44341,7 +44341,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
44341
44341
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44342
44342
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44343
44343
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44344
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44344
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44345
44345
|
let fetchResult;
|
|
44346
44346
|
try {
|
|
44347
44347
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44638,7 +44638,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
44638
44638
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44639
44639
|
*/
|
|
44640
44640
|
static async fromJsonLd(json, options = {}) {
|
|
44641
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
44641
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44642
44642
|
try {
|
|
44643
44643
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
44644
44644
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44868,7 +44868,7 @@ var Remove = class Remove extends Activity {
|
|
|
44868
44868
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44869
44869
|
*/
|
|
44870
44870
|
static async fromJsonLd(json, options = {}) {
|
|
44871
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
44871
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44872
44872
|
try {
|
|
44873
44873
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
44874
44874
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45266,7 +45266,7 @@ var Service = class Service extends Object$1 {
|
|
|
45266
45266
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45267
45267
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45268
45268
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45269
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
45269
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45270
45270
|
let fetchResult;
|
|
45271
45271
|
try {
|
|
45272
45272
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45447,7 +45447,7 @@ var Service = class Service extends Object$1 {
|
|
|
45447
45447
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45448
45448
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45449
45449
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45450
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
45450
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45451
45451
|
let fetchResult;
|
|
45452
45452
|
try {
|
|
45453
45453
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45646,7 +45646,7 @@ var Service = class Service extends Object$1 {
|
|
|
45646
45646
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45647
45647
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45648
45648
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45649
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
45649
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45650
45650
|
let fetchResult;
|
|
45651
45651
|
try {
|
|
45652
45652
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45797,7 +45797,7 @@ var Service = class Service extends Object$1 {
|
|
|
45797
45797
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45798
45798
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45799
45799
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45800
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
45800
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45801
45801
|
let fetchResult;
|
|
45802
45802
|
try {
|
|
45803
45803
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45945,7 +45945,7 @@ var Service = class Service extends Object$1 {
|
|
|
45945
45945
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45946
45946
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45947
45947
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45948
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
45948
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45949
45949
|
let fetchResult;
|
|
45950
45950
|
try {
|
|
45951
45951
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46078,7 +46078,7 @@ var Service = class Service extends Object$1 {
|
|
|
46078
46078
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46079
46079
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46080
46080
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46081
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46081
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46082
46082
|
let fetchResult;
|
|
46083
46083
|
try {
|
|
46084
46084
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46214,7 +46214,7 @@ var Service = class Service extends Object$1 {
|
|
|
46214
46214
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46215
46215
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46216
46216
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46217
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46217
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46218
46218
|
let fetchResult;
|
|
46219
46219
|
try {
|
|
46220
46220
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46348,7 +46348,7 @@ var Service = class Service extends Object$1 {
|
|
|
46348
46348
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46349
46349
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46350
46350
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46351
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46351
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46352
46352
|
let fetchResult;
|
|
46353
46353
|
try {
|
|
46354
46354
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46480,7 +46480,7 @@ var Service = class Service extends Object$1 {
|
|
|
46480
46480
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46481
46481
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46482
46482
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46483
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46483
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46484
46484
|
let fetchResult;
|
|
46485
46485
|
try {
|
|
46486
46486
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46612,7 +46612,7 @@ var Service = class Service extends Object$1 {
|
|
|
46612
46612
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46613
46613
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46614
46614
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46615
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46615
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46616
46616
|
let fetchResult;
|
|
46617
46617
|
try {
|
|
46618
46618
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46784,7 +46784,7 @@ var Service = class Service extends Object$1 {
|
|
|
46784
46784
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46785
46785
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46786
46786
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46787
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46787
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46788
46788
|
let fetchResult;
|
|
46789
46789
|
try {
|
|
46790
46790
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46959,7 +46959,7 @@ var Service = class Service extends Object$1 {
|
|
|
46959
46959
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46960
46960
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46961
46961
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46962
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
46962
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46963
46963
|
let fetchResult;
|
|
46964
46964
|
try {
|
|
46965
46965
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47192,7 +47192,7 @@ var Service = class Service extends Object$1 {
|
|
|
47192
47192
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47193
47193
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47194
47194
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47195
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
47195
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47196
47196
|
let fetchResult;
|
|
47197
47197
|
try {
|
|
47198
47198
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47896,7 +47896,7 @@ var Service = class Service extends Object$1 {
|
|
|
47896
47896
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47897
47897
|
*/
|
|
47898
47898
|
static async fromJsonLd(json, options = {}) {
|
|
47899
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
47899
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47900
47900
|
try {
|
|
47901
47901
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
47902
47902
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48681,7 +48681,7 @@ var Source = class {
|
|
|
48681
48681
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48682
48682
|
*/
|
|
48683
48683
|
static async fromJsonLd(json, options = {}) {
|
|
48684
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
48684
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48685
48685
|
try {
|
|
48686
48686
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
48687
48687
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48870,7 +48870,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
48870
48870
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48871
48871
|
*/
|
|
48872
48872
|
static async fromJsonLd(json, options = {}) {
|
|
48873
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
48873
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48874
48874
|
try {
|
|
48875
48875
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
48876
48876
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49022,7 +49022,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
49022
49022
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49023
49023
|
*/
|
|
49024
49024
|
static async fromJsonLd(json, options = {}) {
|
|
49025
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
49025
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49026
49026
|
try {
|
|
49027
49027
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
49028
49028
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49263,7 +49263,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
49263
49263
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49264
49264
|
*/
|
|
49265
49265
|
static async fromJsonLd(json, options = {}) {
|
|
49266
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
49266
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49267
49267
|
try {
|
|
49268
49268
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
49269
49269
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49460,7 +49460,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
49460
49460
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49461
49461
|
*/
|
|
49462
49462
|
static async fromJsonLd(json, options = {}) {
|
|
49463
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
49463
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49464
49464
|
try {
|
|
49465
49465
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
49466
49466
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49626,7 +49626,7 @@ var Undo = class Undo extends Activity {
|
|
|
49626
49626
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49627
49627
|
*/
|
|
49628
49628
|
static async fromJsonLd(json, options = {}) {
|
|
49629
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
49629
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49630
49630
|
try {
|
|
49631
49631
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
49632
49632
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -49840,7 +49840,7 @@ var Update = class Update extends Activity {
|
|
|
49840
49840
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49841
49841
|
*/
|
|
49842
49842
|
static async fromJsonLd(json, options = {}) {
|
|
49843
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
49843
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49844
49844
|
try {
|
|
49845
49845
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
49846
49846
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50005,7 +50005,7 @@ var Video = class Video extends Document {
|
|
|
50005
50005
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50006
50006
|
*/
|
|
50007
50007
|
static async fromJsonLd(json, options = {}) {
|
|
50008
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
50008
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50009
50009
|
try {
|
|
50010
50010
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
50011
50011
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50156,7 +50156,7 @@ var View = class View extends Activity {
|
|
|
50156
50156
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50157
50157
|
*/
|
|
50158
50158
|
static async fromJsonLd(json, options = {}) {
|
|
50159
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
50159
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50160
50160
|
try {
|
|
50161
50161
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
50162
50162
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|