@fedify/vocab 2.0.32-dev.2371 → 2.0.33-dev.2380
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-CLVLffBT.mjs → deno-DcfLC64Q.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-dOUgbHq4.mjs → vocab-DsPub4YQ.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.33-dev.2380+c64d2e16";
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/type.ts
|
|
15
15
|
function getTypeId(object) {
|
|
@@ -653,7 +653,7 @@ var Object$1 = class Object$1 {
|
|
|
653
653
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
654
654
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
655
655
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
656
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
656
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
657
657
|
let fetchResult;
|
|
658
658
|
try {
|
|
659
659
|
fetchResult = await documentLoader(url.href);
|
|
@@ -809,7 +809,7 @@ var Object$1 = class Object$1 {
|
|
|
809
809
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
810
810
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
811
811
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
812
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
812
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
813
813
|
let fetchResult;
|
|
814
814
|
try {
|
|
815
815
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1040,7 +1040,7 @@ var Object$1 = class Object$1 {
|
|
|
1040
1040
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1041
1041
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1042
1042
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1043
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1043
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1044
1044
|
let fetchResult;
|
|
1045
1045
|
try {
|
|
1046
1046
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1243,7 +1243,7 @@ var Object$1 = class Object$1 {
|
|
|
1243
1243
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1244
1244
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1245
1245
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1246
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1246
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1247
1247
|
let fetchResult;
|
|
1248
1248
|
try {
|
|
1249
1249
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1415,7 +1415,7 @@ var Object$1 = class Object$1 {
|
|
|
1415
1415
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1416
1416
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1417
1417
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1418
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1418
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1419
1419
|
let fetchResult;
|
|
1420
1420
|
try {
|
|
1421
1421
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1555,7 +1555,7 @@ var Object$1 = class Object$1 {
|
|
|
1555
1555
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1556
1556
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1557
1557
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1558
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1558
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1559
1559
|
let fetchResult;
|
|
1560
1560
|
try {
|
|
1561
1561
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1740,7 +1740,7 @@ var Object$1 = class Object$1 {
|
|
|
1740
1740
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1741
1741
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1742
1742
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1743
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1743
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1744
1744
|
let fetchResult;
|
|
1745
1745
|
try {
|
|
1746
1746
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1925,7 +1925,7 @@ var Object$1 = class Object$1 {
|
|
|
1925
1925
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1926
1926
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1927
1927
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1928
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1928
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1929
1929
|
let fetchResult;
|
|
1930
1930
|
try {
|
|
1931
1931
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2118,7 +2118,7 @@ var Object$1 = class Object$1 {
|
|
|
2118
2118
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2119
2119
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2120
2120
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2121
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2121
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2122
2122
|
let fetchResult;
|
|
2123
2123
|
try {
|
|
2124
2124
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2311,7 +2311,7 @@ var Object$1 = class Object$1 {
|
|
|
2311
2311
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2312
2312
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2313
2313
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2314
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2314
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2315
2315
|
let fetchResult;
|
|
2316
2316
|
try {
|
|
2317
2317
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2509,7 +2509,7 @@ var Object$1 = class Object$1 {
|
|
|
2509
2509
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2510
2510
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2511
2511
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2512
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2512
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2513
2513
|
let fetchResult;
|
|
2514
2514
|
try {
|
|
2515
2515
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2639,7 +2639,7 @@ var Object$1 = class Object$1 {
|
|
|
2639
2639
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2640
2640
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2641
2641
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2642
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2642
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2643
2643
|
let fetchResult;
|
|
2644
2644
|
try {
|
|
2645
2645
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2775,7 +2775,7 @@ var Object$1 = class Object$1 {
|
|
|
2775
2775
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2776
2776
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2777
2777
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2778
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2778
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2779
2779
|
let fetchResult;
|
|
2780
2780
|
try {
|
|
2781
2781
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2911,7 +2911,7 @@ var Object$1 = class Object$1 {
|
|
|
2911
2911
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2912
2912
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2913
2913
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2914
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2914
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2915
2915
|
let fetchResult;
|
|
2916
2916
|
try {
|
|
2917
2917
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3065,7 +3065,7 @@ var Object$1 = class Object$1 {
|
|
|
3065
3065
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3066
3066
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3067
3067
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3068
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3068
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3069
3069
|
let fetchResult;
|
|
3070
3070
|
try {
|
|
3071
3071
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3227,7 +3227,7 @@ var Object$1 = class Object$1 {
|
|
|
3227
3227
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3228
3228
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3229
3229
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3230
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3230
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3231
3231
|
let fetchResult;
|
|
3232
3232
|
try {
|
|
3233
3233
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3410,7 +3410,7 @@ var Object$1 = class Object$1 {
|
|
|
3410
3410
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3411
3411
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3412
3412
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3413
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3413
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3414
3414
|
let fetchResult;
|
|
3415
3415
|
try {
|
|
3416
3416
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3593,7 +3593,7 @@ var Object$1 = class Object$1 {
|
|
|
3593
3593
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3594
3594
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3595
3595
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3596
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3596
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3597
3597
|
let fetchResult;
|
|
3598
3598
|
try {
|
|
3599
3599
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3776,7 +3776,7 @@ var Object$1 = class Object$1 {
|
|
|
3776
3776
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3777
3777
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3778
3778
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3779
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3779
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3780
3780
|
let fetchResult;
|
|
3781
3781
|
try {
|
|
3782
3782
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3996,7 +3996,7 @@ var Object$1 = class Object$1 {
|
|
|
3996
3996
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3997
3997
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3998
3998
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3999
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3999
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4000
4000
|
let fetchResult;
|
|
4001
4001
|
try {
|
|
4002
4002
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4804,7 +4804,7 @@ var Object$1 = class Object$1 {
|
|
|
4804
4804
|
* @throws {TypeError} If the given `json` is invalid.
|
|
4805
4805
|
*/
|
|
4806
4806
|
static async fromJsonLd(json, options = {}) {
|
|
4807
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
4807
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
4808
4808
|
try {
|
|
4809
4809
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
4810
4810
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6139,7 +6139,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
6139
6139
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6140
6140
|
*/
|
|
6141
6141
|
static async fromJsonLd(json, options = {}) {
|
|
6142
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
6142
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6143
6143
|
try {
|
|
6144
6144
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
6145
6145
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6379,7 +6379,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6379
6379
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6380
6380
|
*/
|
|
6381
6381
|
static async fromJsonLd(json, options = {}) {
|
|
6382
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
6382
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6383
6383
|
try {
|
|
6384
6384
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
6385
6385
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6669,7 +6669,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6669
6669
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6670
6670
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6671
6671
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6672
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6672
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6673
6673
|
let fetchResult;
|
|
6674
6674
|
try {
|
|
6675
6675
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6900,7 +6900,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6900
6900
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6901
6901
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6902
6902
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6903
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6903
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6904
6904
|
let fetchResult;
|
|
6905
6905
|
try {
|
|
6906
6906
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7085,7 +7085,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7085
7085
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7086
7086
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7087
7087
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7088
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7088
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7089
7089
|
let fetchResult;
|
|
7090
7090
|
try {
|
|
7091
7091
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7276,7 +7276,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7276
7276
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7277
7277
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7278
7278
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7279
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7279
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7280
7280
|
let fetchResult;
|
|
7281
7281
|
try {
|
|
7282
7282
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7461,7 +7461,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7461
7461
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7462
7462
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7463
7463
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7464
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7464
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7465
7465
|
let fetchResult;
|
|
7466
7466
|
try {
|
|
7467
7467
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7648,7 +7648,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7648
7648
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7649
7649
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7650
7650
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7651
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7651
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7652
7652
|
let fetchResult;
|
|
7653
7653
|
try {
|
|
7654
7654
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7917,7 +7917,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7917
7917
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7918
7918
|
*/
|
|
7919
7919
|
static async fromJsonLd(json, options = {}) {
|
|
7920
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
7920
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7921
7921
|
try {
|
|
7922
7922
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
7923
7923
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8252,7 +8252,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
8252
8252
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8253
8253
|
*/
|
|
8254
8254
|
static async fromJsonLd(json, options = {}) {
|
|
8255
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8255
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8256
8256
|
try {
|
|
8257
8257
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
8258
8258
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8513,7 +8513,7 @@ var PropertyValue = class {
|
|
|
8513
8513
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8514
8514
|
*/
|
|
8515
8515
|
static async fromJsonLd(json, options = {}) {
|
|
8516
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8516
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8517
8517
|
try {
|
|
8518
8518
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
8519
8519
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8770,7 +8770,7 @@ var DidService = class {
|
|
|
8770
8770
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8771
8771
|
*/
|
|
8772
8772
|
static async fromJsonLd(json, options = {}) {
|
|
8773
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8773
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8774
8774
|
try {
|
|
8775
8775
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
8776
8776
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8929,7 +8929,7 @@ var Export = class Export extends DidService {
|
|
|
8929
8929
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8930
8930
|
*/
|
|
8931
8931
|
static async fromJsonLd(json, options = {}) {
|
|
8932
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8932
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8933
8933
|
try {
|
|
8934
8934
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
8935
8935
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9117,7 +9117,7 @@ var DataIntegrityProof = class {
|
|
|
9117
9117
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9118
9118
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9119
9119
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9120
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
9120
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9121
9121
|
let fetchResult;
|
|
9122
9122
|
try {
|
|
9123
9123
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9336,7 +9336,7 @@ var DataIntegrityProof = class {
|
|
|
9336
9336
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9337
9337
|
*/
|
|
9338
9338
|
static async fromJsonLd(json, options = {}) {
|
|
9339
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9339
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9340
9340
|
try {
|
|
9341
9341
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
9342
9342
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9575,7 +9575,7 @@ var CryptographicKey = class {
|
|
|
9575
9575
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9576
9576
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9577
9577
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9578
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
9578
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9579
9579
|
let fetchResult;
|
|
9580
9580
|
try {
|
|
9581
9581
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9846,7 +9846,7 @@ var CryptographicKey = class {
|
|
|
9846
9846
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9847
9847
|
*/
|
|
9848
9848
|
static async fromJsonLd(json, options = {}) {
|
|
9849
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9849
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9850
9850
|
try {
|
|
9851
9851
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
9852
9852
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10062,7 +10062,7 @@ var Multikey = class {
|
|
|
10062
10062
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10063
10063
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10064
10064
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10065
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
10065
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10066
10066
|
let fetchResult;
|
|
10067
10067
|
try {
|
|
10068
10068
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10339,7 +10339,7 @@ var Multikey = class {
|
|
|
10339
10339
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10340
10340
|
*/
|
|
10341
10341
|
static async fromJsonLd(json, options = {}) {
|
|
10342
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10342
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10343
10343
|
try {
|
|
10344
10344
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
10345
10345
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10542,7 +10542,7 @@ var Accept = class Accept extends Activity {
|
|
|
10542
10542
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10543
10543
|
*/
|
|
10544
10544
|
static async fromJsonLd(json, options = {}) {
|
|
10545
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10545
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10546
10546
|
try {
|
|
10547
10547
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
10548
10548
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10696,7 +10696,7 @@ var Add = class Add extends Activity {
|
|
|
10696
10696
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10697
10697
|
*/
|
|
10698
10698
|
static async fromJsonLd(json, options = {}) {
|
|
10699
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10699
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10700
10700
|
try {
|
|
10701
10701
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
10702
10702
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10867,7 +10867,7 @@ var Announce = class Announce extends Activity {
|
|
|
10867
10867
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10868
10868
|
*/
|
|
10869
10869
|
static async fromJsonLd(json, options = {}) {
|
|
10870
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10870
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10871
10871
|
try {
|
|
10872
10872
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
10873
10873
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11265,7 +11265,7 @@ var Application = class Application extends Object$1 {
|
|
|
11265
11265
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11266
11266
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11267
11267
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11268
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11268
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11269
11269
|
let fetchResult;
|
|
11270
11270
|
try {
|
|
11271
11271
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11446,7 +11446,7 @@ var Application = class Application extends Object$1 {
|
|
|
11446
11446
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11447
11447
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11448
11448
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11449
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11449
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11450
11450
|
let fetchResult;
|
|
11451
11451
|
try {
|
|
11452
11452
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11645,7 +11645,7 @@ var Application = class Application extends Object$1 {
|
|
|
11645
11645
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11646
11646
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11647
11647
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11648
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11648
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11649
11649
|
let fetchResult;
|
|
11650
11650
|
try {
|
|
11651
11651
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11796,7 +11796,7 @@ var Application = class Application extends Object$1 {
|
|
|
11796
11796
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11797
11797
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11798
11798
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11799
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11799
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11800
11800
|
let fetchResult;
|
|
11801
11801
|
try {
|
|
11802
11802
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11944,7 +11944,7 @@ var Application = class Application extends Object$1 {
|
|
|
11944
11944
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11945
11945
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11946
11946
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11947
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11947
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11948
11948
|
let fetchResult;
|
|
11949
11949
|
try {
|
|
11950
11950
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12077,7 +12077,7 @@ var Application = class Application extends Object$1 {
|
|
|
12077
12077
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12078
12078
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12079
12079
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12080
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12080
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12081
12081
|
let fetchResult;
|
|
12082
12082
|
try {
|
|
12083
12083
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12213,7 +12213,7 @@ var Application = class Application extends Object$1 {
|
|
|
12213
12213
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12214
12214
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12215
12215
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12216
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12216
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12217
12217
|
let fetchResult;
|
|
12218
12218
|
try {
|
|
12219
12219
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12347,7 +12347,7 @@ var Application = class Application extends Object$1 {
|
|
|
12347
12347
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12348
12348
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12349
12349
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12350
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12350
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12351
12351
|
let fetchResult;
|
|
12352
12352
|
try {
|
|
12353
12353
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12479,7 +12479,7 @@ var Application = class Application extends Object$1 {
|
|
|
12479
12479
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12480
12480
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12481
12481
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12482
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12482
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12483
12483
|
let fetchResult;
|
|
12484
12484
|
try {
|
|
12485
12485
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12611,7 +12611,7 @@ var Application = class Application extends Object$1 {
|
|
|
12611
12611
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12612
12612
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12613
12613
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12614
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12614
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12615
12615
|
let fetchResult;
|
|
12616
12616
|
try {
|
|
12617
12617
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12783,7 +12783,7 @@ var Application = class Application extends Object$1 {
|
|
|
12783
12783
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12784
12784
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12785
12785
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12786
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12786
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12787
12787
|
let fetchResult;
|
|
12788
12788
|
try {
|
|
12789
12789
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12958,7 +12958,7 @@ var Application = class Application extends Object$1 {
|
|
|
12958
12958
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12959
12959
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12960
12960
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12961
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12961
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12962
12962
|
let fetchResult;
|
|
12963
12963
|
try {
|
|
12964
12964
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13191,7 +13191,7 @@ var Application = class Application extends Object$1 {
|
|
|
13191
13191
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13192
13192
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13193
13193
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13194
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
13194
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13195
13195
|
let fetchResult;
|
|
13196
13196
|
try {
|
|
13197
13197
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13893,7 +13893,7 @@ var Application = class Application extends Object$1 {
|
|
|
13893
13893
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13894
13894
|
*/
|
|
13895
13895
|
static async fromJsonLd(json, options = {}) {
|
|
13896
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
13896
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13897
13897
|
try {
|
|
13898
13898
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
13899
13899
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14503,7 +14503,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
14503
14503
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14504
14504
|
*/
|
|
14505
14505
|
static async fromJsonLd(json, options = {}) {
|
|
14506
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14506
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14507
14507
|
try {
|
|
14508
14508
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
14509
14509
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14658,7 +14658,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
14658
14658
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14659
14659
|
*/
|
|
14660
14660
|
static async fromJsonLd(json, options = {}) {
|
|
14661
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14661
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14662
14662
|
try {
|
|
14663
14663
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
14664
14664
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14896,7 +14896,7 @@ var Article = class Article extends Object$1 {
|
|
|
14896
14896
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14897
14897
|
*/
|
|
14898
14898
|
static async fromJsonLd(json, options = {}) {
|
|
14899
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14899
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14900
14900
|
try {
|
|
14901
14901
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
14902
14902
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15134,7 +15134,7 @@ var Document = class Document extends Object$1 {
|
|
|
15134
15134
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15135
15135
|
*/
|
|
15136
15136
|
static async fromJsonLd(json, options = {}) {
|
|
15137
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
15137
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15138
15138
|
try {
|
|
15139
15139
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
15140
15140
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15324,7 +15324,7 @@ var Audio = class Audio extends Document {
|
|
|
15324
15324
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15325
15325
|
*/
|
|
15326
15326
|
static async fromJsonLd(json, options = {}) {
|
|
15327
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
15327
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15328
15328
|
try {
|
|
15329
15329
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
15330
15330
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15475,7 +15475,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
15475
15475
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15476
15476
|
*/
|
|
15477
15477
|
static async fromJsonLd(json, options = {}) {
|
|
15478
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
15478
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15479
15479
|
try {
|
|
15480
15480
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
15481
15481
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15629,7 +15629,7 @@ var Block = class Block extends Ignore {
|
|
|
15629
15629
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15630
15630
|
*/
|
|
15631
15631
|
static async fromJsonLd(json, options = {}) {
|
|
15632
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
15632
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15633
15633
|
try {
|
|
15634
15634
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
15635
15635
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15896,7 +15896,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15896
15896
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15897
15897
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15898
15898
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15899
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15899
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15900
15900
|
let fetchResult;
|
|
15901
15901
|
try {
|
|
15902
15902
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16026,7 +16026,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16026
16026
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16027
16027
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16028
16028
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16029
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16029
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16030
16030
|
let fetchResult;
|
|
16031
16031
|
try {
|
|
16032
16032
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16156,7 +16156,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16156
16156
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16157
16157
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16158
16158
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16159
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16159
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16160
16160
|
let fetchResult;
|
|
16161
16161
|
try {
|
|
16162
16162
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16286,7 +16286,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16286
16286
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16287
16287
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16288
16288
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16289
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16289
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16290
16290
|
let fetchResult;
|
|
16291
16291
|
try {
|
|
16292
16292
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16427,7 +16427,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16427
16427
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16428
16428
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16429
16429
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16430
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16430
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16431
16431
|
let fetchResult;
|
|
16432
16432
|
try {
|
|
16433
16433
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16556,7 +16556,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16556
16556
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16557
16557
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16558
16558
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16559
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16559
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16560
16560
|
let fetchResult;
|
|
16561
16561
|
try {
|
|
16562
16562
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16685,7 +16685,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16685
16685
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16686
16686
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16687
16687
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16688
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16688
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16689
16689
|
let fetchResult;
|
|
16690
16690
|
try {
|
|
16691
16691
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16814,7 +16814,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16814
16814
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16815
16815
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16816
16816
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16817
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16817
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16818
16818
|
let fetchResult;
|
|
16819
16819
|
try {
|
|
16820
16820
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16943,7 +16943,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16943
16943
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16944
16944
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16945
16945
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16946
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16946
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16947
16947
|
let fetchResult;
|
|
16948
16948
|
try {
|
|
16949
16949
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17072,7 +17072,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
17072
17072
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17073
17073
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17074
17074
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17075
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17075
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17076
17076
|
let fetchResult;
|
|
17077
17077
|
try {
|
|
17078
17078
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17201,7 +17201,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
17201
17201
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17202
17202
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17203
17203
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17204
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17204
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17205
17205
|
let fetchResult;
|
|
17206
17206
|
try {
|
|
17207
17207
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17330,7 +17330,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
17330
17330
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17331
17331
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17332
17332
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17333
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17333
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17334
17334
|
let fetchResult;
|
|
17335
17335
|
try {
|
|
17336
17336
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17766,7 +17766,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
17766
17766
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17767
17767
|
*/
|
|
17768
17768
|
static async fromJsonLd(json, options = {}) {
|
|
17769
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
17769
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17770
17770
|
try {
|
|
17771
17771
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
17772
17772
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18244,7 +18244,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
18244
18244
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18245
18245
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18246
18246
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18247
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
18247
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18248
18248
|
let fetchResult;
|
|
18249
18249
|
try {
|
|
18250
18250
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18374,7 +18374,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
18374
18374
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18375
18375
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18376
18376
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18377
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
18377
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18378
18378
|
let fetchResult;
|
|
18379
18379
|
try {
|
|
18380
18380
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18503,7 +18503,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
18503
18503
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18504
18504
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18505
18505
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18506
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
18506
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18507
18507
|
let fetchResult;
|
|
18508
18508
|
try {
|
|
18509
18509
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18776,7 +18776,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
18776
18776
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18777
18777
|
*/
|
|
18778
18778
|
static async fromJsonLd(json, options = {}) {
|
|
18779
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18779
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18780
18780
|
try {
|
|
18781
18781
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
18782
18782
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19011,7 +19011,7 @@ var Create = class Create extends Activity {
|
|
|
19011
19011
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19012
19012
|
*/
|
|
19013
19013
|
static async fromJsonLd(json, options = {}) {
|
|
19014
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19014
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19015
19015
|
try {
|
|
19016
19016
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
19017
19017
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19178,7 +19178,7 @@ var Delete = class Delete extends Activity {
|
|
|
19178
19178
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19179
19179
|
*/
|
|
19180
19180
|
static async fromJsonLd(json, options = {}) {
|
|
19181
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19181
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19182
19182
|
try {
|
|
19183
19183
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
19184
19184
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19332,7 +19332,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
19332
19332
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19333
19333
|
*/
|
|
19334
19334
|
static async fromJsonLd(json, options = {}) {
|
|
19335
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19335
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19336
19336
|
try {
|
|
19337
19337
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
19338
19338
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19694,7 +19694,7 @@ var Endpoints = class {
|
|
|
19694
19694
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19695
19695
|
*/
|
|
19696
19696
|
static async fromJsonLd(json, options = {}) {
|
|
19697
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19697
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19698
19698
|
try {
|
|
19699
19699
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
19700
19700
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19935,7 +19935,7 @@ var Event = class Event extends Object$1 {
|
|
|
19935
19935
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19936
19936
|
*/
|
|
19937
19937
|
static async fromJsonLd(json, options = {}) {
|
|
19938
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19938
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19939
19939
|
try {
|
|
19940
19940
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
19941
19941
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20087,7 +20087,7 @@ var Flag = class Flag extends Activity {
|
|
|
20087
20087
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20088
20088
|
*/
|
|
20089
20089
|
static async fromJsonLd(json, options = {}) {
|
|
20090
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
20090
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20091
20091
|
try {
|
|
20092
20092
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
20093
20093
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20243,7 +20243,7 @@ var Follow = class Follow extends Activity {
|
|
|
20243
20243
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20244
20244
|
*/
|
|
20245
20245
|
static async fromJsonLd(json, options = {}) {
|
|
20246
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
20246
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20247
20247
|
try {
|
|
20248
20248
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
20249
20249
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20641,7 +20641,7 @@ var Group = class Group extends Object$1 {
|
|
|
20641
20641
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20642
20642
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20643
20643
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20644
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20644
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20645
20645
|
let fetchResult;
|
|
20646
20646
|
try {
|
|
20647
20647
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20822,7 +20822,7 @@ var Group = class Group extends Object$1 {
|
|
|
20822
20822
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20823
20823
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20824
20824
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20825
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20825
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20826
20826
|
let fetchResult;
|
|
20827
20827
|
try {
|
|
20828
20828
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21021,7 +21021,7 @@ var Group = class Group extends Object$1 {
|
|
|
21021
21021
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21022
21022
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21023
21023
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21024
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21024
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21025
21025
|
let fetchResult;
|
|
21026
21026
|
try {
|
|
21027
21027
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21172,7 +21172,7 @@ var Group = class Group extends Object$1 {
|
|
|
21172
21172
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21173
21173
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21174
21174
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21175
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21175
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21176
21176
|
let fetchResult;
|
|
21177
21177
|
try {
|
|
21178
21178
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21320,7 +21320,7 @@ var Group = class Group extends Object$1 {
|
|
|
21320
21320
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21321
21321
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21322
21322
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21323
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21323
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21324
21324
|
let fetchResult;
|
|
21325
21325
|
try {
|
|
21326
21326
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21453,7 +21453,7 @@ var Group = class Group extends Object$1 {
|
|
|
21453
21453
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21454
21454
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21455
21455
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21456
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21456
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21457
21457
|
let fetchResult;
|
|
21458
21458
|
try {
|
|
21459
21459
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21589,7 +21589,7 @@ var Group = class Group extends Object$1 {
|
|
|
21589
21589
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21590
21590
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21591
21591
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21592
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21592
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21593
21593
|
let fetchResult;
|
|
21594
21594
|
try {
|
|
21595
21595
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21723,7 +21723,7 @@ var Group = class Group extends Object$1 {
|
|
|
21723
21723
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21724
21724
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21725
21725
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21726
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21726
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21727
21727
|
let fetchResult;
|
|
21728
21728
|
try {
|
|
21729
21729
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21855,7 +21855,7 @@ var Group = class Group extends Object$1 {
|
|
|
21855
21855
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21856
21856
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21857
21857
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21858
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21858
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21859
21859
|
let fetchResult;
|
|
21860
21860
|
try {
|
|
21861
21861
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21987,7 +21987,7 @@ var Group = class Group extends Object$1 {
|
|
|
21987
21987
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21988
21988
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21989
21989
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21990
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21990
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21991
21991
|
let fetchResult;
|
|
21992
21992
|
try {
|
|
21993
21993
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22159,7 +22159,7 @@ var Group = class Group extends Object$1 {
|
|
|
22159
22159
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22160
22160
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22161
22161
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22162
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
22162
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22163
22163
|
let fetchResult;
|
|
22164
22164
|
try {
|
|
22165
22165
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22334,7 +22334,7 @@ var Group = class Group extends Object$1 {
|
|
|
22334
22334
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22335
22335
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22336
22336
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22337
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
22337
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22338
22338
|
let fetchResult;
|
|
22339
22339
|
try {
|
|
22340
22340
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22567,7 +22567,7 @@ var Group = class Group extends Object$1 {
|
|
|
22567
22567
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22568
22568
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22569
22569
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22570
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
22570
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22571
22571
|
let fetchResult;
|
|
22572
22572
|
try {
|
|
22573
22573
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23269,7 +23269,7 @@ var Group = class Group extends Object$1 {
|
|
|
23269
23269
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23270
23270
|
*/
|
|
23271
23271
|
static async fromJsonLd(json, options = {}) {
|
|
23272
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23272
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23273
23273
|
try {
|
|
23274
23274
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
23275
23275
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24030,7 +24030,7 @@ var Link = class Link {
|
|
|
24030
24030
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24031
24031
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24032
24032
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24033
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
24033
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24034
24034
|
let fetchResult;
|
|
24035
24035
|
try {
|
|
24036
24036
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24332,7 +24332,7 @@ var Link = class Link {
|
|
|
24332
24332
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24333
24333
|
*/
|
|
24334
24334
|
static async fromJsonLd(json, options = {}) {
|
|
24335
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24335
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24336
24336
|
try {
|
|
24337
24337
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
24338
24338
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24682,7 +24682,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
24682
24682
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24683
24683
|
*/
|
|
24684
24684
|
static async fromJsonLd(json, options = {}) {
|
|
24685
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24685
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24686
24686
|
try {
|
|
24687
24687
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
24688
24688
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24839,7 +24839,7 @@ var Image = class Image extends Document {
|
|
|
24839
24839
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24840
24840
|
*/
|
|
24841
24841
|
static async fromJsonLd(json, options = {}) {
|
|
24842
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24842
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24843
24843
|
try {
|
|
24844
24844
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
24845
24845
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24991,7 +24991,7 @@ var Offer = class Offer extends Activity {
|
|
|
24991
24991
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24992
24992
|
*/
|
|
24993
24993
|
static async fromJsonLd(json, options = {}) {
|
|
24994
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24994
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24995
24995
|
try {
|
|
24996
24996
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
24997
24997
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25143,7 +25143,7 @@ var Invite = class Invite extends Offer {
|
|
|
25143
25143
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25144
25144
|
*/
|
|
25145
25145
|
static async fromJsonLd(json, options = {}) {
|
|
25146
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25146
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25147
25147
|
try {
|
|
25148
25148
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
25149
25149
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25294,7 +25294,7 @@ var Join = class Join extends Activity {
|
|
|
25294
25294
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25295
25295
|
*/
|
|
25296
25296
|
static async fromJsonLd(json, options = {}) {
|
|
25297
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25297
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25298
25298
|
try {
|
|
25299
25299
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
25300
25300
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25445,7 +25445,7 @@ var Leave = class Leave extends Activity {
|
|
|
25445
25445
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25446
25446
|
*/
|
|
25447
25447
|
static async fromJsonLd(json, options = {}) {
|
|
25448
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25448
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25449
25449
|
try {
|
|
25450
25450
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
25451
25451
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25600,7 +25600,7 @@ var Like = class Like extends Activity {
|
|
|
25600
25600
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25601
25601
|
*/
|
|
25602
25602
|
static async fromJsonLd(json, options = {}) {
|
|
25603
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25603
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25604
25604
|
try {
|
|
25605
25605
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
25606
25606
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25750,7 +25750,7 @@ var Listen = class Listen extends Activity {
|
|
|
25750
25750
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25751
25751
|
*/
|
|
25752
25752
|
static async fromJsonLd(json, options = {}) {
|
|
25753
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25753
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25754
25754
|
try {
|
|
25755
25755
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
25756
25756
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25904,7 +25904,7 @@ var Mention = class Mention extends Link {
|
|
|
25904
25904
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25905
25905
|
*/
|
|
25906
25906
|
static async fromJsonLd(json, options = {}) {
|
|
25907
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25907
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25908
25908
|
try {
|
|
25909
25909
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
25910
25910
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26056,7 +26056,7 @@ var Move = class Move extends Activity {
|
|
|
26056
26056
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26057
26057
|
*/
|
|
26058
26058
|
static async fromJsonLd(json, options = {}) {
|
|
26059
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
26059
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26060
26060
|
try {
|
|
26061
26061
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
26062
26062
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26295,7 +26295,7 @@ var Note = class Note extends Object$1 {
|
|
|
26295
26295
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26296
26296
|
*/
|
|
26297
26297
|
static async fromJsonLd(json, options = {}) {
|
|
26298
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
26298
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26299
26299
|
try {
|
|
26300
26300
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
26301
26301
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26433,7 +26433,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
26433
26433
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26434
26434
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26435
26435
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26436
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26436
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26437
26437
|
let fetchResult;
|
|
26438
26438
|
try {
|
|
26439
26439
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26691,7 +26691,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
26691
26691
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26692
26692
|
*/
|
|
26693
26693
|
static async fromJsonLd(json, options = {}) {
|
|
26694
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
26694
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26695
26695
|
try {
|
|
26696
26696
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
26697
26697
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26904,7 +26904,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
26904
26904
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26905
26905
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26906
26906
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26907
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26907
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26908
26908
|
let fetchResult;
|
|
26909
26909
|
try {
|
|
26910
26910
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27185,7 +27185,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
27185
27185
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27186
27186
|
*/
|
|
27187
27187
|
static async fromJsonLd(json, options = {}) {
|
|
27188
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
27188
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27189
27189
|
try {
|
|
27190
27190
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
27191
27191
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27686,7 +27686,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27686
27686
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27687
27687
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27688
27688
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27689
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27689
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27690
27690
|
let fetchResult;
|
|
27691
27691
|
try {
|
|
27692
27692
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27867,7 +27867,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27867
27867
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27868
27868
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27869
27869
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27870
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27870
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27871
27871
|
let fetchResult;
|
|
27872
27872
|
try {
|
|
27873
27873
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28066,7 +28066,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28066
28066
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28067
28067
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28068
28068
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28069
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28069
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28070
28070
|
let fetchResult;
|
|
28071
28071
|
try {
|
|
28072
28072
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28217,7 +28217,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28217
28217
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28218
28218
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28219
28219
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28220
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28220
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28221
28221
|
let fetchResult;
|
|
28222
28222
|
try {
|
|
28223
28223
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28365,7 +28365,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28365
28365
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28366
28366
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28367
28367
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28368
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28368
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28369
28369
|
let fetchResult;
|
|
28370
28370
|
try {
|
|
28371
28371
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28498,7 +28498,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28498
28498
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28499
28499
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28500
28500
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28501
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28501
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28502
28502
|
let fetchResult;
|
|
28503
28503
|
try {
|
|
28504
28504
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28634,7 +28634,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28634
28634
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28635
28635
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28636
28636
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28637
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28637
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28638
28638
|
let fetchResult;
|
|
28639
28639
|
try {
|
|
28640
28640
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28768,7 +28768,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28768
28768
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28769
28769
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28770
28770
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28771
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28771
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28772
28772
|
let fetchResult;
|
|
28773
28773
|
try {
|
|
28774
28774
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28900,7 +28900,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28900
28900
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28901
28901
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28902
28902
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28903
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28903
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28904
28904
|
let fetchResult;
|
|
28905
28905
|
try {
|
|
28906
28906
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29032,7 +29032,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29032
29032
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29033
29033
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29034
29034
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29035
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29035
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29036
29036
|
let fetchResult;
|
|
29037
29037
|
try {
|
|
29038
29038
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29204,7 +29204,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29204
29204
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29205
29205
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29206
29206
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29207
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29207
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29208
29208
|
let fetchResult;
|
|
29209
29209
|
try {
|
|
29210
29210
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29379,7 +29379,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29379
29379
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29380
29380
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29381
29381
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29382
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29382
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29383
29383
|
let fetchResult;
|
|
29384
29384
|
try {
|
|
29385
29385
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29612,7 +29612,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29612
29612
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29613
29613
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29614
29614
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29615
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29615
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29616
29616
|
let fetchResult;
|
|
29617
29617
|
try {
|
|
29618
29618
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30314,7 +30314,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30314
30314
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30315
30315
|
*/
|
|
30316
30316
|
static async fromJsonLd(json, options = {}) {
|
|
30317
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
30317
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30318
30318
|
try {
|
|
30319
30319
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
30320
30320
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30929,7 +30929,7 @@ var Page = class Page extends Document {
|
|
|
30929
30929
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30930
30930
|
*/
|
|
30931
30931
|
static async fromJsonLd(json, options = {}) {
|
|
30932
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
30932
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30933
30933
|
try {
|
|
30934
30934
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
30935
30935
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31327,7 +31327,7 @@ var Person = class Person extends Object$1 {
|
|
|
31327
31327
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31328
31328
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31329
31329
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31330
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31330
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31331
31331
|
let fetchResult;
|
|
31332
31332
|
try {
|
|
31333
31333
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31508,7 +31508,7 @@ var Person = class Person extends Object$1 {
|
|
|
31508
31508
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31509
31509
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31510
31510
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31511
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31511
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31512
31512
|
let fetchResult;
|
|
31513
31513
|
try {
|
|
31514
31514
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31707,7 +31707,7 @@ var Person = class Person extends Object$1 {
|
|
|
31707
31707
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31708
31708
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31709
31709
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31710
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31710
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31711
31711
|
let fetchResult;
|
|
31712
31712
|
try {
|
|
31713
31713
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31858,7 +31858,7 @@ var Person = class Person extends Object$1 {
|
|
|
31858
31858
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31859
31859
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31860
31860
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31861
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31861
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31862
31862
|
let fetchResult;
|
|
31863
31863
|
try {
|
|
31864
31864
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32006,7 +32006,7 @@ var Person = class Person extends Object$1 {
|
|
|
32006
32006
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32007
32007
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32008
32008
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32009
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32009
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32010
32010
|
let fetchResult;
|
|
32011
32011
|
try {
|
|
32012
32012
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32139,7 +32139,7 @@ var Person = class Person extends Object$1 {
|
|
|
32139
32139
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32140
32140
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32141
32141
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32142
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32142
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32143
32143
|
let fetchResult;
|
|
32144
32144
|
try {
|
|
32145
32145
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32275,7 +32275,7 @@ var Person = class Person extends Object$1 {
|
|
|
32275
32275
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32276
32276
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32277
32277
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32278
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32278
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32279
32279
|
let fetchResult;
|
|
32280
32280
|
try {
|
|
32281
32281
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32409,7 +32409,7 @@ var Person = class Person extends Object$1 {
|
|
|
32409
32409
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32410
32410
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32411
32411
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32412
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32412
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32413
32413
|
let fetchResult;
|
|
32414
32414
|
try {
|
|
32415
32415
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32541,7 +32541,7 @@ var Person = class Person extends Object$1 {
|
|
|
32541
32541
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32542
32542
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32543
32543
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32544
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32544
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32545
32545
|
let fetchResult;
|
|
32546
32546
|
try {
|
|
32547
32547
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32673,7 +32673,7 @@ var Person = class Person extends Object$1 {
|
|
|
32673
32673
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32674
32674
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32675
32675
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32676
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32676
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32677
32677
|
let fetchResult;
|
|
32678
32678
|
try {
|
|
32679
32679
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32845,7 +32845,7 @@ var Person = class Person extends Object$1 {
|
|
|
32845
32845
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32846
32846
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32847
32847
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32848
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32848
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32849
32849
|
let fetchResult;
|
|
32850
32850
|
try {
|
|
32851
32851
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33020,7 +33020,7 @@ var Person = class Person extends Object$1 {
|
|
|
33020
33020
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33021
33021
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33022
33022
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33023
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
33023
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33024
33024
|
let fetchResult;
|
|
33025
33025
|
try {
|
|
33026
33026
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33253,7 +33253,7 @@ var Person = class Person extends Object$1 {
|
|
|
33253
33253
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33254
33254
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33255
33255
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33256
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
33256
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33257
33257
|
let fetchResult;
|
|
33258
33258
|
try {
|
|
33259
33259
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33955,7 +33955,7 @@ var Person = class Person extends Object$1 {
|
|
|
33955
33955
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33956
33956
|
*/
|
|
33957
33957
|
static async fromJsonLd(json, options = {}) {
|
|
33958
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
33958
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33959
33959
|
try {
|
|
33960
33960
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
33961
33961
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34747,7 +34747,7 @@ var Place = class Place extends Object$1 {
|
|
|
34747
34747
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34748
34748
|
*/
|
|
34749
34749
|
static async fromJsonLd(json, options = {}) {
|
|
34750
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
34750
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34751
34751
|
try {
|
|
34752
34752
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
34753
34753
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34955,7 +34955,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
34955
34955
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34956
34956
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34957
34957
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34958
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
34958
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34959
34959
|
let fetchResult;
|
|
34960
34960
|
try {
|
|
34961
34961
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35157,7 +35157,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
35157
35157
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35158
35158
|
*/
|
|
35159
35159
|
static async fromJsonLd(json, options = {}) {
|
|
35160
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
35160
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35161
35161
|
try {
|
|
35162
35162
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
35163
35163
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35333,7 +35333,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
35333
35333
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35334
35334
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35335
35335
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35336
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35336
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35337
35337
|
let fetchResult;
|
|
35338
35338
|
try {
|
|
35339
35339
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35465,7 +35465,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
35465
35465
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35466
35466
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35467
35467
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35468
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35468
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35469
35469
|
let fetchResult;
|
|
35470
35470
|
try {
|
|
35471
35471
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35738,7 +35738,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
35738
35738
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35739
35739
|
*/
|
|
35740
35740
|
static async fromJsonLd(json, options = {}) {
|
|
35741
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
35741
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35742
35742
|
try {
|
|
35743
35743
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
35744
35744
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35983,7 +35983,7 @@ var Read = class Read extends Activity {
|
|
|
35983
35983
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35984
35984
|
*/
|
|
35985
35985
|
static async fromJsonLd(json, options = {}) {
|
|
35986
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
35986
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35987
35987
|
try {
|
|
35988
35988
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
35989
35989
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36134,7 +36134,7 @@ var Reject = class Reject extends Activity {
|
|
|
36134
36134
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36135
36135
|
*/
|
|
36136
36136
|
static async fromJsonLd(json, options = {}) {
|
|
36137
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
36137
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36138
36138
|
try {
|
|
36139
36139
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
36140
36140
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36310,7 +36310,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
36310
36310
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36311
36311
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36312
36312
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36313
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36313
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36314
36314
|
let fetchResult;
|
|
36315
36315
|
try {
|
|
36316
36316
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36442,7 +36442,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
36442
36442
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36443
36443
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36444
36444
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36445
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36445
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36446
36446
|
let fetchResult;
|
|
36447
36447
|
try {
|
|
36448
36448
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36623,7 +36623,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
36623
36623
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36624
36624
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36625
36625
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36626
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36626
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36627
36627
|
let fetchResult;
|
|
36628
36628
|
try {
|
|
36629
36629
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36912,7 +36912,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
36912
36912
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36913
36913
|
*/
|
|
36914
36914
|
static async fromJsonLd(json, options = {}) {
|
|
36915
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
36915
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36916
36916
|
try {
|
|
36917
36917
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
36918
36918
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37129,7 +37129,7 @@ var Remove = class Remove extends Activity {
|
|
|
37129
37129
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37130
37130
|
*/
|
|
37131
37131
|
static async fromJsonLd(json, options = {}) {
|
|
37132
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
37132
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37133
37133
|
try {
|
|
37134
37134
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
37135
37135
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37527,7 +37527,7 @@ var Service = class Service extends Object$1 {
|
|
|
37527
37527
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37528
37528
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37529
37529
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37530
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37530
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37531
37531
|
let fetchResult;
|
|
37532
37532
|
try {
|
|
37533
37533
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37708,7 +37708,7 @@ var Service = class Service extends Object$1 {
|
|
|
37708
37708
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37709
37709
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37710
37710
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37711
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37711
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37712
37712
|
let fetchResult;
|
|
37713
37713
|
try {
|
|
37714
37714
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37907,7 +37907,7 @@ var Service = class Service extends Object$1 {
|
|
|
37907
37907
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37908
37908
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37909
37909
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37910
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37910
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37911
37911
|
let fetchResult;
|
|
37912
37912
|
try {
|
|
37913
37913
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38058,7 +38058,7 @@ var Service = class Service extends Object$1 {
|
|
|
38058
38058
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38059
38059
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38060
38060
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38061
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38061
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38062
38062
|
let fetchResult;
|
|
38063
38063
|
try {
|
|
38064
38064
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38206,7 +38206,7 @@ var Service = class Service extends Object$1 {
|
|
|
38206
38206
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38207
38207
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38208
38208
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38209
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38209
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38210
38210
|
let fetchResult;
|
|
38211
38211
|
try {
|
|
38212
38212
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38339,7 +38339,7 @@ var Service = class Service extends Object$1 {
|
|
|
38339
38339
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38340
38340
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38341
38341
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38342
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38342
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38343
38343
|
let fetchResult;
|
|
38344
38344
|
try {
|
|
38345
38345
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38475,7 +38475,7 @@ var Service = class Service extends Object$1 {
|
|
|
38475
38475
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38476
38476
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38477
38477
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38478
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38478
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38479
38479
|
let fetchResult;
|
|
38480
38480
|
try {
|
|
38481
38481
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38609,7 +38609,7 @@ var Service = class Service extends Object$1 {
|
|
|
38609
38609
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38610
38610
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38611
38611
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38612
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38612
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38613
38613
|
let fetchResult;
|
|
38614
38614
|
try {
|
|
38615
38615
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38741,7 +38741,7 @@ var Service = class Service extends Object$1 {
|
|
|
38741
38741
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38742
38742
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38743
38743
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38744
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38744
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38745
38745
|
let fetchResult;
|
|
38746
38746
|
try {
|
|
38747
38747
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38873,7 +38873,7 @@ var Service = class Service extends Object$1 {
|
|
|
38873
38873
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38874
38874
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38875
38875
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38876
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38876
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38877
38877
|
let fetchResult;
|
|
38878
38878
|
try {
|
|
38879
38879
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39045,7 +39045,7 @@ var Service = class Service extends Object$1 {
|
|
|
39045
39045
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39046
39046
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39047
39047
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39048
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
39048
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39049
39049
|
let fetchResult;
|
|
39050
39050
|
try {
|
|
39051
39051
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39220,7 +39220,7 @@ var Service = class Service extends Object$1 {
|
|
|
39220
39220
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39221
39221
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39222
39222
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39223
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
39223
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39224
39224
|
let fetchResult;
|
|
39225
39225
|
try {
|
|
39226
39226
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39453,7 +39453,7 @@ var Service = class Service extends Object$1 {
|
|
|
39453
39453
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39454
39454
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39455
39455
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39456
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
39456
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39457
39457
|
let fetchResult;
|
|
39458
39458
|
try {
|
|
39459
39459
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40155,7 +40155,7 @@ var Service = class Service extends Object$1 {
|
|
|
40155
40155
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40156
40156
|
*/
|
|
40157
40157
|
static async fromJsonLd(json, options = {}) {
|
|
40158
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
40158
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40159
40159
|
try {
|
|
40160
40160
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
40161
40161
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40874,7 +40874,7 @@ var Source = class {
|
|
|
40874
40874
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40875
40875
|
*/
|
|
40876
40876
|
static async fromJsonLd(json, options = {}) {
|
|
40877
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
40877
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40878
40878
|
try {
|
|
40879
40879
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
40880
40880
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41058,7 +41058,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
41058
41058
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41059
41059
|
*/
|
|
41060
41060
|
static async fromJsonLd(json, options = {}) {
|
|
41061
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41061
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41062
41062
|
try {
|
|
41063
41063
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
41064
41064
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41209,7 +41209,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
41209
41209
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41210
41210
|
*/
|
|
41211
41211
|
static async fromJsonLd(json, options = {}) {
|
|
41212
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41212
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41213
41213
|
try {
|
|
41214
41214
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
41215
41215
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41399,7 +41399,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
41399
41399
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41400
41400
|
*/
|
|
41401
41401
|
static async fromJsonLd(json, options = {}) {
|
|
41402
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41402
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41403
41403
|
try {
|
|
41404
41404
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
41405
41405
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41567,7 +41567,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
41567
41567
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41568
41568
|
*/
|
|
41569
41569
|
static async fromJsonLd(json, options = {}) {
|
|
41570
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41570
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41571
41571
|
try {
|
|
41572
41572
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
41573
41573
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41732,7 +41732,7 @@ var Undo = class Undo extends Activity {
|
|
|
41732
41732
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41733
41733
|
*/
|
|
41734
41734
|
static async fromJsonLd(json, options = {}) {
|
|
41735
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41735
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41736
41736
|
try {
|
|
41737
41737
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
41738
41738
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41935,7 +41935,7 @@ var Update = class Update extends Activity {
|
|
|
41935
41935
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41936
41936
|
*/
|
|
41937
41937
|
static async fromJsonLd(json, options = {}) {
|
|
41938
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41938
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41939
41939
|
try {
|
|
41940
41940
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
41941
41941
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42092,7 +42092,7 @@ var Video = class Video extends Document {
|
|
|
42092
42092
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42093
42093
|
*/
|
|
42094
42094
|
static async fromJsonLd(json, options = {}) {
|
|
42095
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
42095
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42096
42096
|
try {
|
|
42097
42097
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
42098
42098
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42242,7 +42242,7 @@ var View = class View extends Activity {
|
|
|
42242
42242
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42243
42243
|
*/
|
|
42244
42244
|
static async fromJsonLd(json, options = {}) {
|
|
42245
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
42245
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.33").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42246
42246
|
try {
|
|
42247
42247
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
42248
42248
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|