@fedify/vocab 2.3.14 → 2.3.15-dev.2482
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-CdnIo4XD.mjs → actor-CwuPqbu1.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-Cyuznh-0.mjs → vocab-CDOex_0g.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.15-dev.2482+41d364a2";
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/type.ts
|
|
15
15
|
function getTypeId(object) {
|
|
@@ -739,7 +739,7 @@ var Object$1 = class Object$1 {
|
|
|
739
739
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
740
740
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
741
741
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
742
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
742
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
743
743
|
let fetchResult;
|
|
744
744
|
try {
|
|
745
745
|
fetchResult = await documentLoader(url.href);
|
|
@@ -898,7 +898,7 @@ var Object$1 = class Object$1 {
|
|
|
898
898
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
899
899
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
900
900
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
901
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
901
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
902
902
|
let fetchResult;
|
|
903
903
|
try {
|
|
904
904
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1135,7 +1135,7 @@ var Object$1 = class Object$1 {
|
|
|
1135
1135
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1136
1136
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1137
1137
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1138
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1138
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1139
1139
|
let fetchResult;
|
|
1140
1140
|
try {
|
|
1141
1141
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1344,7 +1344,7 @@ var Object$1 = class Object$1 {
|
|
|
1344
1344
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1345
1345
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1346
1346
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1347
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1347
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1348
1348
|
let fetchResult;
|
|
1349
1349
|
try {
|
|
1350
1350
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1519,7 +1519,7 @@ var Object$1 = class Object$1 {
|
|
|
1519
1519
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1520
1520
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1521
1521
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1522
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1522
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1523
1523
|
let fetchResult;
|
|
1524
1524
|
try {
|
|
1525
1525
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1662,7 +1662,7 @@ var Object$1 = class Object$1 {
|
|
|
1662
1662
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1663
1663
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1664
1664
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1665
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1665
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1666
1666
|
let fetchResult;
|
|
1667
1667
|
try {
|
|
1668
1668
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1869,7 +1869,7 @@ var Object$1 = class Object$1 {
|
|
|
1869
1869
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1870
1870
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1871
1871
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1872
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1872
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1873
1873
|
let fetchResult;
|
|
1874
1874
|
try {
|
|
1875
1875
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2076,7 +2076,7 @@ var Object$1 = class Object$1 {
|
|
|
2076
2076
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2077
2077
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2078
2078
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2079
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2079
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2080
2080
|
let fetchResult;
|
|
2081
2081
|
try {
|
|
2082
2082
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2275,7 +2275,7 @@ var Object$1 = class Object$1 {
|
|
|
2275
2275
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2276
2276
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2277
2277
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2278
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2278
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2279
2279
|
let fetchResult;
|
|
2280
2280
|
try {
|
|
2281
2281
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2474,7 +2474,7 @@ var Object$1 = class Object$1 {
|
|
|
2474
2474
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2475
2475
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2476
2476
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2477
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2477
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2478
2478
|
let fetchResult;
|
|
2479
2479
|
try {
|
|
2480
2480
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2678,7 +2678,7 @@ var Object$1 = class Object$1 {
|
|
|
2678
2678
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2679
2679
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2680
2680
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2681
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2681
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2682
2682
|
let fetchResult;
|
|
2683
2683
|
try {
|
|
2684
2684
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2811,7 +2811,7 @@ var Object$1 = class Object$1 {
|
|
|
2811
2811
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2812
2812
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2813
2813
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2814
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2814
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2815
2815
|
let fetchResult;
|
|
2816
2816
|
try {
|
|
2817
2817
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2950,7 +2950,7 @@ var Object$1 = class Object$1 {
|
|
|
2950
2950
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2951
2951
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2952
2952
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2953
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2953
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2954
2954
|
let fetchResult;
|
|
2955
2955
|
try {
|
|
2956
2956
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3089,7 +3089,7 @@ var Object$1 = class Object$1 {
|
|
|
3089
3089
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3090
3090
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3091
3091
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3092
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3092
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3093
3093
|
let fetchResult;
|
|
3094
3094
|
try {
|
|
3095
3095
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3246,7 +3246,7 @@ var Object$1 = class Object$1 {
|
|
|
3246
3246
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3247
3247
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3248
3248
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3249
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3249
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3250
3250
|
let fetchResult;
|
|
3251
3251
|
try {
|
|
3252
3252
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3411,7 +3411,7 @@ var Object$1 = class Object$1 {
|
|
|
3411
3411
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3412
3412
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3413
3413
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3414
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3414
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3415
3415
|
let fetchResult;
|
|
3416
3416
|
try {
|
|
3417
3417
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3600,7 +3600,7 @@ var Object$1 = class Object$1 {
|
|
|
3600
3600
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3601
3601
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3602
3602
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3603
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3603
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3604
3604
|
let fetchResult;
|
|
3605
3605
|
try {
|
|
3606
3606
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3789,7 +3789,7 @@ var Object$1 = class Object$1 {
|
|
|
3789
3789
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3790
3790
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3791
3791
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3792
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3792
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3793
3793
|
let fetchResult;
|
|
3794
3794
|
try {
|
|
3795
3795
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3978,7 +3978,7 @@ var Object$1 = class Object$1 {
|
|
|
3978
3978
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3979
3979
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3980
3980
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3981
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3981
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3982
3982
|
let fetchResult;
|
|
3983
3983
|
try {
|
|
3984
3984
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4204,7 +4204,7 @@ var Object$1 = class Object$1 {
|
|
|
4204
4204
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4205
4205
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4206
4206
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4207
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4207
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4208
4208
|
let fetchResult;
|
|
4209
4209
|
try {
|
|
4210
4210
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4416,7 +4416,7 @@ var Object$1 = class Object$1 {
|
|
|
4416
4416
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4417
4417
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4418
4418
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4419
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4419
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4420
4420
|
let fetchResult;
|
|
4421
4421
|
try {
|
|
4422
4422
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4549,7 +4549,7 @@ var Object$1 = class Object$1 {
|
|
|
4549
4549
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4550
4550
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4551
4551
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4552
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4552
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4553
4553
|
let fetchResult;
|
|
4554
4554
|
try {
|
|
4555
4555
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4682,7 +4682,7 @@ var Object$1 = class Object$1 {
|
|
|
4682
4682
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4683
4683
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4684
4684
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4685
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4685
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4686
4686
|
let fetchResult;
|
|
4687
4687
|
try {
|
|
4688
4688
|
fetchResult = await documentLoader(url.href);
|
|
@@ -5521,7 +5521,7 @@ var Object$1 = class Object$1 {
|
|
|
5521
5521
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5522
5522
|
*/
|
|
5523
5523
|
static async fromJsonLd(json, options = {}) {
|
|
5524
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
5524
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5525
5525
|
try {
|
|
5526
5526
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
5527
5527
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7188,7 +7188,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
7188
7188
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7189
7189
|
*/
|
|
7190
7190
|
static async fromJsonLd(json, options = {}) {
|
|
7191
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
7191
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7192
7192
|
try {
|
|
7193
7193
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
7194
7194
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7326,7 +7326,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7326
7326
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7327
7327
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7328
7328
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7329
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
7329
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7330
7330
|
let fetchResult;
|
|
7331
7331
|
try {
|
|
7332
7332
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7476,7 +7476,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7476
7476
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7477
7477
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7478
7478
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7479
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
7479
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7480
7480
|
let fetchResult;
|
|
7481
7481
|
try {
|
|
7482
7482
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7772,7 +7772,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7772
7772
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7773
7773
|
*/
|
|
7774
7774
|
static async fromJsonLd(json, options = {}) {
|
|
7775
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
7775
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7776
7776
|
try {
|
|
7777
7777
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
7778
7778
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8115,7 +8115,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8115
8115
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8116
8116
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8117
8117
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8118
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8118
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8119
8119
|
let fetchResult;
|
|
8120
8120
|
try {
|
|
8121
8121
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8352,7 +8352,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8352
8352
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8353
8353
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8354
8354
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8355
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8355
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8356
8356
|
let fetchResult;
|
|
8357
8357
|
try {
|
|
8358
8358
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8543,7 +8543,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8543
8543
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8544
8544
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8545
8545
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8546
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8546
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8547
8547
|
let fetchResult;
|
|
8548
8548
|
try {
|
|
8549
8549
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8740,7 +8740,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8740
8740
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8741
8741
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8742
8742
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8743
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8743
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8744
8744
|
let fetchResult;
|
|
8745
8745
|
try {
|
|
8746
8746
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8931,7 +8931,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8931
8931
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8932
8932
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8933
8933
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8934
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8934
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8935
8935
|
let fetchResult;
|
|
8936
8936
|
try {
|
|
8937
8937
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9124,7 +9124,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
9124
9124
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9125
9125
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9126
9126
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9127
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
9127
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9128
9128
|
let fetchResult;
|
|
9129
9129
|
try {
|
|
9130
9130
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9400,7 +9400,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
9400
9400
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9401
9401
|
*/
|
|
9402
9402
|
static async fromJsonLd(json, options = {}) {
|
|
9403
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
9403
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9404
9404
|
try {
|
|
9405
9405
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
9406
9406
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9767,7 +9767,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
9767
9767
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9768
9768
|
*/
|
|
9769
9769
|
static async fromJsonLd(json, options = {}) {
|
|
9770
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
9770
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9771
9771
|
try {
|
|
9772
9772
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
9773
9773
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10035,7 +10035,7 @@ var PropertyValue = class {
|
|
|
10035
10035
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10036
10036
|
*/
|
|
10037
10037
|
static async fromJsonLd(json, options = {}) {
|
|
10038
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
10038
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10039
10039
|
try {
|
|
10040
10040
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
10041
10041
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10330,7 +10330,7 @@ var Measure = class {
|
|
|
10330
10330
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10331
10331
|
*/
|
|
10332
10332
|
static async fromJsonLd(json, options = {}) {
|
|
10333
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
10333
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10334
10334
|
try {
|
|
10335
10335
|
const object = await this.__fromJsonLd__Measure__(json, span, options);
|
|
10336
10336
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10502,7 +10502,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10502
10502
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10503
10503
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10504
10504
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10505
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
10505
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10506
10506
|
let fetchResult;
|
|
10507
10507
|
try {
|
|
10508
10508
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10635,7 +10635,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10635
10635
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10636
10636
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10637
10637
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10638
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
10638
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10639
10639
|
let fetchResult;
|
|
10640
10640
|
try {
|
|
10641
10641
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10863,7 +10863,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10863
10863
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10864
10864
|
*/
|
|
10865
10865
|
static async fromJsonLd(json, options = {}) {
|
|
10866
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
10866
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10867
10867
|
try {
|
|
10868
10868
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
10869
10869
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11078,7 +11078,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
11078
11078
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11079
11079
|
*/
|
|
11080
11080
|
static async fromJsonLd(json, options = {}) {
|
|
11081
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
11081
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11082
11082
|
try {
|
|
11083
11083
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
11084
11084
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11364,7 +11364,7 @@ var InteractionPolicy = class {
|
|
|
11364
11364
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11365
11365
|
*/
|
|
11366
11366
|
static async fromJsonLd(json, options = {}) {
|
|
11367
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
11367
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11368
11368
|
try {
|
|
11369
11369
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
11370
11370
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11727,7 +11727,7 @@ var InteractionRule = class {
|
|
|
11727
11727
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11728
11728
|
*/
|
|
11729
11729
|
static async fromJsonLd(json, options = {}) {
|
|
11730
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
11730
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11731
11731
|
try {
|
|
11732
11732
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
11733
11733
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11900,7 +11900,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11900
11900
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11901
11901
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11902
11902
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11903
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
11903
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11904
11904
|
let fetchResult;
|
|
11905
11905
|
try {
|
|
11906
11906
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12033,7 +12033,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
12033
12033
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12034
12034
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12035
12035
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12036
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
12036
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12037
12037
|
let fetchResult;
|
|
12038
12038
|
try {
|
|
12039
12039
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12261,7 +12261,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
12261
12261
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12262
12262
|
*/
|
|
12263
12263
|
static async fromJsonLd(json, options = {}) {
|
|
12264
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
12264
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12265
12265
|
try {
|
|
12266
12266
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
12267
12267
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12475,7 +12475,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
12475
12475
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12476
12476
|
*/
|
|
12477
12477
|
static async fromJsonLd(json, options = {}) {
|
|
12478
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
12478
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12479
12479
|
try {
|
|
12480
12480
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
12481
12481
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12610,7 +12610,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12610
12610
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12611
12611
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12612
12612
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12613
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
12613
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12614
12614
|
let fetchResult;
|
|
12615
12615
|
try {
|
|
12616
12616
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12743,7 +12743,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12743
12743
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12744
12744
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12745
12745
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12746
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
12746
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12747
12747
|
let fetchResult;
|
|
12748
12748
|
try {
|
|
12749
12749
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12971,7 +12971,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12971
12971
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12972
12972
|
*/
|
|
12973
12973
|
static async fromJsonLd(json, options = {}) {
|
|
12974
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
12974
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12975
12975
|
try {
|
|
12976
12976
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
12977
12977
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13185,7 +13185,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
13185
13185
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13186
13186
|
*/
|
|
13187
13187
|
static async fromJsonLd(json, options = {}) {
|
|
13188
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
13188
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13189
13189
|
try {
|
|
13190
13190
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
13191
13191
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13320,7 +13320,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
13320
13320
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13321
13321
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13322
13322
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13323
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
13323
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13324
13324
|
let fetchResult;
|
|
13325
13325
|
try {
|
|
13326
13326
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13452,7 +13452,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
13452
13452
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13453
13453
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13454
13454
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13455
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
13455
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13456
13456
|
let fetchResult;
|
|
13457
13457
|
try {
|
|
13458
13458
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13682,7 +13682,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
13682
13682
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13683
13683
|
*/
|
|
13684
13684
|
static async fromJsonLd(json, options = {}) {
|
|
13685
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
13685
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13686
13686
|
try {
|
|
13687
13687
|
const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
|
|
13688
13688
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13926,7 +13926,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
|
|
|
13926
13926
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13927
13927
|
*/
|
|
13928
13928
|
static async fromJsonLd(json, options = {}) {
|
|
13929
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
13929
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13930
13930
|
try {
|
|
13931
13931
|
const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
|
|
13932
13932
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14154,7 +14154,7 @@ var DidService = class {
|
|
|
14154
14154
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14155
14155
|
*/
|
|
14156
14156
|
static async fromJsonLd(json, options = {}) {
|
|
14157
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
14157
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14158
14158
|
try {
|
|
14159
14159
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
14160
14160
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14318,7 +14318,7 @@ var Export = class Export extends DidService {
|
|
|
14318
14318
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14319
14319
|
*/
|
|
14320
14320
|
static async fromJsonLd(json, options = {}) {
|
|
14321
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
14321
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14322
14322
|
try {
|
|
14323
14323
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
14324
14324
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14513,7 +14513,7 @@ var DataIntegrityProof = class {
|
|
|
14513
14513
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14514
14514
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14515
14515
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14516
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
14516
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14517
14517
|
let fetchResult;
|
|
14518
14518
|
try {
|
|
14519
14519
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14732,7 +14732,7 @@ var DataIntegrityProof = class {
|
|
|
14732
14732
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14733
14733
|
*/
|
|
14734
14734
|
static async fromJsonLd(json, options = {}) {
|
|
14735
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
14735
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14736
14736
|
try {
|
|
14737
14737
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
14738
14738
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14999,7 +14999,7 @@ var CryptographicKey = class {
|
|
|
14999
14999
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15000
15000
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15001
15001
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15002
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
15002
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15003
15003
|
let fetchResult;
|
|
15004
15004
|
try {
|
|
15005
15005
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15273,7 +15273,7 @@ var CryptographicKey = class {
|
|
|
15273
15273
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15274
15274
|
*/
|
|
15275
15275
|
static async fromJsonLd(json, options = {}) {
|
|
15276
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
15276
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15277
15277
|
try {
|
|
15278
15278
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
15279
15279
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15501,7 +15501,7 @@ var Multikey = class {
|
|
|
15501
15501
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15502
15502
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15503
15503
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15504
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
15504
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15505
15505
|
let fetchResult;
|
|
15506
15506
|
try {
|
|
15507
15507
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15781,7 +15781,7 @@ var Multikey = class {
|
|
|
15781
15781
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15782
15782
|
*/
|
|
15783
15783
|
static async fromJsonLd(json, options = {}) {
|
|
15784
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
15784
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15785
15785
|
try {
|
|
15786
15786
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
15787
15787
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16120,7 +16120,7 @@ var Agreement = class Agreement extends Object$1 {
|
|
|
16120
16120
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16121
16121
|
*/
|
|
16122
16122
|
static async fromJsonLd(json, options = {}) {
|
|
16123
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
16123
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16124
16124
|
try {
|
|
16125
16125
|
const object = await this.__fromJsonLd__Agreement__(json, span, options);
|
|
16126
16126
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16444,7 +16444,7 @@ var Commitment = class {
|
|
|
16444
16444
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16445
16445
|
*/
|
|
16446
16446
|
static async fromJsonLd(json, options = {}) {
|
|
16447
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
16447
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16448
16448
|
try {
|
|
16449
16449
|
const object = await this.__fromJsonLd__Commitment__(json, span, options);
|
|
16450
16450
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16846,7 +16846,7 @@ var Intent = class {
|
|
|
16846
16846
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16847
16847
|
*/
|
|
16848
16848
|
static async fromJsonLd(json, options = {}) {
|
|
16849
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
16849
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16850
16850
|
try {
|
|
16851
16851
|
const object = await this.__fromJsonLd__Intent__(json, span, options);
|
|
16852
16852
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17287,7 +17287,7 @@ var Proposal = class Proposal extends Object$1 {
|
|
|
17287
17287
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17288
17288
|
*/
|
|
17289
17289
|
static async fromJsonLd(json, options = {}) {
|
|
17290
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
17290
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17291
17291
|
try {
|
|
17292
17292
|
const object = await this.__fromJsonLd__Proposal__(json, span, options);
|
|
17293
17293
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17520,7 +17520,7 @@ var Accept = class Accept extends Activity {
|
|
|
17520
17520
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17521
17521
|
*/
|
|
17522
17522
|
static async fromJsonLd(json, options = {}) {
|
|
17523
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
17523
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17524
17524
|
try {
|
|
17525
17525
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
17526
17526
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17676,7 +17676,7 @@ var Add = class Add extends Activity {
|
|
|
17676
17676
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17677
17677
|
*/
|
|
17678
17678
|
static async fromJsonLd(json, options = {}) {
|
|
17679
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
17679
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17680
17680
|
try {
|
|
17681
17681
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
17682
17682
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17859,7 +17859,7 @@ var Announce = class Announce extends Activity {
|
|
|
17859
17859
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17860
17860
|
*/
|
|
17861
17861
|
static async fromJsonLd(json, options = {}) {
|
|
17862
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
17862
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17863
17863
|
try {
|
|
17864
17864
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
17865
17865
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18258,7 +18258,7 @@ var Application = class Application extends Object$1 {
|
|
|
18258
18258
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18259
18259
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18260
18260
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18261
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18261
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18262
18262
|
let fetchResult;
|
|
18263
18263
|
try {
|
|
18264
18264
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18445,7 +18445,7 @@ var Application = class Application extends Object$1 {
|
|
|
18445
18445
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18446
18446
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18447
18447
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18448
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18448
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18449
18449
|
let fetchResult;
|
|
18450
18450
|
try {
|
|
18451
18451
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18650,7 +18650,7 @@ var Application = class Application extends Object$1 {
|
|
|
18650
18650
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18651
18651
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18652
18652
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18653
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18653
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18654
18654
|
let fetchResult;
|
|
18655
18655
|
try {
|
|
18656
18656
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18804,7 +18804,7 @@ var Application = class Application extends Object$1 {
|
|
|
18804
18804
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18805
18805
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18806
18806
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18807
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18807
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18808
18808
|
let fetchResult;
|
|
18809
18809
|
try {
|
|
18810
18810
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18955,7 +18955,7 @@ var Application = class Application extends Object$1 {
|
|
|
18955
18955
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18956
18956
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18957
18957
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18958
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18958
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18959
18959
|
let fetchResult;
|
|
18960
18960
|
try {
|
|
18961
18961
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19091,7 +19091,7 @@ var Application = class Application extends Object$1 {
|
|
|
19091
19091
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19092
19092
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19093
19093
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19094
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19094
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19095
19095
|
let fetchResult;
|
|
19096
19096
|
try {
|
|
19097
19097
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19230,7 +19230,7 @@ var Application = class Application extends Object$1 {
|
|
|
19230
19230
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19231
19231
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19232
19232
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19233
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19233
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19234
19234
|
let fetchResult;
|
|
19235
19235
|
try {
|
|
19236
19236
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19367,7 +19367,7 @@ var Application = class Application extends Object$1 {
|
|
|
19367
19367
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19368
19368
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19369
19369
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19370
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19370
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19371
19371
|
let fetchResult;
|
|
19372
19372
|
try {
|
|
19373
19373
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19502,7 +19502,7 @@ var Application = class Application extends Object$1 {
|
|
|
19502
19502
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19503
19503
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19504
19504
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19505
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19505
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19506
19506
|
let fetchResult;
|
|
19507
19507
|
try {
|
|
19508
19508
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19637,7 +19637,7 @@ var Application = class Application extends Object$1 {
|
|
|
19637
19637
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19638
19638
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19639
19639
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19640
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19640
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19641
19641
|
let fetchResult;
|
|
19642
19642
|
try {
|
|
19643
19643
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19812,7 +19812,7 @@ var Application = class Application extends Object$1 {
|
|
|
19812
19812
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19813
19813
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19814
19814
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19815
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19815
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19816
19816
|
let fetchResult;
|
|
19817
19817
|
try {
|
|
19818
19818
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19990,7 +19990,7 @@ var Application = class Application extends Object$1 {
|
|
|
19990
19990
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19991
19991
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19992
19992
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19993
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19993
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19994
19994
|
let fetchResult;
|
|
19995
19995
|
try {
|
|
19996
19996
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20229,7 +20229,7 @@ var Application = class Application extends Object$1 {
|
|
|
20229
20229
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20230
20230
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20231
20231
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20232
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
20232
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20233
20233
|
let fetchResult;
|
|
20234
20234
|
try {
|
|
20235
20235
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20939,7 +20939,7 @@ var Application = class Application extends Object$1 {
|
|
|
20939
20939
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20940
20940
|
*/
|
|
20941
20941
|
static async fromJsonLd(json, options = {}) {
|
|
20942
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
20942
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20943
20943
|
try {
|
|
20944
20944
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
20945
20945
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21632,7 +21632,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
21632
21632
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21633
21633
|
*/
|
|
21634
21634
|
static async fromJsonLd(json, options = {}) {
|
|
21635
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
21635
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21636
21636
|
try {
|
|
21637
21637
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
21638
21638
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21789,7 +21789,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
21789
21789
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21790
21790
|
*/
|
|
21791
21791
|
static async fromJsonLd(json, options = {}) {
|
|
21792
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
21792
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21793
21793
|
try {
|
|
21794
21794
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
21795
21795
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21923,7 +21923,7 @@ var Article = class Article extends Object$1 {
|
|
|
21923
21923
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21924
21924
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21925
21925
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21926
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
21926
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21927
21927
|
let fetchResult;
|
|
21928
21928
|
try {
|
|
21929
21929
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22073,7 +22073,7 @@ var Article = class Article extends Object$1 {
|
|
|
22073
22073
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22074
22074
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22075
22075
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22076
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
22076
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22077
22077
|
let fetchResult;
|
|
22078
22078
|
try {
|
|
22079
22079
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22371,7 +22371,7 @@ var Article = class Article extends Object$1 {
|
|
|
22371
22371
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22372
22372
|
*/
|
|
22373
22373
|
static async fromJsonLd(json, options = {}) {
|
|
22374
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
22374
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22375
22375
|
try {
|
|
22376
22376
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
22377
22377
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22670,7 +22670,7 @@ var Document = class Document extends Object$1 {
|
|
|
22670
22670
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22671
22671
|
*/
|
|
22672
22672
|
static async fromJsonLd(json, options = {}) {
|
|
22673
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
22673
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22674
22674
|
try {
|
|
22675
22675
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
22676
22676
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22877,7 +22877,7 @@ var Audio = class Audio extends Document {
|
|
|
22877
22877
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22878
22878
|
*/
|
|
22879
22879
|
static async fromJsonLd(json, options = {}) {
|
|
22880
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
22880
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22881
22881
|
try {
|
|
22882
22882
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
22883
22883
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23030,7 +23030,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
23030
23030
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23031
23031
|
*/
|
|
23032
23032
|
static async fromJsonLd(json, options = {}) {
|
|
23033
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
23033
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23034
23034
|
try {
|
|
23035
23035
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
23036
23036
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23186,7 +23186,7 @@ var Block = class Block extends Ignore {
|
|
|
23186
23186
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23187
23187
|
*/
|
|
23188
23188
|
static async fromJsonLd(json, options = {}) {
|
|
23189
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
23189
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23190
23190
|
try {
|
|
23191
23191
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
23192
23192
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23454,7 +23454,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23454
23454
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23455
23455
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23456
23456
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23457
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23457
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23458
23458
|
let fetchResult;
|
|
23459
23459
|
try {
|
|
23460
23460
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23587,7 +23587,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23587
23587
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23588
23588
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23589
23589
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23590
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23590
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23591
23591
|
let fetchResult;
|
|
23592
23592
|
try {
|
|
23593
23593
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23720,7 +23720,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23720
23720
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23721
23721
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23722
23722
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23723
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23723
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23724
23724
|
let fetchResult;
|
|
23725
23725
|
try {
|
|
23726
23726
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23853,7 +23853,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23853
23853
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23854
23854
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23855
23855
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23856
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23856
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23857
23857
|
let fetchResult;
|
|
23858
23858
|
try {
|
|
23859
23859
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23997,7 +23997,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23997
23997
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23998
23998
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23999
23999
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24000
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24000
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24001
24001
|
let fetchResult;
|
|
24002
24002
|
try {
|
|
24003
24003
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24129,7 +24129,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24129
24129
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24130
24130
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24131
24131
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24132
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24132
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24133
24133
|
let fetchResult;
|
|
24134
24134
|
try {
|
|
24135
24135
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24261,7 +24261,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24261
24261
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24262
24262
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24263
24263
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24264
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24264
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24265
24265
|
let fetchResult;
|
|
24266
24266
|
try {
|
|
24267
24267
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24393,7 +24393,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24393
24393
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24394
24394
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24395
24395
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24396
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24396
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24397
24397
|
let fetchResult;
|
|
24398
24398
|
try {
|
|
24399
24399
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24525,7 +24525,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24525
24525
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24526
24526
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24527
24527
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24528
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24528
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24529
24529
|
let fetchResult;
|
|
24530
24530
|
try {
|
|
24531
24531
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24657,7 +24657,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24657
24657
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24658
24658
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24659
24659
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24660
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24660
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24661
24661
|
let fetchResult;
|
|
24662
24662
|
try {
|
|
24663
24663
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24789,7 +24789,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24789
24789
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24790
24790
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24791
24791
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24792
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24792
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24793
24793
|
let fetchResult;
|
|
24794
24794
|
try {
|
|
24795
24795
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24921,7 +24921,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24921
24921
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24922
24922
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24923
24923
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24924
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24924
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24925
24925
|
let fetchResult;
|
|
24926
24926
|
try {
|
|
24927
24927
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25382,7 +25382,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
25382
25382
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25383
25383
|
*/
|
|
25384
25384
|
static async fromJsonLd(json, options = {}) {
|
|
25385
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
25385
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25386
25386
|
try {
|
|
25387
25387
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
25388
25388
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25931,7 +25931,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
25931
25931
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25932
25932
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25933
25933
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25934
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
25934
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25935
25935
|
let fetchResult;
|
|
25936
25936
|
try {
|
|
25937
25937
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26064,7 +26064,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
26064
26064
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26065
26065
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26066
26066
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26067
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
26067
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26068
26068
|
let fetchResult;
|
|
26069
26069
|
try {
|
|
26070
26070
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26196,7 +26196,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
26196
26196
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26197
26197
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26198
26198
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26199
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
26199
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26200
26200
|
let fetchResult;
|
|
26201
26201
|
try {
|
|
26202
26202
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26494,7 +26494,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
26494
26494
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26495
26495
|
*/
|
|
26496
26496
|
static async fromJsonLd(json, options = {}) {
|
|
26497
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
26497
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26498
26498
|
try {
|
|
26499
26499
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
26500
26500
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26756,7 +26756,7 @@ var Create = class Create extends Activity {
|
|
|
26756
26756
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26757
26757
|
*/
|
|
26758
26758
|
static async fromJsonLd(json, options = {}) {
|
|
26759
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
26759
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26760
26760
|
try {
|
|
26761
26761
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
26762
26762
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26935,7 +26935,7 @@ var Delete = class Delete extends Activity {
|
|
|
26935
26935
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26936
26936
|
*/
|
|
26937
26937
|
static async fromJsonLd(json, options = {}) {
|
|
26938
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
26938
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26939
26939
|
try {
|
|
26940
26940
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
26941
26941
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27091,7 +27091,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
27091
27091
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27092
27092
|
*/
|
|
27093
27093
|
static async fromJsonLd(json, options = {}) {
|
|
27094
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
27094
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27095
27095
|
try {
|
|
27096
27096
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
27097
27097
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27458,7 +27458,7 @@ var Endpoints = class {
|
|
|
27458
27458
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27459
27459
|
*/
|
|
27460
27460
|
static async fromJsonLd(json, options = {}) {
|
|
27461
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
27461
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27462
27462
|
try {
|
|
27463
27463
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
27464
27464
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27732,7 +27732,7 @@ var Event = class Event extends Object$1 {
|
|
|
27732
27732
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27733
27733
|
*/
|
|
27734
27734
|
static async fromJsonLd(json, options = {}) {
|
|
27735
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
27735
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27736
27736
|
try {
|
|
27737
27737
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
27738
27738
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27886,7 +27886,7 @@ var Flag = class Flag extends Activity {
|
|
|
27886
27886
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27887
27887
|
*/
|
|
27888
27888
|
static async fromJsonLd(json, options = {}) {
|
|
27889
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
27889
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27890
27890
|
try {
|
|
27891
27891
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
27892
27892
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28044,7 +28044,7 @@ var Follow = class Follow extends Activity {
|
|
|
28044
28044
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28045
28045
|
*/
|
|
28046
28046
|
static async fromJsonLd(json, options = {}) {
|
|
28047
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
28047
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28048
28048
|
try {
|
|
28049
28049
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
28050
28050
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28443,7 +28443,7 @@ var Group = class Group extends Object$1 {
|
|
|
28443
28443
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28444
28444
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28445
28445
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28446
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28446
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28447
28447
|
let fetchResult;
|
|
28448
28448
|
try {
|
|
28449
28449
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28630,7 +28630,7 @@ var Group = class Group extends Object$1 {
|
|
|
28630
28630
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28631
28631
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28632
28632
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28633
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28633
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28634
28634
|
let fetchResult;
|
|
28635
28635
|
try {
|
|
28636
28636
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28835,7 +28835,7 @@ var Group = class Group extends Object$1 {
|
|
|
28835
28835
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28836
28836
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28837
28837
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28838
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28838
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28839
28839
|
let fetchResult;
|
|
28840
28840
|
try {
|
|
28841
28841
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28989,7 +28989,7 @@ var Group = class Group extends Object$1 {
|
|
|
28989
28989
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28990
28990
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28991
28991
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28992
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28992
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28993
28993
|
let fetchResult;
|
|
28994
28994
|
try {
|
|
28995
28995
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29140,7 +29140,7 @@ var Group = class Group extends Object$1 {
|
|
|
29140
29140
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29141
29141
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29142
29142
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29143
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29143
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29144
29144
|
let fetchResult;
|
|
29145
29145
|
try {
|
|
29146
29146
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29276,7 +29276,7 @@ var Group = class Group extends Object$1 {
|
|
|
29276
29276
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29277
29277
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29278
29278
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29279
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29279
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29280
29280
|
let fetchResult;
|
|
29281
29281
|
try {
|
|
29282
29282
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29415,7 +29415,7 @@ var Group = class Group extends Object$1 {
|
|
|
29415
29415
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29416
29416
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29417
29417
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29418
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29418
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29419
29419
|
let fetchResult;
|
|
29420
29420
|
try {
|
|
29421
29421
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29552,7 +29552,7 @@ var Group = class Group extends Object$1 {
|
|
|
29552
29552
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29553
29553
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29554
29554
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29555
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29555
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29556
29556
|
let fetchResult;
|
|
29557
29557
|
try {
|
|
29558
29558
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29687,7 +29687,7 @@ var Group = class Group extends Object$1 {
|
|
|
29687
29687
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29688
29688
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29689
29689
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29690
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29690
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29691
29691
|
let fetchResult;
|
|
29692
29692
|
try {
|
|
29693
29693
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29822,7 +29822,7 @@ var Group = class Group extends Object$1 {
|
|
|
29822
29822
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29823
29823
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29824
29824
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29825
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29825
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29826
29826
|
let fetchResult;
|
|
29827
29827
|
try {
|
|
29828
29828
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29997,7 +29997,7 @@ var Group = class Group extends Object$1 {
|
|
|
29997
29997
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29998
29998
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29999
29999
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30000
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
30000
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30001
30001
|
let fetchResult;
|
|
30002
30002
|
try {
|
|
30003
30003
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30175,7 +30175,7 @@ var Group = class Group extends Object$1 {
|
|
|
30175
30175
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30176
30176
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30177
30177
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30178
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
30178
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30179
30179
|
let fetchResult;
|
|
30180
30180
|
try {
|
|
30181
30181
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30414,7 +30414,7 @@ var Group = class Group extends Object$1 {
|
|
|
30414
30414
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30415
30415
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30416
30416
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30417
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
30417
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30418
30418
|
let fetchResult;
|
|
30419
30419
|
try {
|
|
30420
30420
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31124,7 +31124,7 @@ var Group = class Group extends Object$1 {
|
|
|
31124
31124
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31125
31125
|
*/
|
|
31126
31126
|
static async fromJsonLd(json, options = {}) {
|
|
31127
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
31127
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31128
31128
|
try {
|
|
31129
31129
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
31130
31130
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31973,7 +31973,7 @@ var Link = class Link {
|
|
|
31973
31973
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31974
31974
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31975
31975
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31976
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
31976
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31977
31977
|
let fetchResult;
|
|
31978
31978
|
try {
|
|
31979
31979
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32278,7 +32278,7 @@ var Link = class Link {
|
|
|
32278
32278
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32279
32279
|
*/
|
|
32280
32280
|
static async fromJsonLd(json, options = {}) {
|
|
32281
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32281
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32282
32282
|
try {
|
|
32283
32283
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
32284
32284
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32664,7 +32664,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
32664
32664
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32665
32665
|
*/
|
|
32666
32666
|
static async fromJsonLd(json, options = {}) {
|
|
32667
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32667
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32668
32668
|
try {
|
|
32669
32669
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
32670
32670
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32830,7 +32830,7 @@ var Image = class Image extends Document {
|
|
|
32830
32830
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32831
32831
|
*/
|
|
32832
32832
|
static async fromJsonLd(json, options = {}) {
|
|
32833
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32833
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32834
32834
|
try {
|
|
32835
32835
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
32836
32836
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32984,7 +32984,7 @@ var Offer = class Offer extends Activity {
|
|
|
32984
32984
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32985
32985
|
*/
|
|
32986
32986
|
static async fromJsonLd(json, options = {}) {
|
|
32987
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32987
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32988
32988
|
try {
|
|
32989
32989
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
32990
32990
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33138,7 +33138,7 @@ var Invite = class Invite extends Offer {
|
|
|
33138
33138
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33139
33139
|
*/
|
|
33140
33140
|
static async fromJsonLd(json, options = {}) {
|
|
33141
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33141
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33142
33142
|
try {
|
|
33143
33143
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
33144
33144
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33291,7 +33291,7 @@ var Join = class Join extends Activity {
|
|
|
33291
33291
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33292
33292
|
*/
|
|
33293
33293
|
static async fromJsonLd(json, options = {}) {
|
|
33294
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33294
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33295
33295
|
try {
|
|
33296
33296
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
33297
33297
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33444,7 +33444,7 @@ var Leave = class Leave extends Activity {
|
|
|
33444
33444
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33445
33445
|
*/
|
|
33446
33446
|
static async fromJsonLd(json, options = {}) {
|
|
33447
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33447
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33448
33448
|
try {
|
|
33449
33449
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
33450
33450
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33601,7 +33601,7 @@ var Like = class Like extends Activity {
|
|
|
33601
33601
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33602
33602
|
*/
|
|
33603
33603
|
static async fromJsonLd(json, options = {}) {
|
|
33604
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33604
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33605
33605
|
try {
|
|
33606
33606
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
33607
33607
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33753,7 +33753,7 @@ var Listen = class Listen extends Activity {
|
|
|
33753
33753
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33754
33754
|
*/
|
|
33755
33755
|
static async fromJsonLd(json, options = {}) {
|
|
33756
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33756
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33757
33757
|
try {
|
|
33758
33758
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
33759
33759
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33908,7 +33908,7 @@ var Mention = class Mention extends Link {
|
|
|
33908
33908
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33909
33909
|
*/
|
|
33910
33910
|
static async fromJsonLd(json, options = {}) {
|
|
33911
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33911
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33912
33912
|
try {
|
|
33913
33913
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
33914
33914
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34062,7 +34062,7 @@ var Move = class Move extends Activity {
|
|
|
34062
34062
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34063
34063
|
*/
|
|
34064
34064
|
static async fromJsonLd(json, options = {}) {
|
|
34065
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
34065
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34066
34066
|
try {
|
|
34067
34067
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
34068
34068
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34197,7 +34197,7 @@ var Note = class Note extends Object$1 {
|
|
|
34197
34197
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34198
34198
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34199
34199
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34200
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
34200
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34201
34201
|
let fetchResult;
|
|
34202
34202
|
try {
|
|
34203
34203
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34347,7 +34347,7 @@ var Note = class Note extends Object$1 {
|
|
|
34347
34347
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34348
34348
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34349
34349
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34350
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
34350
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34351
34351
|
let fetchResult;
|
|
34352
34352
|
try {
|
|
34353
34353
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34645,7 +34645,7 @@ var Note = class Note extends Object$1 {
|
|
|
34645
34645
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34646
34646
|
*/
|
|
34647
34647
|
static async fromJsonLd(json, options = {}) {
|
|
34648
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
34648
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34649
34649
|
try {
|
|
34650
34650
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
34651
34651
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34836,7 +34836,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
34836
34836
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34837
34837
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34838
34838
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34839
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
34839
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34840
34840
|
let fetchResult;
|
|
34841
34841
|
try {
|
|
34842
34842
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35119,7 +35119,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
35119
35119
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35120
35120
|
*/
|
|
35121
35121
|
static async fromJsonLd(json, options = {}) {
|
|
35122
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
35122
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35123
35123
|
try {
|
|
35124
35124
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
35125
35125
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35344,7 +35344,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
35344
35344
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35345
35345
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35346
35346
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35347
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
35347
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35348
35348
|
let fetchResult;
|
|
35349
35349
|
try {
|
|
35350
35350
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35650,7 +35650,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
35650
35650
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35651
35651
|
*/
|
|
35652
35652
|
static async fromJsonLd(json, options = {}) {
|
|
35653
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
35653
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35654
35654
|
try {
|
|
35655
35655
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
35656
35656
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36167,7 +36167,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36167
36167
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36168
36168
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36169
36169
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36170
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36170
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36171
36171
|
let fetchResult;
|
|
36172
36172
|
try {
|
|
36173
36173
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36354,7 +36354,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36354
36354
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36355
36355
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36356
36356
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36357
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36357
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36358
36358
|
let fetchResult;
|
|
36359
36359
|
try {
|
|
36360
36360
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36559,7 +36559,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36559
36559
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36560
36560
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36561
36561
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36562
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36562
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36563
36563
|
let fetchResult;
|
|
36564
36564
|
try {
|
|
36565
36565
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36713,7 +36713,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36713
36713
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36714
36714
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36715
36715
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36716
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36716
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36717
36717
|
let fetchResult;
|
|
36718
36718
|
try {
|
|
36719
36719
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36864,7 +36864,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36864
36864
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36865
36865
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36866
36866
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36867
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36867
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36868
36868
|
let fetchResult;
|
|
36869
36869
|
try {
|
|
36870
36870
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37000,7 +37000,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37000
37000
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37001
37001
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37002
37002
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37003
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37003
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37004
37004
|
let fetchResult;
|
|
37005
37005
|
try {
|
|
37006
37006
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37139,7 +37139,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37139
37139
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37140
37140
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37141
37141
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37142
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37142
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37143
37143
|
let fetchResult;
|
|
37144
37144
|
try {
|
|
37145
37145
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37276,7 +37276,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37276
37276
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37277
37277
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37278
37278
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37279
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37279
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37280
37280
|
let fetchResult;
|
|
37281
37281
|
try {
|
|
37282
37282
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37411,7 +37411,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37411
37411
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37412
37412
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37413
37413
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37414
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37414
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37415
37415
|
let fetchResult;
|
|
37416
37416
|
try {
|
|
37417
37417
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37546,7 +37546,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37546
37546
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37547
37547
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37548
37548
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37549
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37549
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37550
37550
|
let fetchResult;
|
|
37551
37551
|
try {
|
|
37552
37552
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37721,7 +37721,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37721
37721
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37722
37722
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37723
37723
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37724
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37724
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37725
37725
|
let fetchResult;
|
|
37726
37726
|
try {
|
|
37727
37727
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37899,7 +37899,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37899
37899
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37900
37900
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37901
37901
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37902
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37902
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37903
37903
|
let fetchResult;
|
|
37904
37904
|
try {
|
|
37905
37905
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38138,7 +38138,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
38138
38138
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38139
38139
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38140
38140
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38141
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
38141
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38142
38142
|
let fetchResult;
|
|
38143
38143
|
try {
|
|
38144
38144
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38848,7 +38848,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
38848
38848
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38849
38849
|
*/
|
|
38850
38850
|
static async fromJsonLd(json, options = {}) {
|
|
38851
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
38851
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38852
38852
|
try {
|
|
38853
38853
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
38854
38854
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39553,7 +39553,7 @@ var Page = class Page extends Document {
|
|
|
39553
39553
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39554
39554
|
*/
|
|
39555
39555
|
static async fromJsonLd(json, options = {}) {
|
|
39556
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
39556
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39557
39557
|
try {
|
|
39558
39558
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
39559
39559
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39952,7 +39952,7 @@ var Person = class Person extends Object$1 {
|
|
|
39952
39952
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39953
39953
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39954
39954
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39955
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
39955
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39956
39956
|
let fetchResult;
|
|
39957
39957
|
try {
|
|
39958
39958
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40139,7 +40139,7 @@ var Person = class Person extends Object$1 {
|
|
|
40139
40139
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40140
40140
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40141
40141
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40142
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40142
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40143
40143
|
let fetchResult;
|
|
40144
40144
|
try {
|
|
40145
40145
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40344,7 +40344,7 @@ var Person = class Person extends Object$1 {
|
|
|
40344
40344
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40345
40345
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40346
40346
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40347
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40347
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40348
40348
|
let fetchResult;
|
|
40349
40349
|
try {
|
|
40350
40350
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40498,7 +40498,7 @@ var Person = class Person extends Object$1 {
|
|
|
40498
40498
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40499
40499
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40500
40500
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40501
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40501
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40502
40502
|
let fetchResult;
|
|
40503
40503
|
try {
|
|
40504
40504
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40649,7 +40649,7 @@ var Person = class Person extends Object$1 {
|
|
|
40649
40649
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40650
40650
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40651
40651
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40652
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40652
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40653
40653
|
let fetchResult;
|
|
40654
40654
|
try {
|
|
40655
40655
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40785,7 +40785,7 @@ var Person = class Person extends Object$1 {
|
|
|
40785
40785
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40786
40786
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40787
40787
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40788
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40788
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40789
40789
|
let fetchResult;
|
|
40790
40790
|
try {
|
|
40791
40791
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40924,7 +40924,7 @@ var Person = class Person extends Object$1 {
|
|
|
40924
40924
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40925
40925
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40926
40926
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40927
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40927
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40928
40928
|
let fetchResult;
|
|
40929
40929
|
try {
|
|
40930
40930
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41061,7 +41061,7 @@ var Person = class Person extends Object$1 {
|
|
|
41061
41061
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41062
41062
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41063
41063
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41064
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41064
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41065
41065
|
let fetchResult;
|
|
41066
41066
|
try {
|
|
41067
41067
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41196,7 +41196,7 @@ var Person = class Person extends Object$1 {
|
|
|
41196
41196
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41197
41197
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41198
41198
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41199
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41199
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41200
41200
|
let fetchResult;
|
|
41201
41201
|
try {
|
|
41202
41202
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41331,7 +41331,7 @@ var Person = class Person extends Object$1 {
|
|
|
41331
41331
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41332
41332
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41333
41333
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41334
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41334
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41335
41335
|
let fetchResult;
|
|
41336
41336
|
try {
|
|
41337
41337
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41506,7 +41506,7 @@ var Person = class Person extends Object$1 {
|
|
|
41506
41506
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41507
41507
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41508
41508
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41509
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41509
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41510
41510
|
let fetchResult;
|
|
41511
41511
|
try {
|
|
41512
41512
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41684,7 +41684,7 @@ var Person = class Person extends Object$1 {
|
|
|
41684
41684
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41685
41685
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41686
41686
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41687
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41687
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41688
41688
|
let fetchResult;
|
|
41689
41689
|
try {
|
|
41690
41690
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41923,7 +41923,7 @@ var Person = class Person extends Object$1 {
|
|
|
41923
41923
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41924
41924
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41925
41925
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41926
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41926
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41927
41927
|
let fetchResult;
|
|
41928
41928
|
try {
|
|
41929
41929
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42633,7 +42633,7 @@ var Person = class Person extends Object$1 {
|
|
|
42633
42633
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42634
42634
|
*/
|
|
42635
42635
|
static async fromJsonLd(json, options = {}) {
|
|
42636
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
42636
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42637
42637
|
try {
|
|
42638
42638
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
42639
42639
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43515,7 +43515,7 @@ var Place = class Place extends Object$1 {
|
|
|
43515
43515
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43516
43516
|
*/
|
|
43517
43517
|
static async fromJsonLd(json, options = {}) {
|
|
43518
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
43518
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43519
43519
|
try {
|
|
43520
43520
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
43521
43521
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43744,7 +43744,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
43744
43744
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43745
43745
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43746
43746
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43747
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
43747
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43748
43748
|
let fetchResult;
|
|
43749
43749
|
try {
|
|
43750
43750
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43957,7 +43957,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
43957
43957
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43958
43958
|
*/
|
|
43959
43959
|
static async fromJsonLd(json, options = {}) {
|
|
43960
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
43960
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43961
43961
|
try {
|
|
43962
43962
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
43963
43963
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44163,7 +44163,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
44163
44163
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44164
44164
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44165
44165
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44166
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44166
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44167
44167
|
let fetchResult;
|
|
44168
44168
|
try {
|
|
44169
44169
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44298,7 +44298,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
44298
44298
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44299
44299
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44300
44300
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44301
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44301
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44302
44302
|
let fetchResult;
|
|
44303
44303
|
try {
|
|
44304
44304
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44449,7 +44449,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
44449
44449
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44450
44450
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44451
44451
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44452
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44452
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44453
44453
|
let fetchResult;
|
|
44454
44454
|
try {
|
|
44455
44455
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44599,7 +44599,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
44599
44599
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44600
44600
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44601
44601
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44602
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44602
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44603
44603
|
let fetchResult;
|
|
44604
44604
|
try {
|
|
44605
44605
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44863,7 +44863,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
44863
44863
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44864
44864
|
*/
|
|
44865
44865
|
static async fromJsonLd(json, options = {}) {
|
|
44866
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
44866
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44867
44867
|
try {
|
|
44868
44868
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
44869
44869
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45176,7 +45176,7 @@ var Read = class Read extends Activity {
|
|
|
45176
45176
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45177
45177
|
*/
|
|
45178
45178
|
static async fromJsonLd(json, options = {}) {
|
|
45179
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
45179
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45180
45180
|
try {
|
|
45181
45181
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
45182
45182
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45329,7 +45329,7 @@ var Reject = class Reject extends Activity {
|
|
|
45329
45329
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45330
45330
|
*/
|
|
45331
45331
|
static async fromJsonLd(json, options = {}) {
|
|
45332
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
45332
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45333
45333
|
try {
|
|
45334
45334
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
45335
45335
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45506,7 +45506,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
45506
45506
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45507
45507
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45508
45508
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45509
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45509
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45510
45510
|
let fetchResult;
|
|
45511
45511
|
try {
|
|
45512
45512
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45641,7 +45641,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
45641
45641
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45642
45642
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45643
45643
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45644
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45644
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45645
45645
|
let fetchResult;
|
|
45646
45646
|
try {
|
|
45647
45647
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45828,7 +45828,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
45828
45828
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45829
45829
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45830
45830
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45831
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45831
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45832
45832
|
let fetchResult;
|
|
45833
45833
|
try {
|
|
45834
45834
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46131,7 +46131,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
46131
46131
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46132
46132
|
*/
|
|
46133
46133
|
static async fromJsonLd(json, options = {}) {
|
|
46134
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
46134
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46135
46135
|
try {
|
|
46136
46136
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
46137
46137
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46365,7 +46365,7 @@ var Remove = class Remove extends Activity {
|
|
|
46365
46365
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46366
46366
|
*/
|
|
46367
46367
|
static async fromJsonLd(json, options = {}) {
|
|
46368
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
46368
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46369
46369
|
try {
|
|
46370
46370
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
46371
46371
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46764,7 +46764,7 @@ var Service = class Service extends Object$1 {
|
|
|
46764
46764
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46765
46765
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46766
46766
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46767
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
46767
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46768
46768
|
let fetchResult;
|
|
46769
46769
|
try {
|
|
46770
46770
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46951,7 +46951,7 @@ var Service = class Service extends Object$1 {
|
|
|
46951
46951
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46952
46952
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46953
46953
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46954
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
46954
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46955
46955
|
let fetchResult;
|
|
46956
46956
|
try {
|
|
46957
46957
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47156,7 +47156,7 @@ var Service = class Service extends Object$1 {
|
|
|
47156
47156
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47157
47157
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47158
47158
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47159
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47159
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47160
47160
|
let fetchResult;
|
|
47161
47161
|
try {
|
|
47162
47162
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47310,7 +47310,7 @@ var Service = class Service extends Object$1 {
|
|
|
47310
47310
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47311
47311
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47312
47312
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47313
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47313
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47314
47314
|
let fetchResult;
|
|
47315
47315
|
try {
|
|
47316
47316
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47461,7 +47461,7 @@ var Service = class Service extends Object$1 {
|
|
|
47461
47461
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47462
47462
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47463
47463
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47464
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47464
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47465
47465
|
let fetchResult;
|
|
47466
47466
|
try {
|
|
47467
47467
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47597,7 +47597,7 @@ var Service = class Service extends Object$1 {
|
|
|
47597
47597
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47598
47598
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47599
47599
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47600
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47600
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47601
47601
|
let fetchResult;
|
|
47602
47602
|
try {
|
|
47603
47603
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47736,7 +47736,7 @@ var Service = class Service extends Object$1 {
|
|
|
47736
47736
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47737
47737
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47738
47738
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47739
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47739
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47740
47740
|
let fetchResult;
|
|
47741
47741
|
try {
|
|
47742
47742
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47873,7 +47873,7 @@ var Service = class Service extends Object$1 {
|
|
|
47873
47873
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47874
47874
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47875
47875
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47876
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47876
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47877
47877
|
let fetchResult;
|
|
47878
47878
|
try {
|
|
47879
47879
|
fetchResult = await documentLoader(url.href);
|
|
@@ -48008,7 +48008,7 @@ var Service = class Service extends Object$1 {
|
|
|
48008
48008
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
48009
48009
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
48010
48010
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
48011
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
48011
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
48012
48012
|
let fetchResult;
|
|
48013
48013
|
try {
|
|
48014
48014
|
fetchResult = await documentLoader(url.href);
|
|
@@ -48143,7 +48143,7 @@ var Service = class Service extends Object$1 {
|
|
|
48143
48143
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
48144
48144
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
48145
48145
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
48146
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
48146
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
48147
48147
|
let fetchResult;
|
|
48148
48148
|
try {
|
|
48149
48149
|
fetchResult = await documentLoader(url.href);
|
|
@@ -48318,7 +48318,7 @@ var Service = class Service extends Object$1 {
|
|
|
48318
48318
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
48319
48319
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
48320
48320
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
48321
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
48321
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
48322
48322
|
let fetchResult;
|
|
48323
48323
|
try {
|
|
48324
48324
|
fetchResult = await documentLoader(url.href);
|
|
@@ -48496,7 +48496,7 @@ var Service = class Service extends Object$1 {
|
|
|
48496
48496
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
48497
48497
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
48498
48498
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
48499
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
48499
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
48500
48500
|
let fetchResult;
|
|
48501
48501
|
try {
|
|
48502
48502
|
fetchResult = await documentLoader(url.href);
|
|
@@ -48735,7 +48735,7 @@ var Service = class Service extends Object$1 {
|
|
|
48735
48735
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
48736
48736
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
48737
48737
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
48738
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
48738
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
48739
48739
|
let fetchResult;
|
|
48740
48740
|
try {
|
|
48741
48741
|
fetchResult = await documentLoader(url.href);
|
|
@@ -49445,7 +49445,7 @@ var Service = class Service extends Object$1 {
|
|
|
49445
49445
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49446
49446
|
*/
|
|
49447
49447
|
static async fromJsonLd(json, options = {}) {
|
|
49448
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
49448
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49449
49449
|
try {
|
|
49450
49450
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
49451
49451
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50250,7 +50250,7 @@ var Source = class {
|
|
|
50250
50250
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50251
50251
|
*/
|
|
50252
50252
|
static async fromJsonLd(json, options = {}) {
|
|
50253
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
50253
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50254
50254
|
try {
|
|
50255
50255
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
50256
50256
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50440,7 +50440,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
50440
50440
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50441
50441
|
*/
|
|
50442
50442
|
static async fromJsonLd(json, options = {}) {
|
|
50443
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
50443
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50444
50444
|
try {
|
|
50445
50445
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
50446
50446
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50593,7 +50593,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
50593
50593
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50594
50594
|
*/
|
|
50595
50595
|
static async fromJsonLd(json, options = {}) {
|
|
50596
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
50596
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50597
50597
|
try {
|
|
50598
50598
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
50599
50599
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50835,7 +50835,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
50835
50835
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50836
50836
|
*/
|
|
50837
50837
|
static async fromJsonLd(json, options = {}) {
|
|
50838
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
50838
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50839
50839
|
try {
|
|
50840
50840
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
50841
50841
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51033,7 +51033,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
51033
51033
|
* @throws {TypeError} If the given `json` is invalid.
|
|
51034
51034
|
*/
|
|
51035
51035
|
static async fromJsonLd(json, options = {}) {
|
|
51036
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
51036
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
51037
51037
|
try {
|
|
51038
51038
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
51039
51039
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51200,7 +51200,7 @@ var Undo = class Undo extends Activity {
|
|
|
51200
51200
|
* @throws {TypeError} If the given `json` is invalid.
|
|
51201
51201
|
*/
|
|
51202
51202
|
static async fromJsonLd(json, options = {}) {
|
|
51203
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
51203
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
51204
51204
|
try {
|
|
51205
51205
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
51206
51206
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51415,7 +51415,7 @@ var Update = class Update extends Activity {
|
|
|
51415
51415
|
* @throws {TypeError} If the given `json` is invalid.
|
|
51416
51416
|
*/
|
|
51417
51417
|
static async fromJsonLd(json, options = {}) {
|
|
51418
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
51418
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
51419
51419
|
try {
|
|
51420
51420
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
51421
51421
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51581,7 +51581,7 @@ var Video = class Video extends Document {
|
|
|
51581
51581
|
* @throws {TypeError} If the given `json` is invalid.
|
|
51582
51582
|
*/
|
|
51583
51583
|
static async fromJsonLd(json, options = {}) {
|
|
51584
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
51584
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
51585
51585
|
try {
|
|
51586
51586
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
51587
51587
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51733,7 +51733,7 @@ var View = class View extends Activity {
|
|
|
51733
51733
|
* @throws {TypeError} If the given `json` is invalid.
|
|
51734
51734
|
*/
|
|
51735
51735
|
static async fromJsonLd(json, options = {}) {
|
|
51736
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
51736
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
51737
51737
|
try {
|
|
51738
51738
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
51739
51739
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|