@fedify/vocab 2.0.29-dev.2143 → 2.0.30-dev.2188
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 +185 -185
- package/dist/mod.js +185 -185
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/{deno-CkgwRhwo.mjs → deno-Celd3cAc.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-CLB8P-Fw.mjs → vocab-Ci3g_-fe.mjs} +184 -184
- 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.0.
|
|
12
|
+
var version = "2.0.30-dev.2188+c9867532";
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/type.ts
|
|
15
15
|
function getTypeId(object) {
|
|
@@ -652,7 +652,7 @@ var Object$1 = class Object$1 {
|
|
|
652
652
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
653
653
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
654
654
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
655
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
655
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
656
656
|
let fetchResult;
|
|
657
657
|
try {
|
|
658
658
|
fetchResult = await documentLoader(url.href);
|
|
@@ -808,7 +808,7 @@ var Object$1 = class Object$1 {
|
|
|
808
808
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
809
809
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
810
810
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
811
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
811
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
812
812
|
let fetchResult;
|
|
813
813
|
try {
|
|
814
814
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1039,7 +1039,7 @@ var Object$1 = class Object$1 {
|
|
|
1039
1039
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1040
1040
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1041
1041
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1042
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1042
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1043
1043
|
let fetchResult;
|
|
1044
1044
|
try {
|
|
1045
1045
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1242,7 +1242,7 @@ var Object$1 = class Object$1 {
|
|
|
1242
1242
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1243
1243
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1244
1244
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1245
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1245
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1246
1246
|
let fetchResult;
|
|
1247
1247
|
try {
|
|
1248
1248
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1414,7 +1414,7 @@ var Object$1 = class Object$1 {
|
|
|
1414
1414
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1415
1415
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1416
1416
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1417
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1417
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1418
1418
|
let fetchResult;
|
|
1419
1419
|
try {
|
|
1420
1420
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1554,7 +1554,7 @@ var Object$1 = class Object$1 {
|
|
|
1554
1554
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1555
1555
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1556
1556
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1557
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1557
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1558
1558
|
let fetchResult;
|
|
1559
1559
|
try {
|
|
1560
1560
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1739,7 +1739,7 @@ var Object$1 = class Object$1 {
|
|
|
1739
1739
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1740
1740
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1741
1741
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1742
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1742
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1743
1743
|
let fetchResult;
|
|
1744
1744
|
try {
|
|
1745
1745
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1924,7 +1924,7 @@ var Object$1 = class Object$1 {
|
|
|
1924
1924
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1925
1925
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1926
1926
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1927
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1927
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1928
1928
|
let fetchResult;
|
|
1929
1929
|
try {
|
|
1930
1930
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2117,7 +2117,7 @@ var Object$1 = class Object$1 {
|
|
|
2117
2117
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2118
2118
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2119
2119
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2120
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2120
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2121
2121
|
let fetchResult;
|
|
2122
2122
|
try {
|
|
2123
2123
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2310,7 +2310,7 @@ var Object$1 = class Object$1 {
|
|
|
2310
2310
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2311
2311
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2312
2312
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2313
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2313
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2314
2314
|
let fetchResult;
|
|
2315
2315
|
try {
|
|
2316
2316
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2508,7 +2508,7 @@ var Object$1 = class Object$1 {
|
|
|
2508
2508
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2509
2509
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2510
2510
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2511
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2511
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2512
2512
|
let fetchResult;
|
|
2513
2513
|
try {
|
|
2514
2514
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2638,7 +2638,7 @@ var Object$1 = class Object$1 {
|
|
|
2638
2638
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2639
2639
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2640
2640
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2641
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2641
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2642
2642
|
let fetchResult;
|
|
2643
2643
|
try {
|
|
2644
2644
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2774,7 +2774,7 @@ var Object$1 = class Object$1 {
|
|
|
2774
2774
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2775
2775
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2776
2776
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2777
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2777
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2778
2778
|
let fetchResult;
|
|
2779
2779
|
try {
|
|
2780
2780
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2910,7 +2910,7 @@ var Object$1 = class Object$1 {
|
|
|
2910
2910
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2911
2911
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2912
2912
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2913
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2913
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2914
2914
|
let fetchResult;
|
|
2915
2915
|
try {
|
|
2916
2916
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3064,7 +3064,7 @@ var Object$1 = class Object$1 {
|
|
|
3064
3064
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3065
3065
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3066
3066
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3067
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3067
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3068
3068
|
let fetchResult;
|
|
3069
3069
|
try {
|
|
3070
3070
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3226,7 +3226,7 @@ var Object$1 = class Object$1 {
|
|
|
3226
3226
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3227
3227
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3228
3228
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3229
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3229
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3230
3230
|
let fetchResult;
|
|
3231
3231
|
try {
|
|
3232
3232
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3409,7 +3409,7 @@ var Object$1 = class Object$1 {
|
|
|
3409
3409
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3410
3410
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3411
3411
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3412
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3412
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3413
3413
|
let fetchResult;
|
|
3414
3414
|
try {
|
|
3415
3415
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3592,7 +3592,7 @@ var Object$1 = class Object$1 {
|
|
|
3592
3592
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3593
3593
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3594
3594
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3595
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3595
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3596
3596
|
let fetchResult;
|
|
3597
3597
|
try {
|
|
3598
3598
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3775,7 +3775,7 @@ var Object$1 = class Object$1 {
|
|
|
3775
3775
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3776
3776
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3777
3777
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3778
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3778
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3779
3779
|
let fetchResult;
|
|
3780
3780
|
try {
|
|
3781
3781
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3995,7 +3995,7 @@ var Object$1 = class Object$1 {
|
|
|
3995
3995
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3996
3996
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3997
3997
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3998
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3998
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3999
3999
|
let fetchResult;
|
|
4000
4000
|
try {
|
|
4001
4001
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4803,7 +4803,7 @@ var Object$1 = class Object$1 {
|
|
|
4803
4803
|
* @throws {TypeError} If the given `json` is invalid.
|
|
4804
4804
|
*/
|
|
4805
4805
|
static async fromJsonLd(json, options = {}) {
|
|
4806
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
4806
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
4807
4807
|
try {
|
|
4808
4808
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
4809
4809
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6137,7 +6137,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
6137
6137
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6138
6138
|
*/
|
|
6139
6139
|
static async fromJsonLd(json, options = {}) {
|
|
6140
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
6140
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6141
6141
|
try {
|
|
6142
6142
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
6143
6143
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6376,7 +6376,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6376
6376
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6377
6377
|
*/
|
|
6378
6378
|
static async fromJsonLd(json, options = {}) {
|
|
6379
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
6379
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6380
6380
|
try {
|
|
6381
6381
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
6382
6382
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6665,7 +6665,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6665
6665
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6666
6666
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6667
6667
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6668
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6668
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6669
6669
|
let fetchResult;
|
|
6670
6670
|
try {
|
|
6671
6671
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6896,7 +6896,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6896
6896
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6897
6897
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6898
6898
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6899
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6899
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6900
6900
|
let fetchResult;
|
|
6901
6901
|
try {
|
|
6902
6902
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7081,7 +7081,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7081
7081
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7082
7082
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7083
7083
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7084
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7084
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7085
7085
|
let fetchResult;
|
|
7086
7086
|
try {
|
|
7087
7087
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7272,7 +7272,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7272
7272
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7273
7273
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7274
7274
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7275
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7275
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7276
7276
|
let fetchResult;
|
|
7277
7277
|
try {
|
|
7278
7278
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7457,7 +7457,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7457
7457
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7458
7458
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7459
7459
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7460
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7460
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7461
7461
|
let fetchResult;
|
|
7462
7462
|
try {
|
|
7463
7463
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7644,7 +7644,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7644
7644
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7645
7645
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7646
7646
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7647
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7647
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7648
7648
|
let fetchResult;
|
|
7649
7649
|
try {
|
|
7650
7650
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7913,7 +7913,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7913
7913
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7914
7914
|
*/
|
|
7915
7915
|
static async fromJsonLd(json, options = {}) {
|
|
7916
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
7916
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7917
7917
|
try {
|
|
7918
7918
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
7919
7919
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8247,7 +8247,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
8247
8247
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8248
8248
|
*/
|
|
8249
8249
|
static async fromJsonLd(json, options = {}) {
|
|
8250
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8250
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8251
8251
|
try {
|
|
8252
8252
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
8253
8253
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8507,7 +8507,7 @@ var PropertyValue = class {
|
|
|
8507
8507
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8508
8508
|
*/
|
|
8509
8509
|
static async fromJsonLd(json, options = {}) {
|
|
8510
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8510
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8511
8511
|
try {
|
|
8512
8512
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
8513
8513
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8763,7 +8763,7 @@ var DidService = class {
|
|
|
8763
8763
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8764
8764
|
*/
|
|
8765
8765
|
static async fromJsonLd(json, options = {}) {
|
|
8766
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8766
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8767
8767
|
try {
|
|
8768
8768
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
8769
8769
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8921,7 +8921,7 @@ var Export = class Export extends DidService {
|
|
|
8921
8921
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8922
8922
|
*/
|
|
8923
8923
|
static async fromJsonLd(json, options = {}) {
|
|
8924
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8924
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8925
8925
|
try {
|
|
8926
8926
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
8927
8927
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9108,7 +9108,7 @@ var DataIntegrityProof = class {
|
|
|
9108
9108
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9109
9109
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9110
9110
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9111
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
9111
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9112
9112
|
let fetchResult;
|
|
9113
9113
|
try {
|
|
9114
9114
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9327,7 +9327,7 @@ var DataIntegrityProof = class {
|
|
|
9327
9327
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9328
9328
|
*/
|
|
9329
9329
|
static async fromJsonLd(json, options = {}) {
|
|
9330
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9330
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9331
9331
|
try {
|
|
9332
9332
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
9333
9333
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9565,7 +9565,7 @@ var CryptographicKey = class {
|
|
|
9565
9565
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9566
9566
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9567
9567
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9568
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
9568
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9569
9569
|
let fetchResult;
|
|
9570
9570
|
try {
|
|
9571
9571
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9836,7 +9836,7 @@ var CryptographicKey = class {
|
|
|
9836
9836
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9837
9837
|
*/
|
|
9838
9838
|
static async fromJsonLd(json, options = {}) {
|
|
9839
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9839
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9840
9840
|
try {
|
|
9841
9841
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
9842
9842
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10051,7 +10051,7 @@ var Multikey = class {
|
|
|
10051
10051
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10052
10052
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10053
10053
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10054
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
10054
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10055
10055
|
let fetchResult;
|
|
10056
10056
|
try {
|
|
10057
10057
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10328,7 +10328,7 @@ var Multikey = class {
|
|
|
10328
10328
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10329
10329
|
*/
|
|
10330
10330
|
static async fromJsonLd(json, options = {}) {
|
|
10331
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10331
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10332
10332
|
try {
|
|
10333
10333
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
10334
10334
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10530,7 +10530,7 @@ var Accept = class Accept extends Activity {
|
|
|
10530
10530
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10531
10531
|
*/
|
|
10532
10532
|
static async fromJsonLd(json, options = {}) {
|
|
10533
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10533
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10534
10534
|
try {
|
|
10535
10535
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
10536
10536
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10683,7 +10683,7 @@ var Add = class Add extends Activity {
|
|
|
10683
10683
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10684
10684
|
*/
|
|
10685
10685
|
static async fromJsonLd(json, options = {}) {
|
|
10686
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10686
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10687
10687
|
try {
|
|
10688
10688
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
10689
10689
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10853,7 +10853,7 @@ var Announce = class Announce extends Activity {
|
|
|
10853
10853
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10854
10854
|
*/
|
|
10855
10855
|
static async fromJsonLd(json, options = {}) {
|
|
10856
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10856
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10857
10857
|
try {
|
|
10858
10858
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
10859
10859
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11250,7 +11250,7 @@ var Application = class Application extends Object$1 {
|
|
|
11250
11250
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11251
11251
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11252
11252
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11253
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11253
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11254
11254
|
let fetchResult;
|
|
11255
11255
|
try {
|
|
11256
11256
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11431,7 +11431,7 @@ var Application = class Application extends Object$1 {
|
|
|
11431
11431
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11432
11432
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11433
11433
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11434
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11434
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11435
11435
|
let fetchResult;
|
|
11436
11436
|
try {
|
|
11437
11437
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11630,7 +11630,7 @@ var Application = class Application extends Object$1 {
|
|
|
11630
11630
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11631
11631
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11632
11632
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11633
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11633
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11634
11634
|
let fetchResult;
|
|
11635
11635
|
try {
|
|
11636
11636
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11781,7 +11781,7 @@ var Application = class Application extends Object$1 {
|
|
|
11781
11781
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11782
11782
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11783
11783
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11784
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11784
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11785
11785
|
let fetchResult;
|
|
11786
11786
|
try {
|
|
11787
11787
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11929,7 +11929,7 @@ var Application = class Application extends Object$1 {
|
|
|
11929
11929
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11930
11930
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11931
11931
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11932
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11932
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11933
11933
|
let fetchResult;
|
|
11934
11934
|
try {
|
|
11935
11935
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12062,7 +12062,7 @@ var Application = class Application extends Object$1 {
|
|
|
12062
12062
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12063
12063
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12064
12064
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12065
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12065
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12066
12066
|
let fetchResult;
|
|
12067
12067
|
try {
|
|
12068
12068
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12198,7 +12198,7 @@ var Application = class Application extends Object$1 {
|
|
|
12198
12198
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12199
12199
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12200
12200
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12201
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12201
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12202
12202
|
let fetchResult;
|
|
12203
12203
|
try {
|
|
12204
12204
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12332,7 +12332,7 @@ var Application = class Application extends Object$1 {
|
|
|
12332
12332
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12333
12333
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12334
12334
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12335
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12335
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12336
12336
|
let fetchResult;
|
|
12337
12337
|
try {
|
|
12338
12338
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12464,7 +12464,7 @@ var Application = class Application extends Object$1 {
|
|
|
12464
12464
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12465
12465
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12466
12466
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12467
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12467
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12468
12468
|
let fetchResult;
|
|
12469
12469
|
try {
|
|
12470
12470
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12596,7 +12596,7 @@ var Application = class Application extends Object$1 {
|
|
|
12596
12596
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12597
12597
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12598
12598
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12599
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12599
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12600
12600
|
let fetchResult;
|
|
12601
12601
|
try {
|
|
12602
12602
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12768,7 +12768,7 @@ var Application = class Application extends Object$1 {
|
|
|
12768
12768
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12769
12769
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12770
12770
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12771
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12771
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12772
12772
|
let fetchResult;
|
|
12773
12773
|
try {
|
|
12774
12774
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12943,7 +12943,7 @@ var Application = class Application extends Object$1 {
|
|
|
12943
12943
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12944
12944
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12945
12945
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12946
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12946
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12947
12947
|
let fetchResult;
|
|
12948
12948
|
try {
|
|
12949
12949
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13176,7 +13176,7 @@ var Application = class Application extends Object$1 {
|
|
|
13176
13176
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13177
13177
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13178
13178
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13179
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
13179
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13180
13180
|
let fetchResult;
|
|
13181
13181
|
try {
|
|
13182
13182
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13878,7 +13878,7 @@ var Application = class Application extends Object$1 {
|
|
|
13878
13878
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13879
13879
|
*/
|
|
13880
13880
|
static async fromJsonLd(json, options = {}) {
|
|
13881
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
13881
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13882
13882
|
try {
|
|
13883
13883
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
13884
13884
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14487,7 +14487,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
14487
14487
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14488
14488
|
*/
|
|
14489
14489
|
static async fromJsonLd(json, options = {}) {
|
|
14490
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14490
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14491
14491
|
try {
|
|
14492
14492
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
14493
14493
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14641,7 +14641,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
14641
14641
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14642
14642
|
*/
|
|
14643
14643
|
static async fromJsonLd(json, options = {}) {
|
|
14644
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14644
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14645
14645
|
try {
|
|
14646
14646
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
14647
14647
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14878,7 +14878,7 @@ var Article = class Article extends Object$1 {
|
|
|
14878
14878
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14879
14879
|
*/
|
|
14880
14880
|
static async fromJsonLd(json, options = {}) {
|
|
14881
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14881
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14882
14882
|
try {
|
|
14883
14883
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
14884
14884
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15115,7 +15115,7 @@ var Document = class Document extends Object$1 {
|
|
|
15115
15115
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15116
15116
|
*/
|
|
15117
15117
|
static async fromJsonLd(json, options = {}) {
|
|
15118
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
15118
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15119
15119
|
try {
|
|
15120
15120
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
15121
15121
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15304,7 +15304,7 @@ var Audio = class Audio extends Document {
|
|
|
15304
15304
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15305
15305
|
*/
|
|
15306
15306
|
static async fromJsonLd(json, options = {}) {
|
|
15307
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
15307
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15308
15308
|
try {
|
|
15309
15309
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
15310
15310
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15454,7 +15454,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
15454
15454
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15455
15455
|
*/
|
|
15456
15456
|
static async fromJsonLd(json, options = {}) {
|
|
15457
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
15457
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15458
15458
|
try {
|
|
15459
15459
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
15460
15460
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15607,7 +15607,7 @@ var Block = class Block extends Ignore {
|
|
|
15607
15607
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15608
15608
|
*/
|
|
15609
15609
|
static async fromJsonLd(json, options = {}) {
|
|
15610
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
15610
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15611
15611
|
try {
|
|
15612
15612
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
15613
15613
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15873,7 +15873,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15873
15873
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15874
15874
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15875
15875
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15876
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15876
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15877
15877
|
let fetchResult;
|
|
15878
15878
|
try {
|
|
15879
15879
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16003,7 +16003,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16003
16003
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16004
16004
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16005
16005
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16006
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16006
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16007
16007
|
let fetchResult;
|
|
16008
16008
|
try {
|
|
16009
16009
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16133,7 +16133,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16133
16133
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16134
16134
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16135
16135
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16136
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16136
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16137
16137
|
let fetchResult;
|
|
16138
16138
|
try {
|
|
16139
16139
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16263,7 +16263,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16263
16263
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16264
16264
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16265
16265
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16266
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16266
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16267
16267
|
let fetchResult;
|
|
16268
16268
|
try {
|
|
16269
16269
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16404,7 +16404,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16404
16404
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16405
16405
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16406
16406
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16407
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16407
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16408
16408
|
let fetchResult;
|
|
16409
16409
|
try {
|
|
16410
16410
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16533,7 +16533,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16533
16533
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16534
16534
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16535
16535
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16536
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16536
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16537
16537
|
let fetchResult;
|
|
16538
16538
|
try {
|
|
16539
16539
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16662,7 +16662,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16662
16662
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16663
16663
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16664
16664
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16665
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16665
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16666
16666
|
let fetchResult;
|
|
16667
16667
|
try {
|
|
16668
16668
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16791,7 +16791,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16791
16791
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16792
16792
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16793
16793
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16794
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16794
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16795
16795
|
let fetchResult;
|
|
16796
16796
|
try {
|
|
16797
16797
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16920,7 +16920,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16920
16920
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16921
16921
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16922
16922
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16923
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16923
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16924
16924
|
let fetchResult;
|
|
16925
16925
|
try {
|
|
16926
16926
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17049,7 +17049,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
17049
17049
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17050
17050
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17051
17051
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17052
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17052
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17053
17053
|
let fetchResult;
|
|
17054
17054
|
try {
|
|
17055
17055
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17178,7 +17178,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
17178
17178
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17179
17179
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17180
17180
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17181
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17181
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17182
17182
|
let fetchResult;
|
|
17183
17183
|
try {
|
|
17184
17184
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17307,7 +17307,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
17307
17307
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17308
17308
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17309
17309
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17310
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17310
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17311
17311
|
let fetchResult;
|
|
17312
17312
|
try {
|
|
17313
17313
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17743,7 +17743,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
17743
17743
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17744
17744
|
*/
|
|
17745
17745
|
static async fromJsonLd(json, options = {}) {
|
|
17746
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
17746
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17747
17747
|
try {
|
|
17748
17748
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
17749
17749
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18220,7 +18220,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
18220
18220
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18221
18221
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18222
18222
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18223
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
18223
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18224
18224
|
let fetchResult;
|
|
18225
18225
|
try {
|
|
18226
18226
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18350,7 +18350,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
18350
18350
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18351
18351
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18352
18352
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18353
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
18353
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18354
18354
|
let fetchResult;
|
|
18355
18355
|
try {
|
|
18356
18356
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18479,7 +18479,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
18479
18479
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18480
18480
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18481
18481
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18482
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
18482
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18483
18483
|
let fetchResult;
|
|
18484
18484
|
try {
|
|
18485
18485
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18752,7 +18752,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
18752
18752
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18753
18753
|
*/
|
|
18754
18754
|
static async fromJsonLd(json, options = {}) {
|
|
18755
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18755
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18756
18756
|
try {
|
|
18757
18757
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
18758
18758
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18986,7 +18986,7 @@ var Create = class Create extends Activity {
|
|
|
18986
18986
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18987
18987
|
*/
|
|
18988
18988
|
static async fromJsonLd(json, options = {}) {
|
|
18989
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18989
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18990
18990
|
try {
|
|
18991
18991
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
18992
18992
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19152,7 +19152,7 @@ var Delete = class Delete extends Activity {
|
|
|
19152
19152
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19153
19153
|
*/
|
|
19154
19154
|
static async fromJsonLd(json, options = {}) {
|
|
19155
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19155
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19156
19156
|
try {
|
|
19157
19157
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
19158
19158
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19305,7 +19305,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
19305
19305
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19306
19306
|
*/
|
|
19307
19307
|
static async fromJsonLd(json, options = {}) {
|
|
19308
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19308
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19309
19309
|
try {
|
|
19310
19310
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
19311
19311
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19666,7 +19666,7 @@ var Endpoints = class {
|
|
|
19666
19666
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19667
19667
|
*/
|
|
19668
19668
|
static async fromJsonLd(json, options = {}) {
|
|
19669
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19669
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19670
19670
|
try {
|
|
19671
19671
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
19672
19672
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19906,7 +19906,7 @@ var Event = class Event extends Object$1 {
|
|
|
19906
19906
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19907
19907
|
*/
|
|
19908
19908
|
static async fromJsonLd(json, options = {}) {
|
|
19909
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19909
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19910
19910
|
try {
|
|
19911
19911
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
19912
19912
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20057,7 +20057,7 @@ var Flag = class Flag extends Activity {
|
|
|
20057
20057
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20058
20058
|
*/
|
|
20059
20059
|
static async fromJsonLd(json, options = {}) {
|
|
20060
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
20060
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20061
20061
|
try {
|
|
20062
20062
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
20063
20063
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20212,7 +20212,7 @@ var Follow = class Follow extends Activity {
|
|
|
20212
20212
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20213
20213
|
*/
|
|
20214
20214
|
static async fromJsonLd(json, options = {}) {
|
|
20215
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
20215
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20216
20216
|
try {
|
|
20217
20217
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
20218
20218
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20609,7 +20609,7 @@ var Group = class Group extends Object$1 {
|
|
|
20609
20609
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20610
20610
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20611
20611
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20612
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20612
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20613
20613
|
let fetchResult;
|
|
20614
20614
|
try {
|
|
20615
20615
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20790,7 +20790,7 @@ var Group = class Group extends Object$1 {
|
|
|
20790
20790
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20791
20791
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20792
20792
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20793
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20793
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20794
20794
|
let fetchResult;
|
|
20795
20795
|
try {
|
|
20796
20796
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20989,7 +20989,7 @@ var Group = class Group extends Object$1 {
|
|
|
20989
20989
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20990
20990
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20991
20991
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20992
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20992
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20993
20993
|
let fetchResult;
|
|
20994
20994
|
try {
|
|
20995
20995
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21140,7 +21140,7 @@ var Group = class Group extends Object$1 {
|
|
|
21140
21140
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21141
21141
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21142
21142
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21143
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21143
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21144
21144
|
let fetchResult;
|
|
21145
21145
|
try {
|
|
21146
21146
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21288,7 +21288,7 @@ var Group = class Group extends Object$1 {
|
|
|
21288
21288
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21289
21289
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21290
21290
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21291
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21291
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21292
21292
|
let fetchResult;
|
|
21293
21293
|
try {
|
|
21294
21294
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21421,7 +21421,7 @@ var Group = class Group extends Object$1 {
|
|
|
21421
21421
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21422
21422
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21423
21423
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21424
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21424
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21425
21425
|
let fetchResult;
|
|
21426
21426
|
try {
|
|
21427
21427
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21557,7 +21557,7 @@ var Group = class Group extends Object$1 {
|
|
|
21557
21557
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21558
21558
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21559
21559
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21560
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21560
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21561
21561
|
let fetchResult;
|
|
21562
21562
|
try {
|
|
21563
21563
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21691,7 +21691,7 @@ var Group = class Group extends Object$1 {
|
|
|
21691
21691
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21692
21692
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21693
21693
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21694
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21694
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21695
21695
|
let fetchResult;
|
|
21696
21696
|
try {
|
|
21697
21697
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21823,7 +21823,7 @@ var Group = class Group extends Object$1 {
|
|
|
21823
21823
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21824
21824
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21825
21825
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21826
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21826
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21827
21827
|
let fetchResult;
|
|
21828
21828
|
try {
|
|
21829
21829
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21955,7 +21955,7 @@ var Group = class Group extends Object$1 {
|
|
|
21955
21955
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21956
21956
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21957
21957
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21958
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21958
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21959
21959
|
let fetchResult;
|
|
21960
21960
|
try {
|
|
21961
21961
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22127,7 +22127,7 @@ var Group = class Group extends Object$1 {
|
|
|
22127
22127
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22128
22128
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22129
22129
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22130
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
22130
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22131
22131
|
let fetchResult;
|
|
22132
22132
|
try {
|
|
22133
22133
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22302,7 +22302,7 @@ var Group = class Group extends Object$1 {
|
|
|
22302
22302
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22303
22303
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22304
22304
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22305
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
22305
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22306
22306
|
let fetchResult;
|
|
22307
22307
|
try {
|
|
22308
22308
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22535,7 +22535,7 @@ var Group = class Group extends Object$1 {
|
|
|
22535
22535
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22536
22536
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22537
22537
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22538
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
22538
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22539
22539
|
let fetchResult;
|
|
22540
22540
|
try {
|
|
22541
22541
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23237,7 +23237,7 @@ var Group = class Group extends Object$1 {
|
|
|
23237
23237
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23238
23238
|
*/
|
|
23239
23239
|
static async fromJsonLd(json, options = {}) {
|
|
23240
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23240
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23241
23241
|
try {
|
|
23242
23242
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
23243
23243
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23997,7 +23997,7 @@ var Link = class Link {
|
|
|
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.0.
|
|
24000
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24001
24001
|
let fetchResult;
|
|
24002
24002
|
try {
|
|
24003
24003
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24299,7 +24299,7 @@ var Link = class Link {
|
|
|
24299
24299
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24300
24300
|
*/
|
|
24301
24301
|
static async fromJsonLd(json, options = {}) {
|
|
24302
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24302
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24303
24303
|
try {
|
|
24304
24304
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
24305
24305
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24648,7 +24648,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
24648
24648
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24649
24649
|
*/
|
|
24650
24650
|
static async fromJsonLd(json, options = {}) {
|
|
24651
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24651
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24652
24652
|
try {
|
|
24653
24653
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
24654
24654
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24804,7 +24804,7 @@ var Image = class Image extends Document {
|
|
|
24804
24804
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24805
24805
|
*/
|
|
24806
24806
|
static async fromJsonLd(json, options = {}) {
|
|
24807
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24807
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24808
24808
|
try {
|
|
24809
24809
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
24810
24810
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24955,7 +24955,7 @@ var Offer = class Offer extends Activity {
|
|
|
24955
24955
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24956
24956
|
*/
|
|
24957
24957
|
static async fromJsonLd(json, options = {}) {
|
|
24958
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24958
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24959
24959
|
try {
|
|
24960
24960
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
24961
24961
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25106,7 +25106,7 @@ var Invite = class Invite extends Offer {
|
|
|
25106
25106
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25107
25107
|
*/
|
|
25108
25108
|
static async fromJsonLd(json, options = {}) {
|
|
25109
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25109
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25110
25110
|
try {
|
|
25111
25111
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
25112
25112
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25256,7 +25256,7 @@ var Join = class Join extends Activity {
|
|
|
25256
25256
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25257
25257
|
*/
|
|
25258
25258
|
static async fromJsonLd(json, options = {}) {
|
|
25259
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25259
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25260
25260
|
try {
|
|
25261
25261
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
25262
25262
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25406,7 +25406,7 @@ var Leave = class Leave extends Activity {
|
|
|
25406
25406
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25407
25407
|
*/
|
|
25408
25408
|
static async fromJsonLd(json, options = {}) {
|
|
25409
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25409
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25410
25410
|
try {
|
|
25411
25411
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
25412
25412
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25560,7 +25560,7 @@ var Like = class Like extends Activity {
|
|
|
25560
25560
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25561
25561
|
*/
|
|
25562
25562
|
static async fromJsonLd(json, options = {}) {
|
|
25563
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25563
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25564
25564
|
try {
|
|
25565
25565
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
25566
25566
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25709,7 +25709,7 @@ var Listen = class Listen extends Activity {
|
|
|
25709
25709
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25710
25710
|
*/
|
|
25711
25711
|
static async fromJsonLd(json, options = {}) {
|
|
25712
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25712
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25713
25713
|
try {
|
|
25714
25714
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
25715
25715
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25862,7 +25862,7 @@ var Mention = class Mention extends Link {
|
|
|
25862
25862
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25863
25863
|
*/
|
|
25864
25864
|
static async fromJsonLd(json, options = {}) {
|
|
25865
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25865
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25866
25866
|
try {
|
|
25867
25867
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
25868
25868
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26013,7 +26013,7 @@ var Move = class Move extends Activity {
|
|
|
26013
26013
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26014
26014
|
*/
|
|
26015
26015
|
static async fromJsonLd(json, options = {}) {
|
|
26016
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
26016
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26017
26017
|
try {
|
|
26018
26018
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
26019
26019
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26251,7 +26251,7 @@ var Note = class Note extends Object$1 {
|
|
|
26251
26251
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26252
26252
|
*/
|
|
26253
26253
|
static async fromJsonLd(json, options = {}) {
|
|
26254
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
26254
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26255
26255
|
try {
|
|
26256
26256
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
26257
26257
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26388,7 +26388,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
26388
26388
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26389
26389
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26390
26390
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26391
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26391
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26392
26392
|
let fetchResult;
|
|
26393
26393
|
try {
|
|
26394
26394
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26646,7 +26646,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
26646
26646
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26647
26647
|
*/
|
|
26648
26648
|
static async fromJsonLd(json, options = {}) {
|
|
26649
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
26649
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26650
26650
|
try {
|
|
26651
26651
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
26652
26652
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26858,7 +26858,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
26858
26858
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26859
26859
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26860
26860
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26861
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26861
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26862
26862
|
let fetchResult;
|
|
26863
26863
|
try {
|
|
26864
26864
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27139,7 +27139,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
27139
27139
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27140
27140
|
*/
|
|
27141
27141
|
static async fromJsonLd(json, options = {}) {
|
|
27142
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
27142
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27143
27143
|
try {
|
|
27144
27144
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
27145
27145
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27639,7 +27639,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27639
27639
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27640
27640
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27641
27641
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27642
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27642
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27643
27643
|
let fetchResult;
|
|
27644
27644
|
try {
|
|
27645
27645
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27820,7 +27820,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27820
27820
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27821
27821
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27822
27822
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27823
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27823
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27824
27824
|
let fetchResult;
|
|
27825
27825
|
try {
|
|
27826
27826
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28019,7 +28019,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28019
28019
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28020
28020
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28021
28021
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28022
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28022
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28023
28023
|
let fetchResult;
|
|
28024
28024
|
try {
|
|
28025
28025
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28170,7 +28170,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28170
28170
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28171
28171
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28172
28172
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28173
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28173
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28174
28174
|
let fetchResult;
|
|
28175
28175
|
try {
|
|
28176
28176
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28318,7 +28318,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28318
28318
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28319
28319
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28320
28320
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28321
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28321
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28322
28322
|
let fetchResult;
|
|
28323
28323
|
try {
|
|
28324
28324
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28451,7 +28451,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28451
28451
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28452
28452
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28453
28453
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28454
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28454
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28455
28455
|
let fetchResult;
|
|
28456
28456
|
try {
|
|
28457
28457
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28587,7 +28587,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28587
28587
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28588
28588
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28589
28589
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28590
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28590
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28591
28591
|
let fetchResult;
|
|
28592
28592
|
try {
|
|
28593
28593
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28721,7 +28721,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28721
28721
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28722
28722
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28723
28723
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28724
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28724
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28725
28725
|
let fetchResult;
|
|
28726
28726
|
try {
|
|
28727
28727
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28853,7 +28853,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28853
28853
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28854
28854
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28855
28855
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28856
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28856
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28857
28857
|
let fetchResult;
|
|
28858
28858
|
try {
|
|
28859
28859
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28985,7 +28985,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28985
28985
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28986
28986
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28987
28987
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28988
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28988
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28989
28989
|
let fetchResult;
|
|
28990
28990
|
try {
|
|
28991
28991
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29157,7 +29157,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29157
29157
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29158
29158
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29159
29159
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29160
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29160
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29161
29161
|
let fetchResult;
|
|
29162
29162
|
try {
|
|
29163
29163
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29332,7 +29332,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29332
29332
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29333
29333
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29334
29334
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29335
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29335
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29336
29336
|
let fetchResult;
|
|
29337
29337
|
try {
|
|
29338
29338
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29565,7 +29565,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29565
29565
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29566
29566
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29567
29567
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29568
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29568
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29569
29569
|
let fetchResult;
|
|
29570
29570
|
try {
|
|
29571
29571
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30267,7 +30267,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30267
30267
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30268
30268
|
*/
|
|
30269
30269
|
static async fromJsonLd(json, options = {}) {
|
|
30270
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
30270
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30271
30271
|
try {
|
|
30272
30272
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
30273
30273
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30881,7 +30881,7 @@ var Page = class Page extends Document {
|
|
|
30881
30881
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30882
30882
|
*/
|
|
30883
30883
|
static async fromJsonLd(json, options = {}) {
|
|
30884
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
30884
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30885
30885
|
try {
|
|
30886
30886
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
30887
30887
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31278,7 +31278,7 @@ var Person = class Person extends Object$1 {
|
|
|
31278
31278
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31279
31279
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31280
31280
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31281
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31281
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31282
31282
|
let fetchResult;
|
|
31283
31283
|
try {
|
|
31284
31284
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31459,7 +31459,7 @@ var Person = class Person extends Object$1 {
|
|
|
31459
31459
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31460
31460
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31461
31461
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31462
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31462
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31463
31463
|
let fetchResult;
|
|
31464
31464
|
try {
|
|
31465
31465
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31658,7 +31658,7 @@ var Person = class Person extends Object$1 {
|
|
|
31658
31658
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31659
31659
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31660
31660
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31661
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31661
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31662
31662
|
let fetchResult;
|
|
31663
31663
|
try {
|
|
31664
31664
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31809,7 +31809,7 @@ var Person = class Person extends Object$1 {
|
|
|
31809
31809
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31810
31810
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31811
31811
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31812
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31812
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31813
31813
|
let fetchResult;
|
|
31814
31814
|
try {
|
|
31815
31815
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31957,7 +31957,7 @@ var Person = class Person extends Object$1 {
|
|
|
31957
31957
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31958
31958
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31959
31959
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31960
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31960
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31961
31961
|
let fetchResult;
|
|
31962
31962
|
try {
|
|
31963
31963
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32090,7 +32090,7 @@ var Person = class Person extends Object$1 {
|
|
|
32090
32090
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32091
32091
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32092
32092
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32093
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32093
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32094
32094
|
let fetchResult;
|
|
32095
32095
|
try {
|
|
32096
32096
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32226,7 +32226,7 @@ var Person = class Person extends Object$1 {
|
|
|
32226
32226
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32227
32227
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32228
32228
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32229
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32229
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32230
32230
|
let fetchResult;
|
|
32231
32231
|
try {
|
|
32232
32232
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32360,7 +32360,7 @@ var Person = class Person extends Object$1 {
|
|
|
32360
32360
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32361
32361
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32362
32362
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32363
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32363
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32364
32364
|
let fetchResult;
|
|
32365
32365
|
try {
|
|
32366
32366
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32492,7 +32492,7 @@ var Person = class Person extends Object$1 {
|
|
|
32492
32492
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32493
32493
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32494
32494
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32495
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32495
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32496
32496
|
let fetchResult;
|
|
32497
32497
|
try {
|
|
32498
32498
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32624,7 +32624,7 @@ var Person = class Person extends Object$1 {
|
|
|
32624
32624
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32625
32625
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32626
32626
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32627
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32627
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32628
32628
|
let fetchResult;
|
|
32629
32629
|
try {
|
|
32630
32630
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32796,7 +32796,7 @@ var Person = class Person extends Object$1 {
|
|
|
32796
32796
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32797
32797
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32798
32798
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32799
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32799
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32800
32800
|
let fetchResult;
|
|
32801
32801
|
try {
|
|
32802
32802
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32971,7 +32971,7 @@ var Person = class Person extends Object$1 {
|
|
|
32971
32971
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32972
32972
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32973
32973
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32974
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32974
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32975
32975
|
let fetchResult;
|
|
32976
32976
|
try {
|
|
32977
32977
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33204,7 +33204,7 @@ var Person = class Person extends Object$1 {
|
|
|
33204
33204
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33205
33205
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33206
33206
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33207
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
33207
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33208
33208
|
let fetchResult;
|
|
33209
33209
|
try {
|
|
33210
33210
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33906,7 +33906,7 @@ var Person = class Person extends Object$1 {
|
|
|
33906
33906
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33907
33907
|
*/
|
|
33908
33908
|
static async fromJsonLd(json, options = {}) {
|
|
33909
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
33909
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33910
33910
|
try {
|
|
33911
33911
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
33912
33912
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34697,7 +34697,7 @@ var Place = class Place extends Object$1 {
|
|
|
34697
34697
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34698
34698
|
*/
|
|
34699
34699
|
static async fromJsonLd(json, options = {}) {
|
|
34700
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
34700
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34701
34701
|
try {
|
|
34702
34702
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
34703
34703
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34904,7 +34904,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
34904
34904
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34905
34905
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34906
34906
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34907
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
34907
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34908
34908
|
let fetchResult;
|
|
34909
34909
|
try {
|
|
34910
34910
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35106,7 +35106,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
35106
35106
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35107
35107
|
*/
|
|
35108
35108
|
static async fromJsonLd(json, options = {}) {
|
|
35109
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
35109
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35110
35110
|
try {
|
|
35111
35111
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
35112
35112
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35281,7 +35281,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
35281
35281
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35282
35282
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35283
35283
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35284
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35284
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35285
35285
|
let fetchResult;
|
|
35286
35286
|
try {
|
|
35287
35287
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35413,7 +35413,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
35413
35413
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35414
35414
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35415
35415
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35416
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35416
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35417
35417
|
let fetchResult;
|
|
35418
35418
|
try {
|
|
35419
35419
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35686,7 +35686,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
35686
35686
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35687
35687
|
*/
|
|
35688
35688
|
static async fromJsonLd(json, options = {}) {
|
|
35689
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
35689
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35690
35690
|
try {
|
|
35691
35691
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
35692
35692
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35930,7 +35930,7 @@ var Read = class Read extends Activity {
|
|
|
35930
35930
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35931
35931
|
*/
|
|
35932
35932
|
static async fromJsonLd(json, options = {}) {
|
|
35933
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
35933
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35934
35934
|
try {
|
|
35935
35935
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
35936
35936
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36080,7 +36080,7 @@ var Reject = class Reject extends Activity {
|
|
|
36080
36080
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36081
36081
|
*/
|
|
36082
36082
|
static async fromJsonLd(json, options = {}) {
|
|
36083
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
36083
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36084
36084
|
try {
|
|
36085
36085
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
36086
36086
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36255,7 +36255,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
36255
36255
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36256
36256
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36257
36257
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36258
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36258
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36259
36259
|
let fetchResult;
|
|
36260
36260
|
try {
|
|
36261
36261
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36387,7 +36387,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
36387
36387
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36388
36388
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36389
36389
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36390
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36390
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36391
36391
|
let fetchResult;
|
|
36392
36392
|
try {
|
|
36393
36393
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36568,7 +36568,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
36568
36568
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36569
36569
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36570
36570
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36571
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36571
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36572
36572
|
let fetchResult;
|
|
36573
36573
|
try {
|
|
36574
36574
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36857,7 +36857,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
36857
36857
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36858
36858
|
*/
|
|
36859
36859
|
static async fromJsonLd(json, options = {}) {
|
|
36860
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
36860
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36861
36861
|
try {
|
|
36862
36862
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
36863
36863
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37073,7 +37073,7 @@ var Remove = class Remove extends Activity {
|
|
|
37073
37073
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37074
37074
|
*/
|
|
37075
37075
|
static async fromJsonLd(json, options = {}) {
|
|
37076
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
37076
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37077
37077
|
try {
|
|
37078
37078
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
37079
37079
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37470,7 +37470,7 @@ var Service = class Service extends Object$1 {
|
|
|
37470
37470
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37471
37471
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37472
37472
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37473
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37473
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37474
37474
|
let fetchResult;
|
|
37475
37475
|
try {
|
|
37476
37476
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37651,7 +37651,7 @@ var Service = class Service extends Object$1 {
|
|
|
37651
37651
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37652
37652
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37653
37653
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37654
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37654
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37655
37655
|
let fetchResult;
|
|
37656
37656
|
try {
|
|
37657
37657
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37850,7 +37850,7 @@ var Service = class Service extends Object$1 {
|
|
|
37850
37850
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37851
37851
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37852
37852
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37853
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37853
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37854
37854
|
let fetchResult;
|
|
37855
37855
|
try {
|
|
37856
37856
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38001,7 +38001,7 @@ var Service = class Service extends Object$1 {
|
|
|
38001
38001
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38002
38002
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38003
38003
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38004
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38004
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38005
38005
|
let fetchResult;
|
|
38006
38006
|
try {
|
|
38007
38007
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38149,7 +38149,7 @@ var Service = class Service extends Object$1 {
|
|
|
38149
38149
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38150
38150
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38151
38151
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38152
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38152
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38153
38153
|
let fetchResult;
|
|
38154
38154
|
try {
|
|
38155
38155
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38282,7 +38282,7 @@ var Service = class Service extends Object$1 {
|
|
|
38282
38282
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38283
38283
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38284
38284
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38285
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38285
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38286
38286
|
let fetchResult;
|
|
38287
38287
|
try {
|
|
38288
38288
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38418,7 +38418,7 @@ var Service = class Service extends Object$1 {
|
|
|
38418
38418
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38419
38419
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38420
38420
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38421
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38421
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38422
38422
|
let fetchResult;
|
|
38423
38423
|
try {
|
|
38424
38424
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38552,7 +38552,7 @@ var Service = class Service extends Object$1 {
|
|
|
38552
38552
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38553
38553
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38554
38554
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38555
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38555
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38556
38556
|
let fetchResult;
|
|
38557
38557
|
try {
|
|
38558
38558
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38684,7 +38684,7 @@ var Service = class Service extends Object$1 {
|
|
|
38684
38684
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38685
38685
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38686
38686
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38687
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38687
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38688
38688
|
let fetchResult;
|
|
38689
38689
|
try {
|
|
38690
38690
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38816,7 +38816,7 @@ var Service = class Service extends Object$1 {
|
|
|
38816
38816
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38817
38817
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38818
38818
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38819
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38819
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38820
38820
|
let fetchResult;
|
|
38821
38821
|
try {
|
|
38822
38822
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38988,7 +38988,7 @@ var Service = class Service extends Object$1 {
|
|
|
38988
38988
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38989
38989
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38990
38990
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38991
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38991
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38992
38992
|
let fetchResult;
|
|
38993
38993
|
try {
|
|
38994
38994
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39163,7 +39163,7 @@ var Service = class Service extends Object$1 {
|
|
|
39163
39163
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39164
39164
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39165
39165
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39166
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
39166
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39167
39167
|
let fetchResult;
|
|
39168
39168
|
try {
|
|
39169
39169
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39396,7 +39396,7 @@ var Service = class Service extends Object$1 {
|
|
|
39396
39396
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39397
39397
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39398
39398
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39399
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
39399
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39400
39400
|
let fetchResult;
|
|
39401
39401
|
try {
|
|
39402
39402
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40098,7 +40098,7 @@ var Service = class Service extends Object$1 {
|
|
|
40098
40098
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40099
40099
|
*/
|
|
40100
40100
|
static async fromJsonLd(json, options = {}) {
|
|
40101
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
40101
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40102
40102
|
try {
|
|
40103
40103
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
40104
40104
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40816,7 +40816,7 @@ var Source = class {
|
|
|
40816
40816
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40817
40817
|
*/
|
|
40818
40818
|
static async fromJsonLd(json, options = {}) {
|
|
40819
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
40819
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40820
40820
|
try {
|
|
40821
40821
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
40822
40822
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40999,7 +40999,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
40999
40999
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41000
41000
|
*/
|
|
41001
41001
|
static async fromJsonLd(json, options = {}) {
|
|
41002
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41002
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41003
41003
|
try {
|
|
41004
41004
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
41005
41005
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41149,7 +41149,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
41149
41149
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41150
41150
|
*/
|
|
41151
41151
|
static async fromJsonLd(json, options = {}) {
|
|
41152
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41152
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41153
41153
|
try {
|
|
41154
41154
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
41155
41155
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41338,7 +41338,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
41338
41338
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41339
41339
|
*/
|
|
41340
41340
|
static async fromJsonLd(json, options = {}) {
|
|
41341
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41341
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41342
41342
|
try {
|
|
41343
41343
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
41344
41344
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41505,7 +41505,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
41505
41505
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41506
41506
|
*/
|
|
41507
41507
|
static async fromJsonLd(json, options = {}) {
|
|
41508
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41508
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41509
41509
|
try {
|
|
41510
41510
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
41511
41511
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41669,7 +41669,7 @@ var Undo = class Undo extends Activity {
|
|
|
41669
41669
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41670
41670
|
*/
|
|
41671
41671
|
static async fromJsonLd(json, options = {}) {
|
|
41672
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41672
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41673
41673
|
try {
|
|
41674
41674
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
41675
41675
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41871,7 +41871,7 @@ var Update = class Update extends Activity {
|
|
|
41871
41871
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41872
41872
|
*/
|
|
41873
41873
|
static async fromJsonLd(json, options = {}) {
|
|
41874
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41874
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41875
41875
|
try {
|
|
41876
41876
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
41877
41877
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42027,7 +42027,7 @@ var Video = class Video extends Document {
|
|
|
42027
42027
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42028
42028
|
*/
|
|
42029
42029
|
static async fromJsonLd(json, options = {}) {
|
|
42030
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
42030
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42031
42031
|
try {
|
|
42032
42032
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
42033
42033
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42176,7 +42176,7 @@ var View = class View extends Activity {
|
|
|
42176
42176
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42177
42177
|
*/
|
|
42178
42178
|
static async fromJsonLd(json, options = {}) {
|
|
42179
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
42179
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42180
42180
|
try {
|
|
42181
42181
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
42182
42182
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|