@fedify/vocab 2.3.9 → 2.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deno.json +1 -1
- package/dist/mod.cjs +219 -219
- package/dist/mod.js +219 -219
- package/dist-tests/{actor-BISbIeXH.mjs → actor-JjzTTxMW.mjs} +2 -2
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-BeDwBlW3.mjs → vocab-BAIlMbeY.mjs} +218 -218
- 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.3.
|
|
12
|
+
var version = "2.3.10";
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/type.ts
|
|
15
15
|
function getTypeId(object) {
|
|
@@ -738,7 +738,7 @@ var Object$1 = class Object$1 {
|
|
|
738
738
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
739
739
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
740
740
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
741
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
741
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
742
742
|
let fetchResult;
|
|
743
743
|
try {
|
|
744
744
|
fetchResult = await documentLoader(url.href);
|
|
@@ -897,7 +897,7 @@ var Object$1 = class Object$1 {
|
|
|
897
897
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
898
898
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
899
899
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
900
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
900
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
901
901
|
let fetchResult;
|
|
902
902
|
try {
|
|
903
903
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1134,7 +1134,7 @@ var Object$1 = class Object$1 {
|
|
|
1134
1134
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1135
1135
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1136
1136
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1137
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1137
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1138
1138
|
let fetchResult;
|
|
1139
1139
|
try {
|
|
1140
1140
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1343,7 +1343,7 @@ var Object$1 = class Object$1 {
|
|
|
1343
1343
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1344
1344
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1345
1345
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1346
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1346
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1347
1347
|
let fetchResult;
|
|
1348
1348
|
try {
|
|
1349
1349
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1518,7 +1518,7 @@ var Object$1 = class Object$1 {
|
|
|
1518
1518
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1519
1519
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1520
1520
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1521
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1521
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1522
1522
|
let fetchResult;
|
|
1523
1523
|
try {
|
|
1524
1524
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1661,7 +1661,7 @@ var Object$1 = class Object$1 {
|
|
|
1661
1661
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1662
1662
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1663
1663
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1664
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1664
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1665
1665
|
let fetchResult;
|
|
1666
1666
|
try {
|
|
1667
1667
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1868,7 +1868,7 @@ var Object$1 = class Object$1 {
|
|
|
1868
1868
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1869
1869
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1870
1870
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1871
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1871
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1872
1872
|
let fetchResult;
|
|
1873
1873
|
try {
|
|
1874
1874
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2075,7 +2075,7 @@ var Object$1 = class Object$1 {
|
|
|
2075
2075
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2076
2076
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2077
2077
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2078
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2078
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2079
2079
|
let fetchResult;
|
|
2080
2080
|
try {
|
|
2081
2081
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2274,7 +2274,7 @@ var Object$1 = class Object$1 {
|
|
|
2274
2274
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2275
2275
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2276
2276
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2277
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2277
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2278
2278
|
let fetchResult;
|
|
2279
2279
|
try {
|
|
2280
2280
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2473,7 +2473,7 @@ var Object$1 = class Object$1 {
|
|
|
2473
2473
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2474
2474
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2475
2475
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2476
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2476
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2477
2477
|
let fetchResult;
|
|
2478
2478
|
try {
|
|
2479
2479
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2677,7 +2677,7 @@ var Object$1 = class Object$1 {
|
|
|
2677
2677
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2678
2678
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2679
2679
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2680
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2680
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2681
2681
|
let fetchResult;
|
|
2682
2682
|
try {
|
|
2683
2683
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2810,7 +2810,7 @@ var Object$1 = class Object$1 {
|
|
|
2810
2810
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2811
2811
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2812
2812
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2813
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2813
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2814
2814
|
let fetchResult;
|
|
2815
2815
|
try {
|
|
2816
2816
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2949,7 +2949,7 @@ var Object$1 = class Object$1 {
|
|
|
2949
2949
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2950
2950
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2951
2951
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2952
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2952
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2953
2953
|
let fetchResult;
|
|
2954
2954
|
try {
|
|
2955
2955
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3088,7 +3088,7 @@ var Object$1 = class Object$1 {
|
|
|
3088
3088
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3089
3089
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3090
3090
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3091
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3091
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3092
3092
|
let fetchResult;
|
|
3093
3093
|
try {
|
|
3094
3094
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3245,7 +3245,7 @@ var Object$1 = class Object$1 {
|
|
|
3245
3245
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3246
3246
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3247
3247
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3248
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3248
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3249
3249
|
let fetchResult;
|
|
3250
3250
|
try {
|
|
3251
3251
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3410,7 +3410,7 @@ var Object$1 = class Object$1 {
|
|
|
3410
3410
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3411
3411
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3412
3412
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3413
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3413
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3414
3414
|
let fetchResult;
|
|
3415
3415
|
try {
|
|
3416
3416
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3599,7 +3599,7 @@ var Object$1 = class Object$1 {
|
|
|
3599
3599
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3600
3600
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3601
3601
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3602
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3602
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3603
3603
|
let fetchResult;
|
|
3604
3604
|
try {
|
|
3605
3605
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3788,7 +3788,7 @@ var Object$1 = class Object$1 {
|
|
|
3788
3788
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3789
3789
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3790
3790
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3791
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3791
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3792
3792
|
let fetchResult;
|
|
3793
3793
|
try {
|
|
3794
3794
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3977,7 +3977,7 @@ var Object$1 = class Object$1 {
|
|
|
3977
3977
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3978
3978
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3979
3979
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3980
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3980
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3981
3981
|
let fetchResult;
|
|
3982
3982
|
try {
|
|
3983
3983
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4203,7 +4203,7 @@ var Object$1 = class Object$1 {
|
|
|
4203
4203
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4204
4204
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4205
4205
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4206
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4206
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4207
4207
|
let fetchResult;
|
|
4208
4208
|
try {
|
|
4209
4209
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4415,7 +4415,7 @@ var Object$1 = class Object$1 {
|
|
|
4415
4415
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4416
4416
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4417
4417
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4418
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4418
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4419
4419
|
let fetchResult;
|
|
4420
4420
|
try {
|
|
4421
4421
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4548,7 +4548,7 @@ var Object$1 = class Object$1 {
|
|
|
4548
4548
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4549
4549
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4550
4550
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4551
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4551
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4552
4552
|
let fetchResult;
|
|
4553
4553
|
try {
|
|
4554
4554
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4681,7 +4681,7 @@ var Object$1 = class Object$1 {
|
|
|
4681
4681
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4682
4682
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4683
4683
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4684
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4684
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4685
4685
|
let fetchResult;
|
|
4686
4686
|
try {
|
|
4687
4687
|
fetchResult = await documentLoader(url.href);
|
|
@@ -5520,7 +5520,7 @@ var Object$1 = class Object$1 {
|
|
|
5520
5520
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5521
5521
|
*/
|
|
5522
5522
|
static async fromJsonLd(json, options = {}) {
|
|
5523
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
5523
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5524
5524
|
try {
|
|
5525
5525
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
5526
5526
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7186,7 +7186,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
7186
7186
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7187
7187
|
*/
|
|
7188
7188
|
static async fromJsonLd(json, options = {}) {
|
|
7189
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
7189
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7190
7190
|
try {
|
|
7191
7191
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
7192
7192
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7323,7 +7323,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7323
7323
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7324
7324
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7325
7325
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7326
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
7326
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7327
7327
|
let fetchResult;
|
|
7328
7328
|
try {
|
|
7329
7329
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7473,7 +7473,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7473
7473
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7474
7474
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7475
7475
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7476
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
7476
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7477
7477
|
let fetchResult;
|
|
7478
7478
|
try {
|
|
7479
7479
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7769,7 +7769,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7769
7769
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7770
7770
|
*/
|
|
7771
7771
|
static async fromJsonLd(json, options = {}) {
|
|
7772
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
7772
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7773
7773
|
try {
|
|
7774
7774
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
7775
7775
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8111,7 +8111,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8111
8111
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8112
8112
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8113
8113
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8114
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8114
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8115
8115
|
let fetchResult;
|
|
8116
8116
|
try {
|
|
8117
8117
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8348,7 +8348,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8348
8348
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8349
8349
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8350
8350
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8351
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8351
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8352
8352
|
let fetchResult;
|
|
8353
8353
|
try {
|
|
8354
8354
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8539,7 +8539,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8539
8539
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8540
8540
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8541
8541
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8542
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8542
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8543
8543
|
let fetchResult;
|
|
8544
8544
|
try {
|
|
8545
8545
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8736,7 +8736,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8736
8736
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8737
8737
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8738
8738
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8739
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8739
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8740
8740
|
let fetchResult;
|
|
8741
8741
|
try {
|
|
8742
8742
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8927,7 +8927,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8927
8927
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8928
8928
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8929
8929
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8930
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8930
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8931
8931
|
let fetchResult;
|
|
8932
8932
|
try {
|
|
8933
8933
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9120,7 +9120,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
9120
9120
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9121
9121
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9122
9122
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9123
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
9123
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9124
9124
|
let fetchResult;
|
|
9125
9125
|
try {
|
|
9126
9126
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9396,7 +9396,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
9396
9396
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9397
9397
|
*/
|
|
9398
9398
|
static async fromJsonLd(json, options = {}) {
|
|
9399
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
9399
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9400
9400
|
try {
|
|
9401
9401
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
9402
9402
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9762,7 +9762,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
9762
9762
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9763
9763
|
*/
|
|
9764
9764
|
static async fromJsonLd(json, options = {}) {
|
|
9765
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
9765
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9766
9766
|
try {
|
|
9767
9767
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
9768
9768
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10029,7 +10029,7 @@ var PropertyValue = class {
|
|
|
10029
10029
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10030
10030
|
*/
|
|
10031
10031
|
static async fromJsonLd(json, options = {}) {
|
|
10032
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
10032
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10033
10033
|
try {
|
|
10034
10034
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
10035
10035
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10323,7 +10323,7 @@ var Measure = class {
|
|
|
10323
10323
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10324
10324
|
*/
|
|
10325
10325
|
static async fromJsonLd(json, options = {}) {
|
|
10326
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
10326
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10327
10327
|
try {
|
|
10328
10328
|
const object = await this.__fromJsonLd__Measure__(json, span, options);
|
|
10329
10329
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10494,7 +10494,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10494
10494
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10495
10495
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10496
10496
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10497
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
10497
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10498
10498
|
let fetchResult;
|
|
10499
10499
|
try {
|
|
10500
10500
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10627,7 +10627,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10627
10627
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10628
10628
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10629
10629
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10630
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
10630
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10631
10631
|
let fetchResult;
|
|
10632
10632
|
try {
|
|
10633
10633
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10855,7 +10855,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10855
10855
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10856
10856
|
*/
|
|
10857
10857
|
static async fromJsonLd(json, options = {}) {
|
|
10858
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
10858
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10859
10859
|
try {
|
|
10860
10860
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
10861
10861
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11069,7 +11069,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
11069
11069
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11070
11070
|
*/
|
|
11071
11071
|
static async fromJsonLd(json, options = {}) {
|
|
11072
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
11072
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11073
11073
|
try {
|
|
11074
11074
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
11075
11075
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11354,7 +11354,7 @@ var InteractionPolicy = class {
|
|
|
11354
11354
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11355
11355
|
*/
|
|
11356
11356
|
static async fromJsonLd(json, options = {}) {
|
|
11357
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
11357
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11358
11358
|
try {
|
|
11359
11359
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
11360
11360
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11716,7 +11716,7 @@ var InteractionRule = class {
|
|
|
11716
11716
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11717
11717
|
*/
|
|
11718
11718
|
static async fromJsonLd(json, options = {}) {
|
|
11719
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
11719
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11720
11720
|
try {
|
|
11721
11721
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
11722
11722
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11888,7 +11888,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11888
11888
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11889
11889
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11890
11890
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11891
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
11891
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11892
11892
|
let fetchResult;
|
|
11893
11893
|
try {
|
|
11894
11894
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12021,7 +12021,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
12021
12021
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12022
12022
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12023
12023
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12024
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
12024
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12025
12025
|
let fetchResult;
|
|
12026
12026
|
try {
|
|
12027
12027
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12249,7 +12249,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
12249
12249
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12250
12250
|
*/
|
|
12251
12251
|
static async fromJsonLd(json, options = {}) {
|
|
12252
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
12252
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12253
12253
|
try {
|
|
12254
12254
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
12255
12255
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12462,7 +12462,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
12462
12462
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12463
12463
|
*/
|
|
12464
12464
|
static async fromJsonLd(json, options = {}) {
|
|
12465
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
12465
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12466
12466
|
try {
|
|
12467
12467
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
12468
12468
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12596,7 +12596,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12596
12596
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12597
12597
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12598
12598
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12599
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
12599
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12600
12600
|
let fetchResult;
|
|
12601
12601
|
try {
|
|
12602
12602
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12729,7 +12729,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12729
12729
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12730
12730
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12731
12731
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12732
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
12732
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12733
12733
|
let fetchResult;
|
|
12734
12734
|
try {
|
|
12735
12735
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12957,7 +12957,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12957
12957
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12958
12958
|
*/
|
|
12959
12959
|
static async fromJsonLd(json, options = {}) {
|
|
12960
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
12960
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12961
12961
|
try {
|
|
12962
12962
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
12963
12963
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13170,7 +13170,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
13170
13170
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13171
13171
|
*/
|
|
13172
13172
|
static async fromJsonLd(json, options = {}) {
|
|
13173
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
13173
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13174
13174
|
try {
|
|
13175
13175
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
13176
13176
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13304,7 +13304,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
13304
13304
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13305
13305
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13306
13306
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13307
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
13307
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13308
13308
|
let fetchResult;
|
|
13309
13309
|
try {
|
|
13310
13310
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13436,7 +13436,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
13436
13436
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13437
13437
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13438
13438
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13439
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
13439
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13440
13440
|
let fetchResult;
|
|
13441
13441
|
try {
|
|
13442
13442
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13666,7 +13666,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
13666
13666
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13667
13667
|
*/
|
|
13668
13668
|
static async fromJsonLd(json, options = {}) {
|
|
13669
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
13669
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13670
13670
|
try {
|
|
13671
13671
|
const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
|
|
13672
13672
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13909,7 +13909,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
|
|
|
13909
13909
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13910
13910
|
*/
|
|
13911
13911
|
static async fromJsonLd(json, options = {}) {
|
|
13912
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
13912
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13913
13913
|
try {
|
|
13914
13914
|
const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
|
|
13915
13915
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14136,7 +14136,7 @@ var DidService = class {
|
|
|
14136
14136
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14137
14137
|
*/
|
|
14138
14138
|
static async fromJsonLd(json, options = {}) {
|
|
14139
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
14139
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14140
14140
|
try {
|
|
14141
14141
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
14142
14142
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14299,7 +14299,7 @@ var Export = class Export extends DidService {
|
|
|
14299
14299
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14300
14300
|
*/
|
|
14301
14301
|
static async fromJsonLd(json, options = {}) {
|
|
14302
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
14302
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14303
14303
|
try {
|
|
14304
14304
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
14305
14305
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14493,7 +14493,7 @@ var DataIntegrityProof = class {
|
|
|
14493
14493
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14494
14494
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14495
14495
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14496
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
14496
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14497
14497
|
let fetchResult;
|
|
14498
14498
|
try {
|
|
14499
14499
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14712,7 +14712,7 @@ var DataIntegrityProof = class {
|
|
|
14712
14712
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14713
14713
|
*/
|
|
14714
14714
|
static async fromJsonLd(json, options = {}) {
|
|
14715
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
14715
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14716
14716
|
try {
|
|
14717
14717
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
14718
14718
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14978,7 +14978,7 @@ var CryptographicKey = class {
|
|
|
14978
14978
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14979
14979
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14980
14980
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14981
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
14981
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14982
14982
|
let fetchResult;
|
|
14983
14983
|
try {
|
|
14984
14984
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15252,7 +15252,7 @@ var CryptographicKey = class {
|
|
|
15252
15252
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15253
15253
|
*/
|
|
15254
15254
|
static async fromJsonLd(json, options = {}) {
|
|
15255
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
15255
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15256
15256
|
try {
|
|
15257
15257
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
15258
15258
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15479,7 +15479,7 @@ var Multikey = class {
|
|
|
15479
15479
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15480
15480
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15481
15481
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15482
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
15482
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15483
15483
|
let fetchResult;
|
|
15484
15484
|
try {
|
|
15485
15485
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15759,7 +15759,7 @@ var Multikey = class {
|
|
|
15759
15759
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15760
15760
|
*/
|
|
15761
15761
|
static async fromJsonLd(json, options = {}) {
|
|
15762
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
15762
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15763
15763
|
try {
|
|
15764
15764
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
15765
15765
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16097,7 +16097,7 @@ var Agreement = class Agreement extends Object$1 {
|
|
|
16097
16097
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16098
16098
|
*/
|
|
16099
16099
|
static async fromJsonLd(json, options = {}) {
|
|
16100
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
16100
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16101
16101
|
try {
|
|
16102
16102
|
const object = await this.__fromJsonLd__Agreement__(json, span, options);
|
|
16103
16103
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16420,7 +16420,7 @@ var Commitment = class {
|
|
|
16420
16420
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16421
16421
|
*/
|
|
16422
16422
|
static async fromJsonLd(json, options = {}) {
|
|
16423
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
16423
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16424
16424
|
try {
|
|
16425
16425
|
const object = await this.__fromJsonLd__Commitment__(json, span, options);
|
|
16426
16426
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16821,7 +16821,7 @@ var Intent = class {
|
|
|
16821
16821
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16822
16822
|
*/
|
|
16823
16823
|
static async fromJsonLd(json, options = {}) {
|
|
16824
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
16824
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16825
16825
|
try {
|
|
16826
16826
|
const object = await this.__fromJsonLd__Intent__(json, span, options);
|
|
16827
16827
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17261,7 +17261,7 @@ var Proposal = class Proposal extends Object$1 {
|
|
|
17261
17261
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17262
17262
|
*/
|
|
17263
17263
|
static async fromJsonLd(json, options = {}) {
|
|
17264
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
17264
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17265
17265
|
try {
|
|
17266
17266
|
const object = await this.__fromJsonLd__Proposal__(json, span, options);
|
|
17267
17267
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17493,7 +17493,7 @@ var Accept = class Accept extends Activity {
|
|
|
17493
17493
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17494
17494
|
*/
|
|
17495
17495
|
static async fromJsonLd(json, options = {}) {
|
|
17496
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
17496
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17497
17497
|
try {
|
|
17498
17498
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
17499
17499
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17648,7 +17648,7 @@ var Add = class Add extends Activity {
|
|
|
17648
17648
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17649
17649
|
*/
|
|
17650
17650
|
static async fromJsonLd(json, options = {}) {
|
|
17651
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
17651
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17652
17652
|
try {
|
|
17653
17653
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
17654
17654
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17830,7 +17830,7 @@ var Announce = class Announce extends Activity {
|
|
|
17830
17830
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17831
17831
|
*/
|
|
17832
17832
|
static async fromJsonLd(json, options = {}) {
|
|
17833
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
17833
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17834
17834
|
try {
|
|
17835
17835
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
17836
17836
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18228,7 +18228,7 @@ var Application = class Application extends Object$1 {
|
|
|
18228
18228
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18229
18229
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18230
18230
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18231
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18231
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18232
18232
|
let fetchResult;
|
|
18233
18233
|
try {
|
|
18234
18234
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18415,7 +18415,7 @@ var Application = class Application extends Object$1 {
|
|
|
18415
18415
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18416
18416
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18417
18417
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18418
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18418
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18419
18419
|
let fetchResult;
|
|
18420
18420
|
try {
|
|
18421
18421
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18620,7 +18620,7 @@ var Application = class Application extends Object$1 {
|
|
|
18620
18620
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18621
18621
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18622
18622
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18623
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18623
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18624
18624
|
let fetchResult;
|
|
18625
18625
|
try {
|
|
18626
18626
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18774,7 +18774,7 @@ var Application = class Application extends Object$1 {
|
|
|
18774
18774
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18775
18775
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18776
18776
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18777
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18777
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18778
18778
|
let fetchResult;
|
|
18779
18779
|
try {
|
|
18780
18780
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18925,7 +18925,7 @@ var Application = class Application extends Object$1 {
|
|
|
18925
18925
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18926
18926
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18927
18927
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18928
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18928
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18929
18929
|
let fetchResult;
|
|
18930
18930
|
try {
|
|
18931
18931
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19061,7 +19061,7 @@ var Application = class Application extends Object$1 {
|
|
|
19061
19061
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19062
19062
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19063
19063
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19064
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19064
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19065
19065
|
let fetchResult;
|
|
19066
19066
|
try {
|
|
19067
19067
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19200,7 +19200,7 @@ var Application = class Application extends Object$1 {
|
|
|
19200
19200
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19201
19201
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19202
19202
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19203
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19203
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19204
19204
|
let fetchResult;
|
|
19205
19205
|
try {
|
|
19206
19206
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19337,7 +19337,7 @@ var Application = class Application extends Object$1 {
|
|
|
19337
19337
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19338
19338
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19339
19339
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19340
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19340
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19341
19341
|
let fetchResult;
|
|
19342
19342
|
try {
|
|
19343
19343
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19472,7 +19472,7 @@ var Application = class Application extends Object$1 {
|
|
|
19472
19472
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19473
19473
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19474
19474
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19475
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19475
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19476
19476
|
let fetchResult;
|
|
19477
19477
|
try {
|
|
19478
19478
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19607,7 +19607,7 @@ var Application = class Application extends Object$1 {
|
|
|
19607
19607
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19608
19608
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19609
19609
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19610
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19610
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19611
19611
|
let fetchResult;
|
|
19612
19612
|
try {
|
|
19613
19613
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19782,7 +19782,7 @@ var Application = class Application extends Object$1 {
|
|
|
19782
19782
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19783
19783
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19784
19784
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19785
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19785
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19786
19786
|
let fetchResult;
|
|
19787
19787
|
try {
|
|
19788
19788
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19960,7 +19960,7 @@ var Application = class Application extends Object$1 {
|
|
|
19960
19960
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19961
19961
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19962
19962
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19963
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19963
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19964
19964
|
let fetchResult;
|
|
19965
19965
|
try {
|
|
19966
19966
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20199,7 +20199,7 @@ var Application = class Application extends Object$1 {
|
|
|
20199
20199
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20200
20200
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20201
20201
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20202
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
20202
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20203
20203
|
let fetchResult;
|
|
20204
20204
|
try {
|
|
20205
20205
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20909,7 +20909,7 @@ var Application = class Application extends Object$1 {
|
|
|
20909
20909
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20910
20910
|
*/
|
|
20911
20911
|
static async fromJsonLd(json, options = {}) {
|
|
20912
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
20912
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20913
20913
|
try {
|
|
20914
20914
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
20915
20915
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21601,7 +21601,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
21601
21601
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21602
21602
|
*/
|
|
21603
21603
|
static async fromJsonLd(json, options = {}) {
|
|
21604
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
21604
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21605
21605
|
try {
|
|
21606
21606
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
21607
21607
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21757,7 +21757,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
21757
21757
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21758
21758
|
*/
|
|
21759
21759
|
static async fromJsonLd(json, options = {}) {
|
|
21760
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
21760
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21761
21761
|
try {
|
|
21762
21762
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
21763
21763
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21890,7 +21890,7 @@ var Article = class Article extends Object$1 {
|
|
|
21890
21890
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21891
21891
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21892
21892
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21893
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
21893
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21894
21894
|
let fetchResult;
|
|
21895
21895
|
try {
|
|
21896
21896
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22040,7 +22040,7 @@ var Article = class Article extends Object$1 {
|
|
|
22040
22040
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22041
22041
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22042
22042
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22043
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
22043
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22044
22044
|
let fetchResult;
|
|
22045
22045
|
try {
|
|
22046
22046
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22338,7 +22338,7 @@ var Article = class Article extends Object$1 {
|
|
|
22338
22338
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22339
22339
|
*/
|
|
22340
22340
|
static async fromJsonLd(json, options = {}) {
|
|
22341
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
22341
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22342
22342
|
try {
|
|
22343
22343
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
22344
22344
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22636,7 +22636,7 @@ var Document = class Document extends Object$1 {
|
|
|
22636
22636
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22637
22637
|
*/
|
|
22638
22638
|
static async fromJsonLd(json, options = {}) {
|
|
22639
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
22639
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22640
22640
|
try {
|
|
22641
22641
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
22642
22642
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22842,7 +22842,7 @@ var Audio = class Audio extends Document {
|
|
|
22842
22842
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22843
22843
|
*/
|
|
22844
22844
|
static async fromJsonLd(json, options = {}) {
|
|
22845
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
22845
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22846
22846
|
try {
|
|
22847
22847
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
22848
22848
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22994,7 +22994,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
22994
22994
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22995
22995
|
*/
|
|
22996
22996
|
static async fromJsonLd(json, options = {}) {
|
|
22997
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
22997
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22998
22998
|
try {
|
|
22999
22999
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
23000
23000
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23149,7 +23149,7 @@ var Block = class Block extends Ignore {
|
|
|
23149
23149
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23150
23150
|
*/
|
|
23151
23151
|
static async fromJsonLd(json, options = {}) {
|
|
23152
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
23152
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23153
23153
|
try {
|
|
23154
23154
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
23155
23155
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23416,7 +23416,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23416
23416
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23417
23417
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23418
23418
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23419
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23419
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23420
23420
|
let fetchResult;
|
|
23421
23421
|
try {
|
|
23422
23422
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23549,7 +23549,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23549
23549
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23550
23550
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23551
23551
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23552
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23552
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23553
23553
|
let fetchResult;
|
|
23554
23554
|
try {
|
|
23555
23555
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23682,7 +23682,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23682
23682
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23683
23683
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23684
23684
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23685
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23685
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23686
23686
|
let fetchResult;
|
|
23687
23687
|
try {
|
|
23688
23688
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23815,7 +23815,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23815
23815
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23816
23816
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23817
23817
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23818
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23818
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23819
23819
|
let fetchResult;
|
|
23820
23820
|
try {
|
|
23821
23821
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23959,7 +23959,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23959
23959
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23960
23960
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23961
23961
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23962
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23962
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23963
23963
|
let fetchResult;
|
|
23964
23964
|
try {
|
|
23965
23965
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24091,7 +24091,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24091
24091
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24092
24092
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24093
24093
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24094
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24094
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24095
24095
|
let fetchResult;
|
|
24096
24096
|
try {
|
|
24097
24097
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24223,7 +24223,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24223
24223
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24224
24224
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24225
24225
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24226
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24226
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24227
24227
|
let fetchResult;
|
|
24228
24228
|
try {
|
|
24229
24229
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24355,7 +24355,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24355
24355
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24356
24356
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24357
24357
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24358
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24358
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24359
24359
|
let fetchResult;
|
|
24360
24360
|
try {
|
|
24361
24361
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24487,7 +24487,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24487
24487
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24488
24488
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24489
24489
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24490
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24490
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24491
24491
|
let fetchResult;
|
|
24492
24492
|
try {
|
|
24493
24493
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24619,7 +24619,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24619
24619
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24620
24620
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24621
24621
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24622
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24622
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24623
24623
|
let fetchResult;
|
|
24624
24624
|
try {
|
|
24625
24625
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24751,7 +24751,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24751
24751
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24752
24752
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24753
24753
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24754
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24754
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24755
24755
|
let fetchResult;
|
|
24756
24756
|
try {
|
|
24757
24757
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24883,7 +24883,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24883
24883
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24884
24884
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24885
24885
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24886
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24886
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24887
24887
|
let fetchResult;
|
|
24888
24888
|
try {
|
|
24889
24889
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25344,7 +25344,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
25344
25344
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25345
25345
|
*/
|
|
25346
25346
|
static async fromJsonLd(json, options = {}) {
|
|
25347
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
25347
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25348
25348
|
try {
|
|
25349
25349
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
25350
25350
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25892,7 +25892,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
25892
25892
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25893
25893
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25894
25894
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25895
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
25895
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25896
25896
|
let fetchResult;
|
|
25897
25897
|
try {
|
|
25898
25898
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26025,7 +26025,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
26025
26025
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26026
26026
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26027
26027
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26028
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
26028
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26029
26029
|
let fetchResult;
|
|
26030
26030
|
try {
|
|
26031
26031
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26157,7 +26157,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
26157
26157
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26158
26158
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26159
26159
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26160
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
26160
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26161
26161
|
let fetchResult;
|
|
26162
26162
|
try {
|
|
26163
26163
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26455,7 +26455,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
26455
26455
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26456
26456
|
*/
|
|
26457
26457
|
static async fromJsonLd(json, options = {}) {
|
|
26458
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
26458
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26459
26459
|
try {
|
|
26460
26460
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
26461
26461
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26716,7 +26716,7 @@ var Create = class Create extends Activity {
|
|
|
26716
26716
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26717
26717
|
*/
|
|
26718
26718
|
static async fromJsonLd(json, options = {}) {
|
|
26719
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
26719
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26720
26720
|
try {
|
|
26721
26721
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
26722
26722
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26894,7 +26894,7 @@ var Delete = class Delete extends Activity {
|
|
|
26894
26894
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26895
26895
|
*/
|
|
26896
26896
|
static async fromJsonLd(json, options = {}) {
|
|
26897
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
26897
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26898
26898
|
try {
|
|
26899
26899
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
26900
26900
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27049,7 +27049,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
27049
27049
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27050
27050
|
*/
|
|
27051
27051
|
static async fromJsonLd(json, options = {}) {
|
|
27052
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
27052
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27053
27053
|
try {
|
|
27054
27054
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
27055
27055
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27415,7 +27415,7 @@ var Endpoints = class {
|
|
|
27415
27415
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27416
27416
|
*/
|
|
27417
27417
|
static async fromJsonLd(json, options = {}) {
|
|
27418
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
27418
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27419
27419
|
try {
|
|
27420
27420
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
27421
27421
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27688,7 +27688,7 @@ var Event = class Event extends Object$1 {
|
|
|
27688
27688
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27689
27689
|
*/
|
|
27690
27690
|
static async fromJsonLd(json, options = {}) {
|
|
27691
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
27691
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27692
27692
|
try {
|
|
27693
27693
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
27694
27694
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27841,7 +27841,7 @@ var Flag = class Flag extends Activity {
|
|
|
27841
27841
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27842
27842
|
*/
|
|
27843
27843
|
static async fromJsonLd(json, options = {}) {
|
|
27844
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
27844
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27845
27845
|
try {
|
|
27846
27846
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
27847
27847
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27998,7 +27998,7 @@ var Follow = class Follow extends Activity {
|
|
|
27998
27998
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27999
27999
|
*/
|
|
28000
28000
|
static async fromJsonLd(json, options = {}) {
|
|
28001
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
28001
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28002
28002
|
try {
|
|
28003
28003
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
28004
28004
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28396,7 +28396,7 @@ var Group = class Group extends Object$1 {
|
|
|
28396
28396
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28397
28397
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28398
28398
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28399
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28399
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28400
28400
|
let fetchResult;
|
|
28401
28401
|
try {
|
|
28402
28402
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28583,7 +28583,7 @@ var Group = class Group extends Object$1 {
|
|
|
28583
28583
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28584
28584
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28585
28585
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28586
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28586
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28587
28587
|
let fetchResult;
|
|
28588
28588
|
try {
|
|
28589
28589
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28788,7 +28788,7 @@ var Group = class Group extends Object$1 {
|
|
|
28788
28788
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28789
28789
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28790
28790
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28791
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28791
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28792
28792
|
let fetchResult;
|
|
28793
28793
|
try {
|
|
28794
28794
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28942,7 +28942,7 @@ var Group = class Group extends Object$1 {
|
|
|
28942
28942
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28943
28943
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28944
28944
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28945
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28945
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28946
28946
|
let fetchResult;
|
|
28947
28947
|
try {
|
|
28948
28948
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29093,7 +29093,7 @@ var Group = class Group extends Object$1 {
|
|
|
29093
29093
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29094
29094
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29095
29095
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29096
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29096
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29097
29097
|
let fetchResult;
|
|
29098
29098
|
try {
|
|
29099
29099
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29229,7 +29229,7 @@ var Group = class Group extends Object$1 {
|
|
|
29229
29229
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29230
29230
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29231
29231
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29232
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29232
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29233
29233
|
let fetchResult;
|
|
29234
29234
|
try {
|
|
29235
29235
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29368,7 +29368,7 @@ var Group = class Group extends Object$1 {
|
|
|
29368
29368
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29369
29369
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29370
29370
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29371
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29371
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29372
29372
|
let fetchResult;
|
|
29373
29373
|
try {
|
|
29374
29374
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29505,7 +29505,7 @@ var Group = class Group extends Object$1 {
|
|
|
29505
29505
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29506
29506
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29507
29507
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29508
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29508
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29509
29509
|
let fetchResult;
|
|
29510
29510
|
try {
|
|
29511
29511
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29640,7 +29640,7 @@ var Group = class Group extends Object$1 {
|
|
|
29640
29640
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29641
29641
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29642
29642
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29643
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29643
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29644
29644
|
let fetchResult;
|
|
29645
29645
|
try {
|
|
29646
29646
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29775,7 +29775,7 @@ var Group = class Group extends Object$1 {
|
|
|
29775
29775
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29776
29776
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29777
29777
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29778
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29778
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29779
29779
|
let fetchResult;
|
|
29780
29780
|
try {
|
|
29781
29781
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29950,7 +29950,7 @@ var Group = class Group extends Object$1 {
|
|
|
29950
29950
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29951
29951
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29952
29952
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29953
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29953
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29954
29954
|
let fetchResult;
|
|
29955
29955
|
try {
|
|
29956
29956
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30128,7 +30128,7 @@ var Group = class Group extends Object$1 {
|
|
|
30128
30128
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30129
30129
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30130
30130
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30131
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
30131
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30132
30132
|
let fetchResult;
|
|
30133
30133
|
try {
|
|
30134
30134
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30367,7 +30367,7 @@ var Group = class Group extends Object$1 {
|
|
|
30367
30367
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30368
30368
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30369
30369
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30370
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
30370
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30371
30371
|
let fetchResult;
|
|
30372
30372
|
try {
|
|
30373
30373
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31077,7 +31077,7 @@ var Group = class Group extends Object$1 {
|
|
|
31077
31077
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31078
31078
|
*/
|
|
31079
31079
|
static async fromJsonLd(json, options = {}) {
|
|
31080
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
31080
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31081
31081
|
try {
|
|
31082
31082
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
31083
31083
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31925,7 +31925,7 @@ var Link = class Link {
|
|
|
31925
31925
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31926
31926
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31927
31927
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31928
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
31928
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31929
31929
|
let fetchResult;
|
|
31930
31930
|
try {
|
|
31931
31931
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32230,7 +32230,7 @@ var Link = class Link {
|
|
|
32230
32230
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32231
32231
|
*/
|
|
32232
32232
|
static async fromJsonLd(json, options = {}) {
|
|
32233
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32233
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32234
32234
|
try {
|
|
32235
32235
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
32236
32236
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32615,7 +32615,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
32615
32615
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32616
32616
|
*/
|
|
32617
32617
|
static async fromJsonLd(json, options = {}) {
|
|
32618
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32618
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32619
32619
|
try {
|
|
32620
32620
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
32621
32621
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32780,7 +32780,7 @@ var Image = class Image extends Document {
|
|
|
32780
32780
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32781
32781
|
*/
|
|
32782
32782
|
static async fromJsonLd(json, options = {}) {
|
|
32783
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32783
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32784
32784
|
try {
|
|
32785
32785
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
32786
32786
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32933,7 +32933,7 @@ var Offer = class Offer extends Activity {
|
|
|
32933
32933
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32934
32934
|
*/
|
|
32935
32935
|
static async fromJsonLd(json, options = {}) {
|
|
32936
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32936
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32937
32937
|
try {
|
|
32938
32938
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
32939
32939
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33086,7 +33086,7 @@ var Invite = class Invite extends Offer {
|
|
|
33086
33086
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33087
33087
|
*/
|
|
33088
33088
|
static async fromJsonLd(json, options = {}) {
|
|
33089
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33089
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33090
33090
|
try {
|
|
33091
33091
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
33092
33092
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33238,7 +33238,7 @@ var Join = class Join extends Activity {
|
|
|
33238
33238
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33239
33239
|
*/
|
|
33240
33240
|
static async fromJsonLd(json, options = {}) {
|
|
33241
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33241
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33242
33242
|
try {
|
|
33243
33243
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
33244
33244
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33390,7 +33390,7 @@ var Leave = class Leave extends Activity {
|
|
|
33390
33390
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33391
33391
|
*/
|
|
33392
33392
|
static async fromJsonLd(json, options = {}) {
|
|
33393
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33393
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33394
33394
|
try {
|
|
33395
33395
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
33396
33396
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33546,7 +33546,7 @@ var Like = class Like extends Activity {
|
|
|
33546
33546
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33547
33547
|
*/
|
|
33548
33548
|
static async fromJsonLd(json, options = {}) {
|
|
33549
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33549
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33550
33550
|
try {
|
|
33551
33551
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
33552
33552
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33697,7 +33697,7 @@ var Listen = class Listen extends Activity {
|
|
|
33697
33697
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33698
33698
|
*/
|
|
33699
33699
|
static async fromJsonLd(json, options = {}) {
|
|
33700
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33700
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33701
33701
|
try {
|
|
33702
33702
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
33703
33703
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33851,7 +33851,7 @@ var Mention = class Mention extends Link {
|
|
|
33851
33851
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33852
33852
|
*/
|
|
33853
33853
|
static async fromJsonLd(json, options = {}) {
|
|
33854
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33854
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33855
33855
|
try {
|
|
33856
33856
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
33857
33857
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34004,7 +34004,7 @@ var Move = class Move extends Activity {
|
|
|
34004
34004
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34005
34005
|
*/
|
|
34006
34006
|
static async fromJsonLd(json, options = {}) {
|
|
34007
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
34007
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34008
34008
|
try {
|
|
34009
34009
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
34010
34010
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34138,7 +34138,7 @@ var Note = class Note extends Object$1 {
|
|
|
34138
34138
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34139
34139
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34140
34140
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34141
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
34141
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34142
34142
|
let fetchResult;
|
|
34143
34143
|
try {
|
|
34144
34144
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34288,7 +34288,7 @@ var Note = class Note extends Object$1 {
|
|
|
34288
34288
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34289
34289
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34290
34290
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34291
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
34291
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34292
34292
|
let fetchResult;
|
|
34293
34293
|
try {
|
|
34294
34294
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34586,7 +34586,7 @@ var Note = class Note extends Object$1 {
|
|
|
34586
34586
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34587
34587
|
*/
|
|
34588
34588
|
static async fromJsonLd(json, options = {}) {
|
|
34589
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
34589
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34590
34590
|
try {
|
|
34591
34591
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
34592
34592
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34776,7 +34776,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
34776
34776
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34777
34777
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34778
34778
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34779
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
34779
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34780
34780
|
let fetchResult;
|
|
34781
34781
|
try {
|
|
34782
34782
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35059,7 +35059,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
35059
35059
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35060
35060
|
*/
|
|
35061
35061
|
static async fromJsonLd(json, options = {}) {
|
|
35062
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
35062
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35063
35063
|
try {
|
|
35064
35064
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
35065
35065
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35283,7 +35283,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
35283
35283
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35284
35284
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35285
35285
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35286
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
35286
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35287
35287
|
let fetchResult;
|
|
35288
35288
|
try {
|
|
35289
35289
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35589,7 +35589,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
35589
35589
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35590
35590
|
*/
|
|
35591
35591
|
static async fromJsonLd(json, options = {}) {
|
|
35592
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
35592
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35593
35593
|
try {
|
|
35594
35594
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
35595
35595
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36105,7 +36105,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36105
36105
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36106
36106
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36107
36107
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36108
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36108
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36109
36109
|
let fetchResult;
|
|
36110
36110
|
try {
|
|
36111
36111
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36292,7 +36292,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36292
36292
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36293
36293
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36294
36294
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36295
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36295
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36296
36296
|
let fetchResult;
|
|
36297
36297
|
try {
|
|
36298
36298
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36497,7 +36497,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36497
36497
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36498
36498
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36499
36499
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36500
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36500
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36501
36501
|
let fetchResult;
|
|
36502
36502
|
try {
|
|
36503
36503
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36651,7 +36651,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36651
36651
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36652
36652
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36653
36653
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36654
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36654
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36655
36655
|
let fetchResult;
|
|
36656
36656
|
try {
|
|
36657
36657
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36802,7 +36802,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36802
36802
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36803
36803
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36804
36804
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36805
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36805
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36806
36806
|
let fetchResult;
|
|
36807
36807
|
try {
|
|
36808
36808
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36938,7 +36938,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36938
36938
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36939
36939
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36940
36940
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36941
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36941
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36942
36942
|
let fetchResult;
|
|
36943
36943
|
try {
|
|
36944
36944
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37077,7 +37077,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37077
37077
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37078
37078
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37079
37079
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37080
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37080
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37081
37081
|
let fetchResult;
|
|
37082
37082
|
try {
|
|
37083
37083
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37214,7 +37214,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37214
37214
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37215
37215
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37216
37216
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37217
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37217
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37218
37218
|
let fetchResult;
|
|
37219
37219
|
try {
|
|
37220
37220
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37349,7 +37349,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37349
37349
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37350
37350
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37351
37351
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37352
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37352
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37353
37353
|
let fetchResult;
|
|
37354
37354
|
try {
|
|
37355
37355
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37484,7 +37484,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37484
37484
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37485
37485
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37486
37486
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37487
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37487
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37488
37488
|
let fetchResult;
|
|
37489
37489
|
try {
|
|
37490
37490
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37659,7 +37659,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37659
37659
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37660
37660
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37661
37661
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37662
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37662
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37663
37663
|
let fetchResult;
|
|
37664
37664
|
try {
|
|
37665
37665
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37837,7 +37837,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37837
37837
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37838
37838
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37839
37839
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37840
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37840
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37841
37841
|
let fetchResult;
|
|
37842
37842
|
try {
|
|
37843
37843
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38076,7 +38076,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
38076
38076
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38077
38077
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38078
38078
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38079
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
38079
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38080
38080
|
let fetchResult;
|
|
38081
38081
|
try {
|
|
38082
38082
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38786,7 +38786,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
38786
38786
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38787
38787
|
*/
|
|
38788
38788
|
static async fromJsonLd(json, options = {}) {
|
|
38789
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
38789
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38790
38790
|
try {
|
|
38791
38791
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
38792
38792
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39490,7 +39490,7 @@ var Page = class Page extends Document {
|
|
|
39490
39490
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39491
39491
|
*/
|
|
39492
39492
|
static async fromJsonLd(json, options = {}) {
|
|
39493
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
39493
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39494
39494
|
try {
|
|
39495
39495
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
39496
39496
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39888,7 +39888,7 @@ var Person = class Person extends Object$1 {
|
|
|
39888
39888
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39889
39889
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39890
39890
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39891
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
39891
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39892
39892
|
let fetchResult;
|
|
39893
39893
|
try {
|
|
39894
39894
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40075,7 +40075,7 @@ var Person = class Person extends Object$1 {
|
|
|
40075
40075
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40076
40076
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40077
40077
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40078
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40078
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40079
40079
|
let fetchResult;
|
|
40080
40080
|
try {
|
|
40081
40081
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40280,7 +40280,7 @@ var Person = class Person extends Object$1 {
|
|
|
40280
40280
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40281
40281
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40282
40282
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40283
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40283
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40284
40284
|
let fetchResult;
|
|
40285
40285
|
try {
|
|
40286
40286
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40434,7 +40434,7 @@ var Person = class Person extends Object$1 {
|
|
|
40434
40434
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40435
40435
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40436
40436
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40437
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40437
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40438
40438
|
let fetchResult;
|
|
40439
40439
|
try {
|
|
40440
40440
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40585,7 +40585,7 @@ var Person = class Person extends Object$1 {
|
|
|
40585
40585
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40586
40586
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40587
40587
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40588
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40588
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40589
40589
|
let fetchResult;
|
|
40590
40590
|
try {
|
|
40591
40591
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40721,7 +40721,7 @@ var Person = class Person extends Object$1 {
|
|
|
40721
40721
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40722
40722
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40723
40723
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40724
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40724
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40725
40725
|
let fetchResult;
|
|
40726
40726
|
try {
|
|
40727
40727
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40860,7 +40860,7 @@ var Person = class Person extends Object$1 {
|
|
|
40860
40860
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40861
40861
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40862
40862
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40863
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40863
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40864
40864
|
let fetchResult;
|
|
40865
40865
|
try {
|
|
40866
40866
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40997,7 +40997,7 @@ var Person = class Person extends Object$1 {
|
|
|
40997
40997
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40998
40998
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40999
40999
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41000
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41000
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41001
41001
|
let fetchResult;
|
|
41002
41002
|
try {
|
|
41003
41003
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41132,7 +41132,7 @@ var Person = class Person extends Object$1 {
|
|
|
41132
41132
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41133
41133
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41134
41134
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41135
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41135
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41136
41136
|
let fetchResult;
|
|
41137
41137
|
try {
|
|
41138
41138
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41267,7 +41267,7 @@ var Person = class Person extends Object$1 {
|
|
|
41267
41267
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41268
41268
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41269
41269
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41270
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41270
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41271
41271
|
let fetchResult;
|
|
41272
41272
|
try {
|
|
41273
41273
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41442,7 +41442,7 @@ var Person = class Person extends Object$1 {
|
|
|
41442
41442
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41443
41443
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41444
41444
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41445
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41445
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41446
41446
|
let fetchResult;
|
|
41447
41447
|
try {
|
|
41448
41448
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41620,7 +41620,7 @@ var Person = class Person extends Object$1 {
|
|
|
41620
41620
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41621
41621
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41622
41622
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41623
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41623
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41624
41624
|
let fetchResult;
|
|
41625
41625
|
try {
|
|
41626
41626
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41859,7 +41859,7 @@ var Person = class Person extends Object$1 {
|
|
|
41859
41859
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41860
41860
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41861
41861
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41862
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41862
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41863
41863
|
let fetchResult;
|
|
41864
41864
|
try {
|
|
41865
41865
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42569,7 +42569,7 @@ var Person = class Person extends Object$1 {
|
|
|
42569
42569
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42570
42570
|
*/
|
|
42571
42571
|
static async fromJsonLd(json, options = {}) {
|
|
42572
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
42572
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42573
42573
|
try {
|
|
42574
42574
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
42575
42575
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43450,7 +43450,7 @@ var Place = class Place extends Object$1 {
|
|
|
43450
43450
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43451
43451
|
*/
|
|
43452
43452
|
static async fromJsonLd(json, options = {}) {
|
|
43453
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
43453
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43454
43454
|
try {
|
|
43455
43455
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
43456
43456
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43678,7 +43678,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
43678
43678
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43679
43679
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43680
43680
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43681
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
43681
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43682
43682
|
let fetchResult;
|
|
43683
43683
|
try {
|
|
43684
43684
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43891,7 +43891,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
43891
43891
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43892
43892
|
*/
|
|
43893
43893
|
static async fromJsonLd(json, options = {}) {
|
|
43894
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
43894
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43895
43895
|
try {
|
|
43896
43896
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
43897
43897
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44096,7 +44096,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
44096
44096
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44097
44097
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44098
44098
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44099
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44099
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44100
44100
|
let fetchResult;
|
|
44101
44101
|
try {
|
|
44102
44102
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44231,7 +44231,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
44231
44231
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44232
44232
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44233
44233
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44234
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44234
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44235
44235
|
let fetchResult;
|
|
44236
44236
|
try {
|
|
44237
44237
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44382,7 +44382,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
44382
44382
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44383
44383
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44384
44384
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44385
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44385
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44386
44386
|
let fetchResult;
|
|
44387
44387
|
try {
|
|
44388
44388
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44532,7 +44532,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
44532
44532
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44533
44533
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44534
44534
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44535
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44535
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44536
44536
|
let fetchResult;
|
|
44537
44537
|
try {
|
|
44538
44538
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44796,7 +44796,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
44796
44796
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44797
44797
|
*/
|
|
44798
44798
|
static async fromJsonLd(json, options = {}) {
|
|
44799
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
44799
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44800
44800
|
try {
|
|
44801
44801
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
44802
44802
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45108,7 +45108,7 @@ var Read = class Read extends Activity {
|
|
|
45108
45108
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45109
45109
|
*/
|
|
45110
45110
|
static async fromJsonLd(json, options = {}) {
|
|
45111
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
45111
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45112
45112
|
try {
|
|
45113
45113
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
45114
45114
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45260,7 +45260,7 @@ var Reject = class Reject extends Activity {
|
|
|
45260
45260
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45261
45261
|
*/
|
|
45262
45262
|
static async fromJsonLd(json, options = {}) {
|
|
45263
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
45263
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45264
45264
|
try {
|
|
45265
45265
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
45266
45266
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45436,7 +45436,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
45436
45436
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45437
45437
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45438
45438
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45439
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45439
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45440
45440
|
let fetchResult;
|
|
45441
45441
|
try {
|
|
45442
45442
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45571,7 +45571,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
45571
45571
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45572
45572
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45573
45573
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45574
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45574
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45575
45575
|
let fetchResult;
|
|
45576
45576
|
try {
|
|
45577
45577
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45758,7 +45758,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
45758
45758
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45759
45759
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45760
45760
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45761
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45761
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45762
45762
|
let fetchResult;
|
|
45763
45763
|
try {
|
|
45764
45764
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46061,7 +46061,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
46061
46061
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46062
46062
|
*/
|
|
46063
46063
|
static async fromJsonLd(json, options = {}) {
|
|
46064
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
46064
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46065
46065
|
try {
|
|
46066
46066
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
46067
46067
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46294,7 +46294,7 @@ var Remove = class Remove extends Activity {
|
|
|
46294
46294
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46295
46295
|
*/
|
|
46296
46296
|
static async fromJsonLd(json, options = {}) {
|
|
46297
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
46297
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46298
46298
|
try {
|
|
46299
46299
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
46300
46300
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46692,7 +46692,7 @@ var Service = class Service extends Object$1 {
|
|
|
46692
46692
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46693
46693
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46694
46694
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46695
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
46695
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46696
46696
|
let fetchResult;
|
|
46697
46697
|
try {
|
|
46698
46698
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46879,7 +46879,7 @@ var Service = class Service extends Object$1 {
|
|
|
46879
46879
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46880
46880
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46881
46881
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46882
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
46882
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46883
46883
|
let fetchResult;
|
|
46884
46884
|
try {
|
|
46885
46885
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47084,7 +47084,7 @@ var Service = class Service extends Object$1 {
|
|
|
47084
47084
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47085
47085
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47086
47086
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47087
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47087
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47088
47088
|
let fetchResult;
|
|
47089
47089
|
try {
|
|
47090
47090
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47238,7 +47238,7 @@ var Service = class Service extends Object$1 {
|
|
|
47238
47238
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47239
47239
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47240
47240
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47241
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47241
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47242
47242
|
let fetchResult;
|
|
47243
47243
|
try {
|
|
47244
47244
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47389,7 +47389,7 @@ var Service = class Service extends Object$1 {
|
|
|
47389
47389
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47390
47390
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47391
47391
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47392
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47392
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47393
47393
|
let fetchResult;
|
|
47394
47394
|
try {
|
|
47395
47395
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47525,7 +47525,7 @@ var Service = class Service extends Object$1 {
|
|
|
47525
47525
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47526
47526
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47527
47527
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47528
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47528
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47529
47529
|
let fetchResult;
|
|
47530
47530
|
try {
|
|
47531
47531
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47664,7 +47664,7 @@ var Service = class Service extends Object$1 {
|
|
|
47664
47664
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47665
47665
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47666
47666
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47667
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47667
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47668
47668
|
let fetchResult;
|
|
47669
47669
|
try {
|
|
47670
47670
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47801,7 +47801,7 @@ var Service = class Service extends Object$1 {
|
|
|
47801
47801
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47802
47802
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47803
47803
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47804
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47804
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47805
47805
|
let fetchResult;
|
|
47806
47806
|
try {
|
|
47807
47807
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47936,7 +47936,7 @@ var Service = class Service extends Object$1 {
|
|
|
47936
47936
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47937
47937
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47938
47938
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47939
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47939
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47940
47940
|
let fetchResult;
|
|
47941
47941
|
try {
|
|
47942
47942
|
fetchResult = await documentLoader(url.href);
|
|
@@ -48071,7 +48071,7 @@ var Service = class Service extends Object$1 {
|
|
|
48071
48071
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
48072
48072
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
48073
48073
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
48074
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
48074
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
48075
48075
|
let fetchResult;
|
|
48076
48076
|
try {
|
|
48077
48077
|
fetchResult = await documentLoader(url.href);
|
|
@@ -48246,7 +48246,7 @@ var Service = class Service extends Object$1 {
|
|
|
48246
48246
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
48247
48247
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
48248
48248
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
48249
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
48249
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
48250
48250
|
let fetchResult;
|
|
48251
48251
|
try {
|
|
48252
48252
|
fetchResult = await documentLoader(url.href);
|
|
@@ -48424,7 +48424,7 @@ var Service = class Service extends Object$1 {
|
|
|
48424
48424
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
48425
48425
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
48426
48426
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
48427
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
48427
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
48428
48428
|
let fetchResult;
|
|
48429
48429
|
try {
|
|
48430
48430
|
fetchResult = await documentLoader(url.href);
|
|
@@ -48663,7 +48663,7 @@ var Service = class Service extends Object$1 {
|
|
|
48663
48663
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
48664
48664
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
48665
48665
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
48666
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
48666
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
48667
48667
|
let fetchResult;
|
|
48668
48668
|
try {
|
|
48669
48669
|
fetchResult = await documentLoader(url.href);
|
|
@@ -49373,7 +49373,7 @@ var Service = class Service extends Object$1 {
|
|
|
49373
49373
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49374
49374
|
*/
|
|
49375
49375
|
static async fromJsonLd(json, options = {}) {
|
|
49376
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
49376
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49377
49377
|
try {
|
|
49378
49378
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
49379
49379
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50177,7 +50177,7 @@ var Source = class {
|
|
|
50177
50177
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50178
50178
|
*/
|
|
50179
50179
|
static async fromJsonLd(json, options = {}) {
|
|
50180
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
50180
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50181
50181
|
try {
|
|
50182
50182
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
50183
50183
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50366,7 +50366,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
50366
50366
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50367
50367
|
*/
|
|
50368
50368
|
static async fromJsonLd(json, options = {}) {
|
|
50369
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
50369
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50370
50370
|
try {
|
|
50371
50371
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
50372
50372
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50518,7 +50518,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
50518
50518
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50519
50519
|
*/
|
|
50520
50520
|
static async fromJsonLd(json, options = {}) {
|
|
50521
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
50521
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50522
50522
|
try {
|
|
50523
50523
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
50524
50524
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50759,7 +50759,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
50759
50759
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50760
50760
|
*/
|
|
50761
50761
|
static async fromJsonLd(json, options = {}) {
|
|
50762
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
50762
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50763
50763
|
try {
|
|
50764
50764
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
50765
50765
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50956,7 +50956,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
50956
50956
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50957
50957
|
*/
|
|
50958
50958
|
static async fromJsonLd(json, options = {}) {
|
|
50959
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
50959
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50960
50960
|
try {
|
|
50961
50961
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
50962
50962
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51122,7 +51122,7 @@ var Undo = class Undo extends Activity {
|
|
|
51122
51122
|
* @throws {TypeError} If the given `json` is invalid.
|
|
51123
51123
|
*/
|
|
51124
51124
|
static async fromJsonLd(json, options = {}) {
|
|
51125
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
51125
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
51126
51126
|
try {
|
|
51127
51127
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
51128
51128
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51336,7 +51336,7 @@ var Update = class Update extends Activity {
|
|
|
51336
51336
|
* @throws {TypeError} If the given `json` is invalid.
|
|
51337
51337
|
*/
|
|
51338
51338
|
static async fromJsonLd(json, options = {}) {
|
|
51339
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
51339
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
51340
51340
|
try {
|
|
51341
51341
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
51342
51342
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51501,7 +51501,7 @@ var Video = class Video extends Document {
|
|
|
51501
51501
|
* @throws {TypeError} If the given `json` is invalid.
|
|
51502
51502
|
*/
|
|
51503
51503
|
static async fromJsonLd(json, options = {}) {
|
|
51504
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
51504
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
51505
51505
|
try {
|
|
51506
51506
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
51507
51507
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51652,7 +51652,7 @@ var View = class View extends Activity {
|
|
|
51652
51652
|
* @throws {TypeError} If the given `json` is invalid.
|
|
51653
51653
|
*/
|
|
51654
51654
|
static async fromJsonLd(json, options = {}) {
|
|
51655
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
51655
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
51656
51656
|
try {
|
|
51657
51657
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
51658
51658
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|