@fedify/vocab 2.0.34 → 2.0.35-dev.2459
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-hGAuGwy4.mjs → deno-BPAXGAvD.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-BL3Cgth_.mjs → vocab-B1w3fwXN.mjs} +184 -184
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
|
@@ -741,7 +741,7 @@ var Object$1 = class Object$1 {
|
|
|
741
741
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
742
742
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
743
743
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
744
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
744
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
745
745
|
let fetchResult;
|
|
746
746
|
try {
|
|
747
747
|
fetchResult = await documentLoader(url.href);
|
|
@@ -897,7 +897,7 @@ var Object$1 = class Object$1 {
|
|
|
897
897
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
898
898
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
899
899
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
900
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
900
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
901
901
|
let fetchResult;
|
|
902
902
|
try {
|
|
903
903
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1128,7 +1128,7 @@ var Object$1 = class Object$1 {
|
|
|
1128
1128
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1129
1129
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1130
1130
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1131
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1131
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1132
1132
|
let fetchResult;
|
|
1133
1133
|
try {
|
|
1134
1134
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1331,7 +1331,7 @@ var Object$1 = class Object$1 {
|
|
|
1331
1331
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1332
1332
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1333
1333
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1334
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1334
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1335
1335
|
let fetchResult;
|
|
1336
1336
|
try {
|
|
1337
1337
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1503,7 +1503,7 @@ var Object$1 = class Object$1 {
|
|
|
1503
1503
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1504
1504
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1505
1505
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1506
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1506
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1507
1507
|
let fetchResult;
|
|
1508
1508
|
try {
|
|
1509
1509
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1643,7 +1643,7 @@ var Object$1 = class Object$1 {
|
|
|
1643
1643
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1644
1644
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1645
1645
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1646
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1646
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1647
1647
|
let fetchResult;
|
|
1648
1648
|
try {
|
|
1649
1649
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1828,7 +1828,7 @@ var Object$1 = class Object$1 {
|
|
|
1828
1828
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1829
1829
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1830
1830
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1831
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1831
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1832
1832
|
let fetchResult;
|
|
1833
1833
|
try {
|
|
1834
1834
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2013,7 +2013,7 @@ var Object$1 = class Object$1 {
|
|
|
2013
2013
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2014
2014
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2015
2015
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2016
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2016
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2017
2017
|
let fetchResult;
|
|
2018
2018
|
try {
|
|
2019
2019
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2206,7 +2206,7 @@ var Object$1 = class Object$1 {
|
|
|
2206
2206
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2207
2207
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2208
2208
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2209
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2209
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2210
2210
|
let fetchResult;
|
|
2211
2211
|
try {
|
|
2212
2212
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2399,7 +2399,7 @@ var Object$1 = class Object$1 {
|
|
|
2399
2399
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2400
2400
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2401
2401
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2402
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2402
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2403
2403
|
let fetchResult;
|
|
2404
2404
|
try {
|
|
2405
2405
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2597,7 +2597,7 @@ var Object$1 = class Object$1 {
|
|
|
2597
2597
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2598
2598
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2599
2599
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2600
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2600
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2601
2601
|
let fetchResult;
|
|
2602
2602
|
try {
|
|
2603
2603
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2727,7 +2727,7 @@ var Object$1 = class Object$1 {
|
|
|
2727
2727
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2728
2728
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2729
2729
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2730
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2730
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2731
2731
|
let fetchResult;
|
|
2732
2732
|
try {
|
|
2733
2733
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2863,7 +2863,7 @@ var Object$1 = class Object$1 {
|
|
|
2863
2863
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2864
2864
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2865
2865
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2866
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2866
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2867
2867
|
let fetchResult;
|
|
2868
2868
|
try {
|
|
2869
2869
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2999,7 +2999,7 @@ var Object$1 = class Object$1 {
|
|
|
2999
2999
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3000
3000
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3001
3001
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3002
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3002
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3003
3003
|
let fetchResult;
|
|
3004
3004
|
try {
|
|
3005
3005
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3153,7 +3153,7 @@ var Object$1 = class Object$1 {
|
|
|
3153
3153
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3154
3154
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3155
3155
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3156
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3156
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3157
3157
|
let fetchResult;
|
|
3158
3158
|
try {
|
|
3159
3159
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3315,7 +3315,7 @@ var Object$1 = class Object$1 {
|
|
|
3315
3315
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3316
3316
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3317
3317
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3318
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3318
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3319
3319
|
let fetchResult;
|
|
3320
3320
|
try {
|
|
3321
3321
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3498,7 +3498,7 @@ var Object$1 = class Object$1 {
|
|
|
3498
3498
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3499
3499
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3500
3500
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3501
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3501
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3502
3502
|
let fetchResult;
|
|
3503
3503
|
try {
|
|
3504
3504
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3681,7 +3681,7 @@ var Object$1 = class Object$1 {
|
|
|
3681
3681
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3682
3682
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3683
3683
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3684
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3684
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3685
3685
|
let fetchResult;
|
|
3686
3686
|
try {
|
|
3687
3687
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3864,7 +3864,7 @@ var Object$1 = class Object$1 {
|
|
|
3864
3864
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3865
3865
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3866
3866
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3867
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3867
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3868
3868
|
let fetchResult;
|
|
3869
3869
|
try {
|
|
3870
3870
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4084,7 +4084,7 @@ var Object$1 = class Object$1 {
|
|
|
4084
4084
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4085
4085
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4086
4086
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4087
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
4087
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4088
4088
|
let fetchResult;
|
|
4089
4089
|
try {
|
|
4090
4090
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4892,7 +4892,7 @@ var Object$1 = class Object$1 {
|
|
|
4892
4892
|
* @throws {TypeError} If the given `json` is invalid.
|
|
4893
4893
|
*/
|
|
4894
4894
|
static async fromJsonLd(json, options = {}) {
|
|
4895
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
4895
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
4896
4896
|
try {
|
|
4897
4897
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
4898
4898
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6227,7 +6227,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
6227
6227
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6228
6228
|
*/
|
|
6229
6229
|
static async fromJsonLd(json, options = {}) {
|
|
6230
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
6230
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6231
6231
|
try {
|
|
6232
6232
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
6233
6233
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6467,7 +6467,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6467
6467
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6468
6468
|
*/
|
|
6469
6469
|
static async fromJsonLd(json, options = {}) {
|
|
6470
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
6470
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6471
6471
|
try {
|
|
6472
6472
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
6473
6473
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6757,7 +6757,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6757
6757
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6758
6758
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6759
6759
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6760
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6760
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6761
6761
|
let fetchResult;
|
|
6762
6762
|
try {
|
|
6763
6763
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6988,7 +6988,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6988
6988
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6989
6989
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6990
6990
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6991
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6991
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6992
6992
|
let fetchResult;
|
|
6993
6993
|
try {
|
|
6994
6994
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7173,7 +7173,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7173
7173
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7174
7174
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7175
7175
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7176
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7176
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7177
7177
|
let fetchResult;
|
|
7178
7178
|
try {
|
|
7179
7179
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7364,7 +7364,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7364
7364
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7365
7365
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7366
7366
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7367
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7367
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7368
7368
|
let fetchResult;
|
|
7369
7369
|
try {
|
|
7370
7370
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7549,7 +7549,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7549
7549
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7550
7550
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7551
7551
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7552
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7552
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7553
7553
|
let fetchResult;
|
|
7554
7554
|
try {
|
|
7555
7555
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7736,7 +7736,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7736
7736
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7737
7737
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7738
7738
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7739
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7739
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7740
7740
|
let fetchResult;
|
|
7741
7741
|
try {
|
|
7742
7742
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8005,7 +8005,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8005
8005
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8006
8006
|
*/
|
|
8007
8007
|
static async fromJsonLd(json, options = {}) {
|
|
8008
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8008
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8009
8009
|
try {
|
|
8010
8010
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
8011
8011
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8340,7 +8340,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
8340
8340
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8341
8341
|
*/
|
|
8342
8342
|
static async fromJsonLd(json, options = {}) {
|
|
8343
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8343
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8344
8344
|
try {
|
|
8345
8345
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
8346
8346
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8601,7 +8601,7 @@ var PropertyValue = class {
|
|
|
8601
8601
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8602
8602
|
*/
|
|
8603
8603
|
static async fromJsonLd(json, options = {}) {
|
|
8604
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8604
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8605
8605
|
try {
|
|
8606
8606
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
8607
8607
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8858,7 +8858,7 @@ var DidService = class {
|
|
|
8858
8858
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8859
8859
|
*/
|
|
8860
8860
|
static async fromJsonLd(json, options = {}) {
|
|
8861
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8861
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8862
8862
|
try {
|
|
8863
8863
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
8864
8864
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9017,7 +9017,7 @@ var Export = class Export extends DidService {
|
|
|
9017
9017
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9018
9018
|
*/
|
|
9019
9019
|
static async fromJsonLd(json, options = {}) {
|
|
9020
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9020
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9021
9021
|
try {
|
|
9022
9022
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
9023
9023
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9205,7 +9205,7 @@ var DataIntegrityProof = class {
|
|
|
9205
9205
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9206
9206
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9207
9207
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9208
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
9208
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9209
9209
|
let fetchResult;
|
|
9210
9210
|
try {
|
|
9211
9211
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9424,7 +9424,7 @@ var DataIntegrityProof = class {
|
|
|
9424
9424
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9425
9425
|
*/
|
|
9426
9426
|
static async fromJsonLd(json, options = {}) {
|
|
9427
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9427
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9428
9428
|
try {
|
|
9429
9429
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
9430
9430
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9663,7 +9663,7 @@ var CryptographicKey = class {
|
|
|
9663
9663
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9664
9664
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9665
9665
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9666
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
9666
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9667
9667
|
let fetchResult;
|
|
9668
9668
|
try {
|
|
9669
9669
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9934,7 +9934,7 @@ var CryptographicKey = class {
|
|
|
9934
9934
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9935
9935
|
*/
|
|
9936
9936
|
static async fromJsonLd(json, options = {}) {
|
|
9937
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9937
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9938
9938
|
try {
|
|
9939
9939
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
9940
9940
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10150,7 +10150,7 @@ var Multikey = class {
|
|
|
10150
10150
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10151
10151
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10152
10152
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10153
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
10153
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10154
10154
|
let fetchResult;
|
|
10155
10155
|
try {
|
|
10156
10156
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10427,7 +10427,7 @@ var Multikey = class {
|
|
|
10427
10427
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10428
10428
|
*/
|
|
10429
10429
|
static async fromJsonLd(json, options = {}) {
|
|
10430
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10430
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10431
10431
|
try {
|
|
10432
10432
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
10433
10433
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10630,7 +10630,7 @@ var Accept = class Accept extends Activity {
|
|
|
10630
10630
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10631
10631
|
*/
|
|
10632
10632
|
static async fromJsonLd(json, options = {}) {
|
|
10633
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10633
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10634
10634
|
try {
|
|
10635
10635
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
10636
10636
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10784,7 +10784,7 @@ var Add = class Add extends Activity {
|
|
|
10784
10784
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10785
10785
|
*/
|
|
10786
10786
|
static async fromJsonLd(json, options = {}) {
|
|
10787
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10787
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10788
10788
|
try {
|
|
10789
10789
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
10790
10790
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10955,7 +10955,7 @@ var Announce = class Announce extends Activity {
|
|
|
10955
10955
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10956
10956
|
*/
|
|
10957
10957
|
static async fromJsonLd(json, options = {}) {
|
|
10958
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10958
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10959
10959
|
try {
|
|
10960
10960
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
10961
10961
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11353,7 +11353,7 @@ var Application = class Application extends Object$1 {
|
|
|
11353
11353
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11354
11354
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11355
11355
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11356
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11356
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11357
11357
|
let fetchResult;
|
|
11358
11358
|
try {
|
|
11359
11359
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11534,7 +11534,7 @@ var Application = class Application extends Object$1 {
|
|
|
11534
11534
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11535
11535
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11536
11536
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11537
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11537
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11538
11538
|
let fetchResult;
|
|
11539
11539
|
try {
|
|
11540
11540
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11733,7 +11733,7 @@ var Application = class Application extends Object$1 {
|
|
|
11733
11733
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11734
11734
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11735
11735
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11736
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11736
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11737
11737
|
let fetchResult;
|
|
11738
11738
|
try {
|
|
11739
11739
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11884,7 +11884,7 @@ var Application = class Application extends Object$1 {
|
|
|
11884
11884
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11885
11885
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11886
11886
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11887
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11887
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11888
11888
|
let fetchResult;
|
|
11889
11889
|
try {
|
|
11890
11890
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12032,7 +12032,7 @@ var Application = class Application extends Object$1 {
|
|
|
12032
12032
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12033
12033
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12034
12034
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12035
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12035
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12036
12036
|
let fetchResult;
|
|
12037
12037
|
try {
|
|
12038
12038
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12165,7 +12165,7 @@ var Application = class Application extends Object$1 {
|
|
|
12165
12165
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12166
12166
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12167
12167
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12168
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12168
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12169
12169
|
let fetchResult;
|
|
12170
12170
|
try {
|
|
12171
12171
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12301,7 +12301,7 @@ var Application = class Application extends Object$1 {
|
|
|
12301
12301
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12302
12302
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12303
12303
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12304
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12304
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12305
12305
|
let fetchResult;
|
|
12306
12306
|
try {
|
|
12307
12307
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12435,7 +12435,7 @@ var Application = class Application extends Object$1 {
|
|
|
12435
12435
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12436
12436
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12437
12437
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12438
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12438
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12439
12439
|
let fetchResult;
|
|
12440
12440
|
try {
|
|
12441
12441
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12567,7 +12567,7 @@ var Application = class Application extends Object$1 {
|
|
|
12567
12567
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12568
12568
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12569
12569
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12570
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12570
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12571
12571
|
let fetchResult;
|
|
12572
12572
|
try {
|
|
12573
12573
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12699,7 +12699,7 @@ var Application = class Application extends Object$1 {
|
|
|
12699
12699
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12700
12700
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12701
12701
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12702
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12702
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12703
12703
|
let fetchResult;
|
|
12704
12704
|
try {
|
|
12705
12705
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12871,7 +12871,7 @@ var Application = class Application extends Object$1 {
|
|
|
12871
12871
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12872
12872
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12873
12873
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12874
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12874
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12875
12875
|
let fetchResult;
|
|
12876
12876
|
try {
|
|
12877
12877
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13046,7 +13046,7 @@ var Application = class Application extends Object$1 {
|
|
|
13046
13046
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13047
13047
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13048
13048
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13049
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
13049
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13050
13050
|
let fetchResult;
|
|
13051
13051
|
try {
|
|
13052
13052
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13279,7 +13279,7 @@ var Application = class Application extends Object$1 {
|
|
|
13279
13279
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13280
13280
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13281
13281
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13282
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
13282
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13283
13283
|
let fetchResult;
|
|
13284
13284
|
try {
|
|
13285
13285
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13981,7 +13981,7 @@ var Application = class Application extends Object$1 {
|
|
|
13981
13981
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13982
13982
|
*/
|
|
13983
13983
|
static async fromJsonLd(json, options = {}) {
|
|
13984
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
13984
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13985
13985
|
try {
|
|
13986
13986
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
13987
13987
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14591,7 +14591,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
14591
14591
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14592
14592
|
*/
|
|
14593
14593
|
static async fromJsonLd(json, options = {}) {
|
|
14594
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14594
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14595
14595
|
try {
|
|
14596
14596
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
14597
14597
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14746,7 +14746,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
14746
14746
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14747
14747
|
*/
|
|
14748
14748
|
static async fromJsonLd(json, options = {}) {
|
|
14749
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14749
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14750
14750
|
try {
|
|
14751
14751
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
14752
14752
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14984,7 +14984,7 @@ var Article = class Article extends Object$1 {
|
|
|
14984
14984
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14985
14985
|
*/
|
|
14986
14986
|
static async fromJsonLd(json, options = {}) {
|
|
14987
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14987
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14988
14988
|
try {
|
|
14989
14989
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
14990
14990
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15222,7 +15222,7 @@ var Document = class Document extends Object$1 {
|
|
|
15222
15222
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15223
15223
|
*/
|
|
15224
15224
|
static async fromJsonLd(json, options = {}) {
|
|
15225
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
15225
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15226
15226
|
try {
|
|
15227
15227
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
15228
15228
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15412,7 +15412,7 @@ var Audio = class Audio extends Document {
|
|
|
15412
15412
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15413
15413
|
*/
|
|
15414
15414
|
static async fromJsonLd(json, options = {}) {
|
|
15415
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
15415
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15416
15416
|
try {
|
|
15417
15417
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
15418
15418
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15563,7 +15563,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
15563
15563
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15564
15564
|
*/
|
|
15565
15565
|
static async fromJsonLd(json, options = {}) {
|
|
15566
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
15566
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15567
15567
|
try {
|
|
15568
15568
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
15569
15569
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15717,7 +15717,7 @@ var Block = class Block extends Ignore {
|
|
|
15717
15717
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15718
15718
|
*/
|
|
15719
15719
|
static async fromJsonLd(json, options = {}) {
|
|
15720
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
15720
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15721
15721
|
try {
|
|
15722
15722
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
15723
15723
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15984,7 +15984,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15984
15984
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15985
15985
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15986
15986
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15987
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15987
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15988
15988
|
let fetchResult;
|
|
15989
15989
|
try {
|
|
15990
15990
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16114,7 +16114,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16114
16114
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16115
16115
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16116
16116
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16117
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16117
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16118
16118
|
let fetchResult;
|
|
16119
16119
|
try {
|
|
16120
16120
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16244,7 +16244,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16244
16244
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16245
16245
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16246
16246
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16247
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16247
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16248
16248
|
let fetchResult;
|
|
16249
16249
|
try {
|
|
16250
16250
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16374,7 +16374,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16374
16374
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16375
16375
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16376
16376
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16377
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16377
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16378
16378
|
let fetchResult;
|
|
16379
16379
|
try {
|
|
16380
16380
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16515,7 +16515,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16515
16515
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16516
16516
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16517
16517
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16518
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16518
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16519
16519
|
let fetchResult;
|
|
16520
16520
|
try {
|
|
16521
16521
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16644,7 +16644,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16644
16644
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16645
16645
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16646
16646
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16647
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16647
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16648
16648
|
let fetchResult;
|
|
16649
16649
|
try {
|
|
16650
16650
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16773,7 +16773,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16773
16773
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16774
16774
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16775
16775
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16776
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16776
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16777
16777
|
let fetchResult;
|
|
16778
16778
|
try {
|
|
16779
16779
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16902,7 +16902,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16902
16902
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16903
16903
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16904
16904
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16905
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16905
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16906
16906
|
let fetchResult;
|
|
16907
16907
|
try {
|
|
16908
16908
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17031,7 +17031,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
17031
17031
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17032
17032
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17033
17033
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17034
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17034
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17035
17035
|
let fetchResult;
|
|
17036
17036
|
try {
|
|
17037
17037
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17160,7 +17160,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
17160
17160
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17161
17161
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17162
17162
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17163
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17163
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17164
17164
|
let fetchResult;
|
|
17165
17165
|
try {
|
|
17166
17166
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17289,7 +17289,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
17289
17289
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17290
17290
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17291
17291
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17292
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17292
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17293
17293
|
let fetchResult;
|
|
17294
17294
|
try {
|
|
17295
17295
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17418,7 +17418,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
17418
17418
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17419
17419
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17420
17420
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17421
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17421
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17422
17422
|
let fetchResult;
|
|
17423
17423
|
try {
|
|
17424
17424
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17854,7 +17854,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
17854
17854
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17855
17855
|
*/
|
|
17856
17856
|
static async fromJsonLd(json, options = {}) {
|
|
17857
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
17857
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17858
17858
|
try {
|
|
17859
17859
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
17860
17860
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18332,7 +18332,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
18332
18332
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18333
18333
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18334
18334
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18335
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
18335
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18336
18336
|
let fetchResult;
|
|
18337
18337
|
try {
|
|
18338
18338
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18462,7 +18462,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
18462
18462
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18463
18463
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18464
18464
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18465
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
18465
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18466
18466
|
let fetchResult;
|
|
18467
18467
|
try {
|
|
18468
18468
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18591,7 +18591,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
18591
18591
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18592
18592
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18593
18593
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18594
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
18594
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18595
18595
|
let fetchResult;
|
|
18596
18596
|
try {
|
|
18597
18597
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18864,7 +18864,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
18864
18864
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18865
18865
|
*/
|
|
18866
18866
|
static async fromJsonLd(json, options = {}) {
|
|
18867
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18867
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18868
18868
|
try {
|
|
18869
18869
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
18870
18870
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19099,7 +19099,7 @@ var Create = class Create extends Activity {
|
|
|
19099
19099
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19100
19100
|
*/
|
|
19101
19101
|
static async fromJsonLd(json, options = {}) {
|
|
19102
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19102
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19103
19103
|
try {
|
|
19104
19104
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
19105
19105
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19266,7 +19266,7 @@ var Delete = class Delete extends Activity {
|
|
|
19266
19266
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19267
19267
|
*/
|
|
19268
19268
|
static async fromJsonLd(json, options = {}) {
|
|
19269
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19269
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19270
19270
|
try {
|
|
19271
19271
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
19272
19272
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19420,7 +19420,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
19420
19420
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19421
19421
|
*/
|
|
19422
19422
|
static async fromJsonLd(json, options = {}) {
|
|
19423
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19423
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19424
19424
|
try {
|
|
19425
19425
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
19426
19426
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19782,7 +19782,7 @@ var Endpoints = class {
|
|
|
19782
19782
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19783
19783
|
*/
|
|
19784
19784
|
static async fromJsonLd(json, options = {}) {
|
|
19785
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19785
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19786
19786
|
try {
|
|
19787
19787
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
19788
19788
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20023,7 +20023,7 @@ var Event = class Event extends Object$1 {
|
|
|
20023
20023
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20024
20024
|
*/
|
|
20025
20025
|
static async fromJsonLd(json, options = {}) {
|
|
20026
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
20026
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20027
20027
|
try {
|
|
20028
20028
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
20029
20029
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20175,7 +20175,7 @@ var Flag = class Flag extends Activity {
|
|
|
20175
20175
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20176
20176
|
*/
|
|
20177
20177
|
static async fromJsonLd(json, options = {}) {
|
|
20178
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
20178
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20179
20179
|
try {
|
|
20180
20180
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
20181
20181
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20331,7 +20331,7 @@ var Follow = class Follow extends Activity {
|
|
|
20331
20331
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20332
20332
|
*/
|
|
20333
20333
|
static async fromJsonLd(json, options = {}) {
|
|
20334
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
20334
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20335
20335
|
try {
|
|
20336
20336
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
20337
20337
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20729,7 +20729,7 @@ var Group = class Group extends Object$1 {
|
|
|
20729
20729
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20730
20730
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20731
20731
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20732
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20732
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20733
20733
|
let fetchResult;
|
|
20734
20734
|
try {
|
|
20735
20735
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20910,7 +20910,7 @@ var Group = class Group extends Object$1 {
|
|
|
20910
20910
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20911
20911
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20912
20912
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20913
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20913
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20914
20914
|
let fetchResult;
|
|
20915
20915
|
try {
|
|
20916
20916
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21109,7 +21109,7 @@ var Group = class Group extends Object$1 {
|
|
|
21109
21109
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21110
21110
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21111
21111
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21112
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21112
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21113
21113
|
let fetchResult;
|
|
21114
21114
|
try {
|
|
21115
21115
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21260,7 +21260,7 @@ var Group = class Group extends Object$1 {
|
|
|
21260
21260
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21261
21261
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21262
21262
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21263
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21263
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21264
21264
|
let fetchResult;
|
|
21265
21265
|
try {
|
|
21266
21266
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21408,7 +21408,7 @@ var Group = class Group extends Object$1 {
|
|
|
21408
21408
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21409
21409
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21410
21410
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21411
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21411
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21412
21412
|
let fetchResult;
|
|
21413
21413
|
try {
|
|
21414
21414
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21541,7 +21541,7 @@ var Group = class Group extends Object$1 {
|
|
|
21541
21541
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21542
21542
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21543
21543
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21544
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21544
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21545
21545
|
let fetchResult;
|
|
21546
21546
|
try {
|
|
21547
21547
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21677,7 +21677,7 @@ var Group = class Group extends Object$1 {
|
|
|
21677
21677
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21678
21678
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21679
21679
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21680
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21680
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21681
21681
|
let fetchResult;
|
|
21682
21682
|
try {
|
|
21683
21683
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21811,7 +21811,7 @@ var Group = class Group extends Object$1 {
|
|
|
21811
21811
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21812
21812
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21813
21813
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21814
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21814
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21815
21815
|
let fetchResult;
|
|
21816
21816
|
try {
|
|
21817
21817
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21943,7 +21943,7 @@ var Group = class Group extends Object$1 {
|
|
|
21943
21943
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21944
21944
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21945
21945
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21946
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21946
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21947
21947
|
let fetchResult;
|
|
21948
21948
|
try {
|
|
21949
21949
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22075,7 +22075,7 @@ var Group = class Group extends Object$1 {
|
|
|
22075
22075
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22076
22076
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22077
22077
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22078
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
22078
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22079
22079
|
let fetchResult;
|
|
22080
22080
|
try {
|
|
22081
22081
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22247,7 +22247,7 @@ var Group = class Group extends Object$1 {
|
|
|
22247
22247
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22248
22248
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22249
22249
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22250
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
22250
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22251
22251
|
let fetchResult;
|
|
22252
22252
|
try {
|
|
22253
22253
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22422,7 +22422,7 @@ var Group = class Group extends Object$1 {
|
|
|
22422
22422
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22423
22423
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22424
22424
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22425
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
22425
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22426
22426
|
let fetchResult;
|
|
22427
22427
|
try {
|
|
22428
22428
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22655,7 +22655,7 @@ var Group = class Group extends Object$1 {
|
|
|
22655
22655
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22656
22656
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22657
22657
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22658
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
22658
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22659
22659
|
let fetchResult;
|
|
22660
22660
|
try {
|
|
22661
22661
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23357,7 +23357,7 @@ var Group = class Group extends Object$1 {
|
|
|
23357
23357
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23358
23358
|
*/
|
|
23359
23359
|
static async fromJsonLd(json, options = {}) {
|
|
23360
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23360
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23361
23361
|
try {
|
|
23362
23362
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
23363
23363
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24118,7 +24118,7 @@ var Link = class Link {
|
|
|
24118
24118
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24119
24119
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24120
24120
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24121
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
24121
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24122
24122
|
let fetchResult;
|
|
24123
24123
|
try {
|
|
24124
24124
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24420,7 +24420,7 @@ var Link = class Link {
|
|
|
24420
24420
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24421
24421
|
*/
|
|
24422
24422
|
static async fromJsonLd(json, options = {}) {
|
|
24423
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24423
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24424
24424
|
try {
|
|
24425
24425
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
24426
24426
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24770,7 +24770,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
24770
24770
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24771
24771
|
*/
|
|
24772
24772
|
static async fromJsonLd(json, options = {}) {
|
|
24773
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24773
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24774
24774
|
try {
|
|
24775
24775
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
24776
24776
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24927,7 +24927,7 @@ var Image = class Image extends Document {
|
|
|
24927
24927
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24928
24928
|
*/
|
|
24929
24929
|
static async fromJsonLd(json, options = {}) {
|
|
24930
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24930
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24931
24931
|
try {
|
|
24932
24932
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
24933
24933
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25079,7 +25079,7 @@ var Offer = class Offer extends Activity {
|
|
|
25079
25079
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25080
25080
|
*/
|
|
25081
25081
|
static async fromJsonLd(json, options = {}) {
|
|
25082
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25082
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25083
25083
|
try {
|
|
25084
25084
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
25085
25085
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25231,7 +25231,7 @@ var Invite = class Invite extends Offer {
|
|
|
25231
25231
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25232
25232
|
*/
|
|
25233
25233
|
static async fromJsonLd(json, options = {}) {
|
|
25234
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25234
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25235
25235
|
try {
|
|
25236
25236
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
25237
25237
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25382,7 +25382,7 @@ var Join = class Join extends Activity {
|
|
|
25382
25382
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25383
25383
|
*/
|
|
25384
25384
|
static async fromJsonLd(json, options = {}) {
|
|
25385
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25385
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25386
25386
|
try {
|
|
25387
25387
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
25388
25388
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25533,7 +25533,7 @@ var Leave = class Leave extends Activity {
|
|
|
25533
25533
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25534
25534
|
*/
|
|
25535
25535
|
static async fromJsonLd(json, options = {}) {
|
|
25536
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25536
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25537
25537
|
try {
|
|
25538
25538
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
25539
25539
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25688,7 +25688,7 @@ var Like = class Like extends Activity {
|
|
|
25688
25688
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25689
25689
|
*/
|
|
25690
25690
|
static async fromJsonLd(json, options = {}) {
|
|
25691
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25691
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25692
25692
|
try {
|
|
25693
25693
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
25694
25694
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25838,7 +25838,7 @@ var Listen = class Listen extends Activity {
|
|
|
25838
25838
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25839
25839
|
*/
|
|
25840
25840
|
static async fromJsonLd(json, options = {}) {
|
|
25841
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25841
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25842
25842
|
try {
|
|
25843
25843
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
25844
25844
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25992,7 +25992,7 @@ var Mention = class Mention extends Link {
|
|
|
25992
25992
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25993
25993
|
*/
|
|
25994
25994
|
static async fromJsonLd(json, options = {}) {
|
|
25995
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25995
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25996
25996
|
try {
|
|
25997
25997
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
25998
25998
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26144,7 +26144,7 @@ var Move = class Move extends Activity {
|
|
|
26144
26144
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26145
26145
|
*/
|
|
26146
26146
|
static async fromJsonLd(json, options = {}) {
|
|
26147
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
26147
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26148
26148
|
try {
|
|
26149
26149
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
26150
26150
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26383,7 +26383,7 @@ var Note = class Note extends Object$1 {
|
|
|
26383
26383
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26384
26384
|
*/
|
|
26385
26385
|
static async fromJsonLd(json, options = {}) {
|
|
26386
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
26386
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26387
26387
|
try {
|
|
26388
26388
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
26389
26389
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26521,7 +26521,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
26521
26521
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26522
26522
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26523
26523
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26524
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26524
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26525
26525
|
let fetchResult;
|
|
26526
26526
|
try {
|
|
26527
26527
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26779,7 +26779,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
26779
26779
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26780
26780
|
*/
|
|
26781
26781
|
static async fromJsonLd(json, options = {}) {
|
|
26782
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
26782
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26783
26783
|
try {
|
|
26784
26784
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
26785
26785
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26992,7 +26992,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
26992
26992
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26993
26993
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26994
26994
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26995
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26995
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26996
26996
|
let fetchResult;
|
|
26997
26997
|
try {
|
|
26998
26998
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27273,7 +27273,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
27273
27273
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27274
27274
|
*/
|
|
27275
27275
|
static async fromJsonLd(json, options = {}) {
|
|
27276
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
27276
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27277
27277
|
try {
|
|
27278
27278
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
27279
27279
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27774,7 +27774,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27774
27774
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27775
27775
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27776
27776
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27777
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27777
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27778
27778
|
let fetchResult;
|
|
27779
27779
|
try {
|
|
27780
27780
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27955,7 +27955,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27955
27955
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27956
27956
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27957
27957
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27958
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27958
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27959
27959
|
let fetchResult;
|
|
27960
27960
|
try {
|
|
27961
27961
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28154,7 +28154,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28154
28154
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28155
28155
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28156
28156
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28157
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28157
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28158
28158
|
let fetchResult;
|
|
28159
28159
|
try {
|
|
28160
28160
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28305,7 +28305,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28305
28305
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28306
28306
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28307
28307
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28308
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28308
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28309
28309
|
let fetchResult;
|
|
28310
28310
|
try {
|
|
28311
28311
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28453,7 +28453,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28453
28453
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28454
28454
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28455
28455
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28456
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28456
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28457
28457
|
let fetchResult;
|
|
28458
28458
|
try {
|
|
28459
28459
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28586,7 +28586,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28586
28586
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28587
28587
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28588
28588
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28589
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28589
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28590
28590
|
let fetchResult;
|
|
28591
28591
|
try {
|
|
28592
28592
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28722,7 +28722,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28722
28722
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28723
28723
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28724
28724
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28725
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28725
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28726
28726
|
let fetchResult;
|
|
28727
28727
|
try {
|
|
28728
28728
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28856,7 +28856,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28856
28856
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28857
28857
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28858
28858
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28859
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28859
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28860
28860
|
let fetchResult;
|
|
28861
28861
|
try {
|
|
28862
28862
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28988,7 +28988,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28988
28988
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28989
28989
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28990
28990
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28991
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28991
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28992
28992
|
let fetchResult;
|
|
28993
28993
|
try {
|
|
28994
28994
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29120,7 +29120,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29120
29120
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29121
29121
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29122
29122
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29123
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29123
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29124
29124
|
let fetchResult;
|
|
29125
29125
|
try {
|
|
29126
29126
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29292,7 +29292,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29292
29292
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29293
29293
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29294
29294
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29295
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29295
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29296
29296
|
let fetchResult;
|
|
29297
29297
|
try {
|
|
29298
29298
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29467,7 +29467,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29467
29467
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29468
29468
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29469
29469
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29470
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29470
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29471
29471
|
let fetchResult;
|
|
29472
29472
|
try {
|
|
29473
29473
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29700,7 +29700,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29700
29700
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29701
29701
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29702
29702
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29703
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29703
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29704
29704
|
let fetchResult;
|
|
29705
29705
|
try {
|
|
29706
29706
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30402,7 +30402,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30402
30402
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30403
30403
|
*/
|
|
30404
30404
|
static async fromJsonLd(json, options = {}) {
|
|
30405
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
30405
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30406
30406
|
try {
|
|
30407
30407
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
30408
30408
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31017,7 +31017,7 @@ var Page = class Page extends Document {
|
|
|
31017
31017
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31018
31018
|
*/
|
|
31019
31019
|
static async fromJsonLd(json, options = {}) {
|
|
31020
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
31020
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31021
31021
|
try {
|
|
31022
31022
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
31023
31023
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31415,7 +31415,7 @@ var Person = class Person extends Object$1 {
|
|
|
31415
31415
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31416
31416
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31417
31417
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31418
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31418
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31419
31419
|
let fetchResult;
|
|
31420
31420
|
try {
|
|
31421
31421
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31596,7 +31596,7 @@ var Person = class Person extends Object$1 {
|
|
|
31596
31596
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31597
31597
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31598
31598
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31599
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31599
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31600
31600
|
let fetchResult;
|
|
31601
31601
|
try {
|
|
31602
31602
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31795,7 +31795,7 @@ var Person = class Person extends Object$1 {
|
|
|
31795
31795
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31796
31796
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31797
31797
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31798
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31798
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31799
31799
|
let fetchResult;
|
|
31800
31800
|
try {
|
|
31801
31801
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31946,7 +31946,7 @@ var Person = class Person extends Object$1 {
|
|
|
31946
31946
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31947
31947
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31948
31948
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31949
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31949
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31950
31950
|
let fetchResult;
|
|
31951
31951
|
try {
|
|
31952
31952
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32094,7 +32094,7 @@ var Person = class Person extends Object$1 {
|
|
|
32094
32094
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32095
32095
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32096
32096
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32097
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32097
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32098
32098
|
let fetchResult;
|
|
32099
32099
|
try {
|
|
32100
32100
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32227,7 +32227,7 @@ var Person = class Person extends Object$1 {
|
|
|
32227
32227
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32228
32228
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32229
32229
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32230
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32230
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32231
32231
|
let fetchResult;
|
|
32232
32232
|
try {
|
|
32233
32233
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32363,7 +32363,7 @@ var Person = class Person extends Object$1 {
|
|
|
32363
32363
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32364
32364
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32365
32365
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32366
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32366
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32367
32367
|
let fetchResult;
|
|
32368
32368
|
try {
|
|
32369
32369
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32497,7 +32497,7 @@ var Person = class Person extends Object$1 {
|
|
|
32497
32497
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32498
32498
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32499
32499
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32500
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32500
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32501
32501
|
let fetchResult;
|
|
32502
32502
|
try {
|
|
32503
32503
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32629,7 +32629,7 @@ var Person = class Person extends Object$1 {
|
|
|
32629
32629
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32630
32630
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32631
32631
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32632
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32632
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32633
32633
|
let fetchResult;
|
|
32634
32634
|
try {
|
|
32635
32635
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32761,7 +32761,7 @@ var Person = class Person extends Object$1 {
|
|
|
32761
32761
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32762
32762
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32763
32763
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32764
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32764
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32765
32765
|
let fetchResult;
|
|
32766
32766
|
try {
|
|
32767
32767
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32933,7 +32933,7 @@ var Person = class Person extends Object$1 {
|
|
|
32933
32933
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32934
32934
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32935
32935
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32936
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32936
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32937
32937
|
let fetchResult;
|
|
32938
32938
|
try {
|
|
32939
32939
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33108,7 +33108,7 @@ var Person = class Person extends Object$1 {
|
|
|
33108
33108
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33109
33109
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33110
33110
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33111
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
33111
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33112
33112
|
let fetchResult;
|
|
33113
33113
|
try {
|
|
33114
33114
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33341,7 +33341,7 @@ var Person = class Person extends Object$1 {
|
|
|
33341
33341
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33342
33342
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33343
33343
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33344
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
33344
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33345
33345
|
let fetchResult;
|
|
33346
33346
|
try {
|
|
33347
33347
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34043,7 +34043,7 @@ var Person = class Person extends Object$1 {
|
|
|
34043
34043
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34044
34044
|
*/
|
|
34045
34045
|
static async fromJsonLd(json, options = {}) {
|
|
34046
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
34046
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34047
34047
|
try {
|
|
34048
34048
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
34049
34049
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34835,7 +34835,7 @@ var Place = class Place extends Object$1 {
|
|
|
34835
34835
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34836
34836
|
*/
|
|
34837
34837
|
static async fromJsonLd(json, options = {}) {
|
|
34838
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
34838
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34839
34839
|
try {
|
|
34840
34840
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
34841
34841
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35043,7 +35043,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
35043
35043
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35044
35044
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35045
35045
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35046
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35046
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35047
35047
|
let fetchResult;
|
|
35048
35048
|
try {
|
|
35049
35049
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35245,7 +35245,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
35245
35245
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35246
35246
|
*/
|
|
35247
35247
|
static async fromJsonLd(json, options = {}) {
|
|
35248
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
35248
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35249
35249
|
try {
|
|
35250
35250
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
35251
35251
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35421,7 +35421,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
35421
35421
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35422
35422
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35423
35423
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35424
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35424
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35425
35425
|
let fetchResult;
|
|
35426
35426
|
try {
|
|
35427
35427
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35553,7 +35553,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
35553
35553
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35554
35554
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35555
35555
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35556
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35556
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35557
35557
|
let fetchResult;
|
|
35558
35558
|
try {
|
|
35559
35559
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35826,7 +35826,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
35826
35826
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35827
35827
|
*/
|
|
35828
35828
|
static async fromJsonLd(json, options = {}) {
|
|
35829
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
35829
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35830
35830
|
try {
|
|
35831
35831
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
35832
35832
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36071,7 +36071,7 @@ var Read = class Read extends Activity {
|
|
|
36071
36071
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36072
36072
|
*/
|
|
36073
36073
|
static async fromJsonLd(json, options = {}) {
|
|
36074
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
36074
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36075
36075
|
try {
|
|
36076
36076
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
36077
36077
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36222,7 +36222,7 @@ var Reject = class Reject extends Activity {
|
|
|
36222
36222
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36223
36223
|
*/
|
|
36224
36224
|
static async fromJsonLd(json, options = {}) {
|
|
36225
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
36225
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36226
36226
|
try {
|
|
36227
36227
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
36228
36228
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36398,7 +36398,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
36398
36398
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36399
36399
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36400
36400
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36401
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36401
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36402
36402
|
let fetchResult;
|
|
36403
36403
|
try {
|
|
36404
36404
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36530,7 +36530,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
36530
36530
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36531
36531
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36532
36532
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36533
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36533
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36534
36534
|
let fetchResult;
|
|
36535
36535
|
try {
|
|
36536
36536
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36711,7 +36711,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
36711
36711
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36712
36712
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36713
36713
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36714
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36714
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36715
36715
|
let fetchResult;
|
|
36716
36716
|
try {
|
|
36717
36717
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37000,7 +37000,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
37000
37000
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37001
37001
|
*/
|
|
37002
37002
|
static async fromJsonLd(json, options = {}) {
|
|
37003
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
37003
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37004
37004
|
try {
|
|
37005
37005
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
37006
37006
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37217,7 +37217,7 @@ var Remove = class Remove extends Activity {
|
|
|
37217
37217
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37218
37218
|
*/
|
|
37219
37219
|
static async fromJsonLd(json, options = {}) {
|
|
37220
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
37220
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37221
37221
|
try {
|
|
37222
37222
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
37223
37223
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37615,7 +37615,7 @@ var Service = class Service extends Object$1 {
|
|
|
37615
37615
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37616
37616
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37617
37617
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37618
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37618
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37619
37619
|
let fetchResult;
|
|
37620
37620
|
try {
|
|
37621
37621
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37796,7 +37796,7 @@ var Service = class Service extends Object$1 {
|
|
|
37796
37796
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37797
37797
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37798
37798
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37799
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37799
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37800
37800
|
let fetchResult;
|
|
37801
37801
|
try {
|
|
37802
37802
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37995,7 +37995,7 @@ var Service = class Service extends Object$1 {
|
|
|
37995
37995
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37996
37996
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37997
37997
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37998
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37998
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37999
37999
|
let fetchResult;
|
|
38000
38000
|
try {
|
|
38001
38001
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38146,7 +38146,7 @@ var Service = class Service extends Object$1 {
|
|
|
38146
38146
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38147
38147
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38148
38148
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38149
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38149
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38150
38150
|
let fetchResult;
|
|
38151
38151
|
try {
|
|
38152
38152
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38294,7 +38294,7 @@ var Service = class Service extends Object$1 {
|
|
|
38294
38294
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38295
38295
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38296
38296
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38297
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38297
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38298
38298
|
let fetchResult;
|
|
38299
38299
|
try {
|
|
38300
38300
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38427,7 +38427,7 @@ var Service = class Service extends Object$1 {
|
|
|
38427
38427
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38428
38428
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38429
38429
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38430
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38430
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38431
38431
|
let fetchResult;
|
|
38432
38432
|
try {
|
|
38433
38433
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38563,7 +38563,7 @@ var Service = class Service extends Object$1 {
|
|
|
38563
38563
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38564
38564
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38565
38565
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38566
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38566
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38567
38567
|
let fetchResult;
|
|
38568
38568
|
try {
|
|
38569
38569
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38697,7 +38697,7 @@ var Service = class Service extends Object$1 {
|
|
|
38697
38697
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38698
38698
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38699
38699
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38700
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38700
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38701
38701
|
let fetchResult;
|
|
38702
38702
|
try {
|
|
38703
38703
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38829,7 +38829,7 @@ var Service = class Service extends Object$1 {
|
|
|
38829
38829
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38830
38830
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38831
38831
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38832
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38832
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38833
38833
|
let fetchResult;
|
|
38834
38834
|
try {
|
|
38835
38835
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38961,7 +38961,7 @@ var Service = class Service extends Object$1 {
|
|
|
38961
38961
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38962
38962
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38963
38963
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38964
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38964
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38965
38965
|
let fetchResult;
|
|
38966
38966
|
try {
|
|
38967
38967
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39133,7 +39133,7 @@ var Service = class Service extends Object$1 {
|
|
|
39133
39133
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39134
39134
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39135
39135
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39136
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
39136
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39137
39137
|
let fetchResult;
|
|
39138
39138
|
try {
|
|
39139
39139
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39308,7 +39308,7 @@ var Service = class Service extends Object$1 {
|
|
|
39308
39308
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39309
39309
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39310
39310
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39311
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
39311
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39312
39312
|
let fetchResult;
|
|
39313
39313
|
try {
|
|
39314
39314
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39541,7 +39541,7 @@ var Service = class Service extends Object$1 {
|
|
|
39541
39541
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39542
39542
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39543
39543
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39544
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
39544
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39545
39545
|
let fetchResult;
|
|
39546
39546
|
try {
|
|
39547
39547
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40243,7 +40243,7 @@ var Service = class Service extends Object$1 {
|
|
|
40243
40243
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40244
40244
|
*/
|
|
40245
40245
|
static async fromJsonLd(json, options = {}) {
|
|
40246
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
40246
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40247
40247
|
try {
|
|
40248
40248
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
40249
40249
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40962,7 +40962,7 @@ var Source = class {
|
|
|
40962
40962
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40963
40963
|
*/
|
|
40964
40964
|
static async fromJsonLd(json, options = {}) {
|
|
40965
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
40965
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40966
40966
|
try {
|
|
40967
40967
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
40968
40968
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41146,7 +41146,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
41146
41146
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41147
41147
|
*/
|
|
41148
41148
|
static async fromJsonLd(json, options = {}) {
|
|
41149
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41149
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41150
41150
|
try {
|
|
41151
41151
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
41152
41152
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41297,7 +41297,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
41297
41297
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41298
41298
|
*/
|
|
41299
41299
|
static async fromJsonLd(json, options = {}) {
|
|
41300
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41300
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41301
41301
|
try {
|
|
41302
41302
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
41303
41303
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41487,7 +41487,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
41487
41487
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41488
41488
|
*/
|
|
41489
41489
|
static async fromJsonLd(json, options = {}) {
|
|
41490
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41490
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41491
41491
|
try {
|
|
41492
41492
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
41493
41493
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41655,7 +41655,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
41655
41655
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41656
41656
|
*/
|
|
41657
41657
|
static async fromJsonLd(json, options = {}) {
|
|
41658
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41658
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41659
41659
|
try {
|
|
41660
41660
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
41661
41661
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41820,7 +41820,7 @@ var Undo = class Undo extends Activity {
|
|
|
41820
41820
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41821
41821
|
*/
|
|
41822
41822
|
static async fromJsonLd(json, options = {}) {
|
|
41823
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41823
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41824
41824
|
try {
|
|
41825
41825
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
41826
41826
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42023,7 +42023,7 @@ var Update = class Update extends Activity {
|
|
|
42023
42023
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42024
42024
|
*/
|
|
42025
42025
|
static async fromJsonLd(json, options = {}) {
|
|
42026
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
42026
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42027
42027
|
try {
|
|
42028
42028
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
42029
42029
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42180,7 +42180,7 @@ var Video = class Video extends Document {
|
|
|
42180
42180
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42181
42181
|
*/
|
|
42182
42182
|
static async fromJsonLd(json, options = {}) {
|
|
42183
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
42183
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42184
42184
|
try {
|
|
42185
42185
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
42186
42186
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42330,7 +42330,7 @@ var View = class View extends Activity {
|
|
|
42330
42330
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42331
42331
|
*/
|
|
42332
42332
|
static async fromJsonLd(json, options = {}) {
|
|
42333
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
42333
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.35").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42334
42334
|
try {
|
|
42335
42335
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
42336
42336
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|