@fedify/vocab 2.0.29 → 2.0.30-dev.2199
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-CITenz8F.mjs → deno-CBKAOF4K.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-CLB8P-Fw.mjs → vocab-Ci3g_-fe.mjs} +184 -184
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
|
@@ -740,7 +740,7 @@ var Object$1 = class Object$1 {
|
|
|
740
740
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
741
741
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
742
742
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
743
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
743
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
744
744
|
let fetchResult;
|
|
745
745
|
try {
|
|
746
746
|
fetchResult = await documentLoader(url.href);
|
|
@@ -896,7 +896,7 @@ var Object$1 = class Object$1 {
|
|
|
896
896
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
897
897
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
898
898
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
899
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
899
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
900
900
|
let fetchResult;
|
|
901
901
|
try {
|
|
902
902
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1127,7 +1127,7 @@ var Object$1 = class Object$1 {
|
|
|
1127
1127
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1128
1128
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1129
1129
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1130
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1130
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1131
1131
|
let fetchResult;
|
|
1132
1132
|
try {
|
|
1133
1133
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1330,7 +1330,7 @@ var Object$1 = class Object$1 {
|
|
|
1330
1330
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1331
1331
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1332
1332
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1333
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1333
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1334
1334
|
let fetchResult;
|
|
1335
1335
|
try {
|
|
1336
1336
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1502,7 +1502,7 @@ var Object$1 = class Object$1 {
|
|
|
1502
1502
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1503
1503
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1504
1504
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1505
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1505
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1506
1506
|
let fetchResult;
|
|
1507
1507
|
try {
|
|
1508
1508
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1642,7 +1642,7 @@ var Object$1 = class Object$1 {
|
|
|
1642
1642
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1643
1643
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1644
1644
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1645
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1645
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1646
1646
|
let fetchResult;
|
|
1647
1647
|
try {
|
|
1648
1648
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1827,7 +1827,7 @@ var Object$1 = class Object$1 {
|
|
|
1827
1827
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1828
1828
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1829
1829
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1830
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1830
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1831
1831
|
let fetchResult;
|
|
1832
1832
|
try {
|
|
1833
1833
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2012,7 +2012,7 @@ var Object$1 = class Object$1 {
|
|
|
2012
2012
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2013
2013
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2014
2014
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2015
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2015
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2016
2016
|
let fetchResult;
|
|
2017
2017
|
try {
|
|
2018
2018
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2205,7 +2205,7 @@ var Object$1 = class Object$1 {
|
|
|
2205
2205
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2206
2206
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2207
2207
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2208
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2208
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2209
2209
|
let fetchResult;
|
|
2210
2210
|
try {
|
|
2211
2211
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2398,7 +2398,7 @@ var Object$1 = class Object$1 {
|
|
|
2398
2398
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2399
2399
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2400
2400
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2401
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2401
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2402
2402
|
let fetchResult;
|
|
2403
2403
|
try {
|
|
2404
2404
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2596,7 +2596,7 @@ var Object$1 = class Object$1 {
|
|
|
2596
2596
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2597
2597
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2598
2598
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2599
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2599
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2600
2600
|
let fetchResult;
|
|
2601
2601
|
try {
|
|
2602
2602
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2726,7 +2726,7 @@ var Object$1 = class Object$1 {
|
|
|
2726
2726
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2727
2727
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2728
2728
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2729
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2729
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2730
2730
|
let fetchResult;
|
|
2731
2731
|
try {
|
|
2732
2732
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2862,7 +2862,7 @@ var Object$1 = class Object$1 {
|
|
|
2862
2862
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2863
2863
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2864
2864
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2865
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2865
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2866
2866
|
let fetchResult;
|
|
2867
2867
|
try {
|
|
2868
2868
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2998,7 +2998,7 @@ var Object$1 = class Object$1 {
|
|
|
2998
2998
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2999
2999
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3000
3000
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3001
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3001
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3002
3002
|
let fetchResult;
|
|
3003
3003
|
try {
|
|
3004
3004
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3152,7 +3152,7 @@ var Object$1 = class Object$1 {
|
|
|
3152
3152
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3153
3153
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3154
3154
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3155
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3155
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3156
3156
|
let fetchResult;
|
|
3157
3157
|
try {
|
|
3158
3158
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3314,7 +3314,7 @@ var Object$1 = class Object$1 {
|
|
|
3314
3314
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3315
3315
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3316
3316
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3317
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3317
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3318
3318
|
let fetchResult;
|
|
3319
3319
|
try {
|
|
3320
3320
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3497,7 +3497,7 @@ var Object$1 = class Object$1 {
|
|
|
3497
3497
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3498
3498
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3499
3499
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3500
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3500
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3501
3501
|
let fetchResult;
|
|
3502
3502
|
try {
|
|
3503
3503
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3680,7 +3680,7 @@ var Object$1 = class Object$1 {
|
|
|
3680
3680
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3681
3681
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3682
3682
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3683
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3683
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3684
3684
|
let fetchResult;
|
|
3685
3685
|
try {
|
|
3686
3686
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3863,7 +3863,7 @@ var Object$1 = class Object$1 {
|
|
|
3863
3863
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3864
3864
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3865
3865
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3866
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3866
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3867
3867
|
let fetchResult;
|
|
3868
3868
|
try {
|
|
3869
3869
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4083,7 +4083,7 @@ var Object$1 = class Object$1 {
|
|
|
4083
4083
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4084
4084
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4085
4085
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4086
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
4086
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4087
4087
|
let fetchResult;
|
|
4088
4088
|
try {
|
|
4089
4089
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4891,7 +4891,7 @@ var Object$1 = class Object$1 {
|
|
|
4891
4891
|
* @throws {TypeError} If the given `json` is invalid.
|
|
4892
4892
|
*/
|
|
4893
4893
|
static async fromJsonLd(json, options = {}) {
|
|
4894
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
4894
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
4895
4895
|
try {
|
|
4896
4896
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
4897
4897
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6225,7 +6225,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
6225
6225
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6226
6226
|
*/
|
|
6227
6227
|
static async fromJsonLd(json, options = {}) {
|
|
6228
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
6228
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6229
6229
|
try {
|
|
6230
6230
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
6231
6231
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6464,7 +6464,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6464
6464
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6465
6465
|
*/
|
|
6466
6466
|
static async fromJsonLd(json, options = {}) {
|
|
6467
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
6467
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6468
6468
|
try {
|
|
6469
6469
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
6470
6470
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6753,7 +6753,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6753
6753
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6754
6754
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6755
6755
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6756
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6756
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6757
6757
|
let fetchResult;
|
|
6758
6758
|
try {
|
|
6759
6759
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6984,7 +6984,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6984
6984
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6985
6985
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6986
6986
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6987
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6987
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6988
6988
|
let fetchResult;
|
|
6989
6989
|
try {
|
|
6990
6990
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7169,7 +7169,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7169
7169
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7170
7170
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7171
7171
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7172
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7172
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7173
7173
|
let fetchResult;
|
|
7174
7174
|
try {
|
|
7175
7175
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7360,7 +7360,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7360
7360
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7361
7361
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7362
7362
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7363
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7363
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7364
7364
|
let fetchResult;
|
|
7365
7365
|
try {
|
|
7366
7366
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7545,7 +7545,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7545
7545
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7546
7546
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7547
7547
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7548
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7548
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7549
7549
|
let fetchResult;
|
|
7550
7550
|
try {
|
|
7551
7551
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7732,7 +7732,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7732
7732
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7733
7733
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7734
7734
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7735
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7735
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7736
7736
|
let fetchResult;
|
|
7737
7737
|
try {
|
|
7738
7738
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8001,7 +8001,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8001
8001
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8002
8002
|
*/
|
|
8003
8003
|
static async fromJsonLd(json, options = {}) {
|
|
8004
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8004
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8005
8005
|
try {
|
|
8006
8006
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
8007
8007
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8335,7 +8335,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
8335
8335
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8336
8336
|
*/
|
|
8337
8337
|
static async fromJsonLd(json, options = {}) {
|
|
8338
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8338
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8339
8339
|
try {
|
|
8340
8340
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
8341
8341
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8595,7 +8595,7 @@ var PropertyValue = class {
|
|
|
8595
8595
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8596
8596
|
*/
|
|
8597
8597
|
static async fromJsonLd(json, options = {}) {
|
|
8598
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8598
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8599
8599
|
try {
|
|
8600
8600
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
8601
8601
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8851,7 +8851,7 @@ var DidService = class {
|
|
|
8851
8851
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8852
8852
|
*/
|
|
8853
8853
|
static async fromJsonLd(json, options = {}) {
|
|
8854
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8854
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8855
8855
|
try {
|
|
8856
8856
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
8857
8857
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9009,7 +9009,7 @@ var Export = class Export extends DidService {
|
|
|
9009
9009
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9010
9010
|
*/
|
|
9011
9011
|
static async fromJsonLd(json, options = {}) {
|
|
9012
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9012
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9013
9013
|
try {
|
|
9014
9014
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
9015
9015
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9196,7 +9196,7 @@ var DataIntegrityProof = class {
|
|
|
9196
9196
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9197
9197
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9198
9198
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9199
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
9199
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9200
9200
|
let fetchResult;
|
|
9201
9201
|
try {
|
|
9202
9202
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9415,7 +9415,7 @@ var DataIntegrityProof = class {
|
|
|
9415
9415
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9416
9416
|
*/
|
|
9417
9417
|
static async fromJsonLd(json, options = {}) {
|
|
9418
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9418
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9419
9419
|
try {
|
|
9420
9420
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
9421
9421
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9653,7 +9653,7 @@ var CryptographicKey = class {
|
|
|
9653
9653
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9654
9654
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9655
9655
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9656
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
9656
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9657
9657
|
let fetchResult;
|
|
9658
9658
|
try {
|
|
9659
9659
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9924,7 +9924,7 @@ var CryptographicKey = class {
|
|
|
9924
9924
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9925
9925
|
*/
|
|
9926
9926
|
static async fromJsonLd(json, options = {}) {
|
|
9927
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9927
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9928
9928
|
try {
|
|
9929
9929
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
9930
9930
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10139,7 +10139,7 @@ var Multikey = class {
|
|
|
10139
10139
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10140
10140
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10141
10141
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10142
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
10142
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10143
10143
|
let fetchResult;
|
|
10144
10144
|
try {
|
|
10145
10145
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10416,7 +10416,7 @@ var Multikey = class {
|
|
|
10416
10416
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10417
10417
|
*/
|
|
10418
10418
|
static async fromJsonLd(json, options = {}) {
|
|
10419
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10419
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10420
10420
|
try {
|
|
10421
10421
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
10422
10422
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10618,7 +10618,7 @@ var Accept = class Accept extends Activity {
|
|
|
10618
10618
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10619
10619
|
*/
|
|
10620
10620
|
static async fromJsonLd(json, options = {}) {
|
|
10621
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10621
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10622
10622
|
try {
|
|
10623
10623
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
10624
10624
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10771,7 +10771,7 @@ var Add = class Add extends Activity {
|
|
|
10771
10771
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10772
10772
|
*/
|
|
10773
10773
|
static async fromJsonLd(json, options = {}) {
|
|
10774
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10774
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10775
10775
|
try {
|
|
10776
10776
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
10777
10777
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10941,7 +10941,7 @@ var Announce = class Announce extends Activity {
|
|
|
10941
10941
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10942
10942
|
*/
|
|
10943
10943
|
static async fromJsonLd(json, options = {}) {
|
|
10944
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10944
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10945
10945
|
try {
|
|
10946
10946
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
10947
10947
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11338,7 +11338,7 @@ var Application = class Application extends Object$1 {
|
|
|
11338
11338
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11339
11339
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11340
11340
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11341
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11341
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11342
11342
|
let fetchResult;
|
|
11343
11343
|
try {
|
|
11344
11344
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11519,7 +11519,7 @@ var Application = class Application extends Object$1 {
|
|
|
11519
11519
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11520
11520
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11521
11521
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11522
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11522
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11523
11523
|
let fetchResult;
|
|
11524
11524
|
try {
|
|
11525
11525
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11718,7 +11718,7 @@ var Application = class Application extends Object$1 {
|
|
|
11718
11718
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11719
11719
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11720
11720
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11721
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11721
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11722
11722
|
let fetchResult;
|
|
11723
11723
|
try {
|
|
11724
11724
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11869,7 +11869,7 @@ var Application = class Application extends Object$1 {
|
|
|
11869
11869
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11870
11870
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11871
11871
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11872
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11872
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11873
11873
|
let fetchResult;
|
|
11874
11874
|
try {
|
|
11875
11875
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12017,7 +12017,7 @@ var Application = class Application extends Object$1 {
|
|
|
12017
12017
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12018
12018
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12019
12019
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12020
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12020
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12021
12021
|
let fetchResult;
|
|
12022
12022
|
try {
|
|
12023
12023
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12150,7 +12150,7 @@ var Application = class Application extends Object$1 {
|
|
|
12150
12150
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12151
12151
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12152
12152
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12153
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12153
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12154
12154
|
let fetchResult;
|
|
12155
12155
|
try {
|
|
12156
12156
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12286,7 +12286,7 @@ var Application = class Application extends Object$1 {
|
|
|
12286
12286
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12287
12287
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12288
12288
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12289
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12289
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12290
12290
|
let fetchResult;
|
|
12291
12291
|
try {
|
|
12292
12292
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12420,7 +12420,7 @@ var Application = class Application extends Object$1 {
|
|
|
12420
12420
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12421
12421
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12422
12422
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12423
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12423
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12424
12424
|
let fetchResult;
|
|
12425
12425
|
try {
|
|
12426
12426
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12552,7 +12552,7 @@ var Application = class Application extends Object$1 {
|
|
|
12552
12552
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12553
12553
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12554
12554
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12555
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12555
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12556
12556
|
let fetchResult;
|
|
12557
12557
|
try {
|
|
12558
12558
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12684,7 +12684,7 @@ var Application = class Application extends Object$1 {
|
|
|
12684
12684
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12685
12685
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12686
12686
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12687
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12687
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12688
12688
|
let fetchResult;
|
|
12689
12689
|
try {
|
|
12690
12690
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12856,7 +12856,7 @@ var Application = class Application extends Object$1 {
|
|
|
12856
12856
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12857
12857
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12858
12858
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12859
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12859
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12860
12860
|
let fetchResult;
|
|
12861
12861
|
try {
|
|
12862
12862
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13031,7 +13031,7 @@ var Application = class Application extends Object$1 {
|
|
|
13031
13031
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13032
13032
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13033
13033
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13034
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
13034
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13035
13035
|
let fetchResult;
|
|
13036
13036
|
try {
|
|
13037
13037
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13264,7 +13264,7 @@ var Application = class Application extends Object$1 {
|
|
|
13264
13264
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13265
13265
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13266
13266
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13267
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
13267
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13268
13268
|
let fetchResult;
|
|
13269
13269
|
try {
|
|
13270
13270
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13966,7 +13966,7 @@ var Application = class Application extends Object$1 {
|
|
|
13966
13966
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13967
13967
|
*/
|
|
13968
13968
|
static async fromJsonLd(json, options = {}) {
|
|
13969
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
13969
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13970
13970
|
try {
|
|
13971
13971
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
13972
13972
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14575,7 +14575,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
14575
14575
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14576
14576
|
*/
|
|
14577
14577
|
static async fromJsonLd(json, options = {}) {
|
|
14578
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14578
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14579
14579
|
try {
|
|
14580
14580
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
14581
14581
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14729,7 +14729,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
14729
14729
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14730
14730
|
*/
|
|
14731
14731
|
static async fromJsonLd(json, options = {}) {
|
|
14732
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14732
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14733
14733
|
try {
|
|
14734
14734
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
14735
14735
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14966,7 +14966,7 @@ var Article = class Article extends Object$1 {
|
|
|
14966
14966
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14967
14967
|
*/
|
|
14968
14968
|
static async fromJsonLd(json, options = {}) {
|
|
14969
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14969
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14970
14970
|
try {
|
|
14971
14971
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
14972
14972
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15203,7 +15203,7 @@ var Document = class Document extends Object$1 {
|
|
|
15203
15203
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15204
15204
|
*/
|
|
15205
15205
|
static async fromJsonLd(json, options = {}) {
|
|
15206
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
15206
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15207
15207
|
try {
|
|
15208
15208
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
15209
15209
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15392,7 +15392,7 @@ var Audio = class Audio extends Document {
|
|
|
15392
15392
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15393
15393
|
*/
|
|
15394
15394
|
static async fromJsonLd(json, options = {}) {
|
|
15395
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
15395
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15396
15396
|
try {
|
|
15397
15397
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
15398
15398
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15542,7 +15542,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
15542
15542
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15543
15543
|
*/
|
|
15544
15544
|
static async fromJsonLd(json, options = {}) {
|
|
15545
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
15545
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15546
15546
|
try {
|
|
15547
15547
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
15548
15548
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15695,7 +15695,7 @@ var Block = class Block extends Ignore {
|
|
|
15695
15695
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15696
15696
|
*/
|
|
15697
15697
|
static async fromJsonLd(json, options = {}) {
|
|
15698
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
15698
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15699
15699
|
try {
|
|
15700
15700
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
15701
15701
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15961,7 +15961,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15961
15961
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15962
15962
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15963
15963
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15964
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15964
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15965
15965
|
let fetchResult;
|
|
15966
15966
|
try {
|
|
15967
15967
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16091,7 +16091,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16091
16091
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16092
16092
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16093
16093
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16094
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16094
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16095
16095
|
let fetchResult;
|
|
16096
16096
|
try {
|
|
16097
16097
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16221,7 +16221,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16221
16221
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16222
16222
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16223
16223
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16224
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16224
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16225
16225
|
let fetchResult;
|
|
16226
16226
|
try {
|
|
16227
16227
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16351,7 +16351,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16351
16351
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16352
16352
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16353
16353
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16354
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16354
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16355
16355
|
let fetchResult;
|
|
16356
16356
|
try {
|
|
16357
16357
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16492,7 +16492,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16492
16492
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16493
16493
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16494
16494
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16495
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16495
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16496
16496
|
let fetchResult;
|
|
16497
16497
|
try {
|
|
16498
16498
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16621,7 +16621,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16621
16621
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16622
16622
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16623
16623
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16624
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16624
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16625
16625
|
let fetchResult;
|
|
16626
16626
|
try {
|
|
16627
16627
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16750,7 +16750,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16750
16750
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16751
16751
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16752
16752
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16753
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16753
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16754
16754
|
let fetchResult;
|
|
16755
16755
|
try {
|
|
16756
16756
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16879,7 +16879,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16879
16879
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16880
16880
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16881
16881
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16882
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16882
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16883
16883
|
let fetchResult;
|
|
16884
16884
|
try {
|
|
16885
16885
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17008,7 +17008,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
17008
17008
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17009
17009
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17010
17010
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17011
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17011
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17012
17012
|
let fetchResult;
|
|
17013
17013
|
try {
|
|
17014
17014
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17137,7 +17137,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
17137
17137
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17138
17138
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17139
17139
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17140
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17140
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17141
17141
|
let fetchResult;
|
|
17142
17142
|
try {
|
|
17143
17143
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17266,7 +17266,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
17266
17266
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17267
17267
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17268
17268
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17269
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17269
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17270
17270
|
let fetchResult;
|
|
17271
17271
|
try {
|
|
17272
17272
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17395,7 +17395,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
17395
17395
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17396
17396
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17397
17397
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17398
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17398
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17399
17399
|
let fetchResult;
|
|
17400
17400
|
try {
|
|
17401
17401
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17831,7 +17831,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
17831
17831
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17832
17832
|
*/
|
|
17833
17833
|
static async fromJsonLd(json, options = {}) {
|
|
17834
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
17834
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17835
17835
|
try {
|
|
17836
17836
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
17837
17837
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18308,7 +18308,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
18308
18308
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18309
18309
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18310
18310
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18311
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
18311
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18312
18312
|
let fetchResult;
|
|
18313
18313
|
try {
|
|
18314
18314
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18438,7 +18438,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
18438
18438
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18439
18439
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18440
18440
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18441
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
18441
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18442
18442
|
let fetchResult;
|
|
18443
18443
|
try {
|
|
18444
18444
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18567,7 +18567,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
18567
18567
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18568
18568
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18569
18569
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18570
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
18570
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18571
18571
|
let fetchResult;
|
|
18572
18572
|
try {
|
|
18573
18573
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18840,7 +18840,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
18840
18840
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18841
18841
|
*/
|
|
18842
18842
|
static async fromJsonLd(json, options = {}) {
|
|
18843
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18843
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18844
18844
|
try {
|
|
18845
18845
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
18846
18846
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19074,7 +19074,7 @@ var Create = class Create extends Activity {
|
|
|
19074
19074
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19075
19075
|
*/
|
|
19076
19076
|
static async fromJsonLd(json, options = {}) {
|
|
19077
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19077
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19078
19078
|
try {
|
|
19079
19079
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
19080
19080
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19240,7 +19240,7 @@ var Delete = class Delete extends Activity {
|
|
|
19240
19240
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19241
19241
|
*/
|
|
19242
19242
|
static async fromJsonLd(json, options = {}) {
|
|
19243
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19243
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19244
19244
|
try {
|
|
19245
19245
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
19246
19246
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19393,7 +19393,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
19393
19393
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19394
19394
|
*/
|
|
19395
19395
|
static async fromJsonLd(json, options = {}) {
|
|
19396
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19396
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19397
19397
|
try {
|
|
19398
19398
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
19399
19399
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19754,7 +19754,7 @@ var Endpoints = class {
|
|
|
19754
19754
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19755
19755
|
*/
|
|
19756
19756
|
static async fromJsonLd(json, options = {}) {
|
|
19757
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19757
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19758
19758
|
try {
|
|
19759
19759
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
19760
19760
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19994,7 +19994,7 @@ var Event = class Event extends Object$1 {
|
|
|
19994
19994
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19995
19995
|
*/
|
|
19996
19996
|
static async fromJsonLd(json, options = {}) {
|
|
19997
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19997
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19998
19998
|
try {
|
|
19999
19999
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
20000
20000
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20145,7 +20145,7 @@ var Flag = class Flag extends Activity {
|
|
|
20145
20145
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20146
20146
|
*/
|
|
20147
20147
|
static async fromJsonLd(json, options = {}) {
|
|
20148
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
20148
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20149
20149
|
try {
|
|
20150
20150
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
20151
20151
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20300,7 +20300,7 @@ var Follow = class Follow extends Activity {
|
|
|
20300
20300
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20301
20301
|
*/
|
|
20302
20302
|
static async fromJsonLd(json, options = {}) {
|
|
20303
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
20303
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20304
20304
|
try {
|
|
20305
20305
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
20306
20306
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20697,7 +20697,7 @@ var Group = class Group extends Object$1 {
|
|
|
20697
20697
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20698
20698
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20699
20699
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20700
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20700
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20701
20701
|
let fetchResult;
|
|
20702
20702
|
try {
|
|
20703
20703
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20878,7 +20878,7 @@ var Group = class Group extends Object$1 {
|
|
|
20878
20878
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20879
20879
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20880
20880
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20881
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20881
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20882
20882
|
let fetchResult;
|
|
20883
20883
|
try {
|
|
20884
20884
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21077,7 +21077,7 @@ var Group = class Group extends Object$1 {
|
|
|
21077
21077
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21078
21078
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21079
21079
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21080
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21080
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21081
21081
|
let fetchResult;
|
|
21082
21082
|
try {
|
|
21083
21083
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21228,7 +21228,7 @@ var Group = class Group extends Object$1 {
|
|
|
21228
21228
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21229
21229
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21230
21230
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21231
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21231
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21232
21232
|
let fetchResult;
|
|
21233
21233
|
try {
|
|
21234
21234
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21376,7 +21376,7 @@ var Group = class Group extends Object$1 {
|
|
|
21376
21376
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21377
21377
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21378
21378
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21379
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21379
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21380
21380
|
let fetchResult;
|
|
21381
21381
|
try {
|
|
21382
21382
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21509,7 +21509,7 @@ var Group = class Group extends Object$1 {
|
|
|
21509
21509
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21510
21510
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21511
21511
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21512
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21512
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21513
21513
|
let fetchResult;
|
|
21514
21514
|
try {
|
|
21515
21515
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21645,7 +21645,7 @@ var Group = class Group extends Object$1 {
|
|
|
21645
21645
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21646
21646
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21647
21647
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21648
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21648
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21649
21649
|
let fetchResult;
|
|
21650
21650
|
try {
|
|
21651
21651
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21779,7 +21779,7 @@ var Group = class Group extends Object$1 {
|
|
|
21779
21779
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21780
21780
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21781
21781
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21782
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21782
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21783
21783
|
let fetchResult;
|
|
21784
21784
|
try {
|
|
21785
21785
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21911,7 +21911,7 @@ var Group = class Group extends Object$1 {
|
|
|
21911
21911
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21912
21912
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21913
21913
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21914
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21914
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21915
21915
|
let fetchResult;
|
|
21916
21916
|
try {
|
|
21917
21917
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22043,7 +22043,7 @@ var Group = class Group extends Object$1 {
|
|
|
22043
22043
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22044
22044
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22045
22045
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22046
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
22046
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22047
22047
|
let fetchResult;
|
|
22048
22048
|
try {
|
|
22049
22049
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22215,7 +22215,7 @@ var Group = class Group extends Object$1 {
|
|
|
22215
22215
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22216
22216
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22217
22217
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22218
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
22218
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22219
22219
|
let fetchResult;
|
|
22220
22220
|
try {
|
|
22221
22221
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22390,7 +22390,7 @@ var Group = class Group extends Object$1 {
|
|
|
22390
22390
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22391
22391
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22392
22392
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22393
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
22393
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22394
22394
|
let fetchResult;
|
|
22395
22395
|
try {
|
|
22396
22396
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22623,7 +22623,7 @@ var Group = class Group extends Object$1 {
|
|
|
22623
22623
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22624
22624
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22625
22625
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22626
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
22626
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22627
22627
|
let fetchResult;
|
|
22628
22628
|
try {
|
|
22629
22629
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23325,7 +23325,7 @@ var Group = class Group extends Object$1 {
|
|
|
23325
23325
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23326
23326
|
*/
|
|
23327
23327
|
static async fromJsonLd(json, options = {}) {
|
|
23328
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23328
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23329
23329
|
try {
|
|
23330
23330
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
23331
23331
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24085,7 +24085,7 @@ var Link = class Link {
|
|
|
24085
24085
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24086
24086
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24087
24087
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24088
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
24088
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24089
24089
|
let fetchResult;
|
|
24090
24090
|
try {
|
|
24091
24091
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24387,7 +24387,7 @@ var Link = class Link {
|
|
|
24387
24387
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24388
24388
|
*/
|
|
24389
24389
|
static async fromJsonLd(json, options = {}) {
|
|
24390
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24390
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24391
24391
|
try {
|
|
24392
24392
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
24393
24393
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24736,7 +24736,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
24736
24736
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24737
24737
|
*/
|
|
24738
24738
|
static async fromJsonLd(json, options = {}) {
|
|
24739
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24739
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24740
24740
|
try {
|
|
24741
24741
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
24742
24742
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24892,7 +24892,7 @@ var Image = class Image extends Document {
|
|
|
24892
24892
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24893
24893
|
*/
|
|
24894
24894
|
static async fromJsonLd(json, options = {}) {
|
|
24895
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24895
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24896
24896
|
try {
|
|
24897
24897
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
24898
24898
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25043,7 +25043,7 @@ var Offer = class Offer extends Activity {
|
|
|
25043
25043
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25044
25044
|
*/
|
|
25045
25045
|
static async fromJsonLd(json, options = {}) {
|
|
25046
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25046
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25047
25047
|
try {
|
|
25048
25048
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
25049
25049
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25194,7 +25194,7 @@ var Invite = class Invite extends Offer {
|
|
|
25194
25194
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25195
25195
|
*/
|
|
25196
25196
|
static async fromJsonLd(json, options = {}) {
|
|
25197
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25197
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25198
25198
|
try {
|
|
25199
25199
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
25200
25200
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25344,7 +25344,7 @@ var Join = class Join extends Activity {
|
|
|
25344
25344
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25345
25345
|
*/
|
|
25346
25346
|
static async fromJsonLd(json, options = {}) {
|
|
25347
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25347
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25348
25348
|
try {
|
|
25349
25349
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
25350
25350
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25494,7 +25494,7 @@ var Leave = class Leave extends Activity {
|
|
|
25494
25494
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25495
25495
|
*/
|
|
25496
25496
|
static async fromJsonLd(json, options = {}) {
|
|
25497
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25497
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25498
25498
|
try {
|
|
25499
25499
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
25500
25500
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25648,7 +25648,7 @@ var Like = class Like extends Activity {
|
|
|
25648
25648
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25649
25649
|
*/
|
|
25650
25650
|
static async fromJsonLd(json, options = {}) {
|
|
25651
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25651
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25652
25652
|
try {
|
|
25653
25653
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
25654
25654
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25797,7 +25797,7 @@ var Listen = class Listen extends Activity {
|
|
|
25797
25797
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25798
25798
|
*/
|
|
25799
25799
|
static async fromJsonLd(json, options = {}) {
|
|
25800
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25800
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25801
25801
|
try {
|
|
25802
25802
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
25803
25803
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25950,7 +25950,7 @@ var Mention = class Mention extends Link {
|
|
|
25950
25950
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25951
25951
|
*/
|
|
25952
25952
|
static async fromJsonLd(json, options = {}) {
|
|
25953
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25953
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25954
25954
|
try {
|
|
25955
25955
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
25956
25956
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26101,7 +26101,7 @@ var Move = class Move extends Activity {
|
|
|
26101
26101
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26102
26102
|
*/
|
|
26103
26103
|
static async fromJsonLd(json, options = {}) {
|
|
26104
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
26104
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26105
26105
|
try {
|
|
26106
26106
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
26107
26107
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26339,7 +26339,7 @@ var Note = class Note extends Object$1 {
|
|
|
26339
26339
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26340
26340
|
*/
|
|
26341
26341
|
static async fromJsonLd(json, options = {}) {
|
|
26342
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
26342
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26343
26343
|
try {
|
|
26344
26344
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
26345
26345
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26476,7 +26476,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
26476
26476
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26477
26477
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26478
26478
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26479
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26479
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26480
26480
|
let fetchResult;
|
|
26481
26481
|
try {
|
|
26482
26482
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26734,7 +26734,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
26734
26734
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26735
26735
|
*/
|
|
26736
26736
|
static async fromJsonLd(json, options = {}) {
|
|
26737
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
26737
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26738
26738
|
try {
|
|
26739
26739
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
26740
26740
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26946,7 +26946,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
26946
26946
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26947
26947
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26948
26948
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26949
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26949
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26950
26950
|
let fetchResult;
|
|
26951
26951
|
try {
|
|
26952
26952
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27227,7 +27227,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
27227
27227
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27228
27228
|
*/
|
|
27229
27229
|
static async fromJsonLd(json, options = {}) {
|
|
27230
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
27230
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27231
27231
|
try {
|
|
27232
27232
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
27233
27233
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27727,7 +27727,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27727
27727
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27728
27728
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27729
27729
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27730
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27730
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27731
27731
|
let fetchResult;
|
|
27732
27732
|
try {
|
|
27733
27733
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27908,7 +27908,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27908
27908
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27909
27909
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27910
27910
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27911
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27911
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27912
27912
|
let fetchResult;
|
|
27913
27913
|
try {
|
|
27914
27914
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28107,7 +28107,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28107
28107
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28108
28108
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28109
28109
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28110
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28110
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28111
28111
|
let fetchResult;
|
|
28112
28112
|
try {
|
|
28113
28113
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28258,7 +28258,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28258
28258
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28259
28259
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28260
28260
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28261
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28261
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28262
28262
|
let fetchResult;
|
|
28263
28263
|
try {
|
|
28264
28264
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28406,7 +28406,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28406
28406
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28407
28407
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28408
28408
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28409
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28409
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28410
28410
|
let fetchResult;
|
|
28411
28411
|
try {
|
|
28412
28412
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28539,7 +28539,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28539
28539
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28540
28540
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28541
28541
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28542
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28542
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28543
28543
|
let fetchResult;
|
|
28544
28544
|
try {
|
|
28545
28545
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28675,7 +28675,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28675
28675
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28676
28676
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28677
28677
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28678
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28678
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28679
28679
|
let fetchResult;
|
|
28680
28680
|
try {
|
|
28681
28681
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28809,7 +28809,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28809
28809
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28810
28810
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28811
28811
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28812
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28812
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28813
28813
|
let fetchResult;
|
|
28814
28814
|
try {
|
|
28815
28815
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28941,7 +28941,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28941
28941
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28942
28942
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28943
28943
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28944
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28944
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28945
28945
|
let fetchResult;
|
|
28946
28946
|
try {
|
|
28947
28947
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29073,7 +29073,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29073
29073
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29074
29074
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29075
29075
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29076
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29076
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29077
29077
|
let fetchResult;
|
|
29078
29078
|
try {
|
|
29079
29079
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29245,7 +29245,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29245
29245
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29246
29246
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29247
29247
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29248
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29248
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29249
29249
|
let fetchResult;
|
|
29250
29250
|
try {
|
|
29251
29251
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29420,7 +29420,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29420
29420
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29421
29421
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29422
29422
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29423
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29423
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29424
29424
|
let fetchResult;
|
|
29425
29425
|
try {
|
|
29426
29426
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29653,7 +29653,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29653
29653
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29654
29654
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29655
29655
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29656
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29656
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29657
29657
|
let fetchResult;
|
|
29658
29658
|
try {
|
|
29659
29659
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30355,7 +30355,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30355
30355
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30356
30356
|
*/
|
|
30357
30357
|
static async fromJsonLd(json, options = {}) {
|
|
30358
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
30358
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30359
30359
|
try {
|
|
30360
30360
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
30361
30361
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30969,7 +30969,7 @@ var Page = class Page extends Document {
|
|
|
30969
30969
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30970
30970
|
*/
|
|
30971
30971
|
static async fromJsonLd(json, options = {}) {
|
|
30972
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
30972
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30973
30973
|
try {
|
|
30974
30974
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
30975
30975
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31366,7 +31366,7 @@ var Person = class Person extends Object$1 {
|
|
|
31366
31366
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31367
31367
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31368
31368
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31369
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31369
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31370
31370
|
let fetchResult;
|
|
31371
31371
|
try {
|
|
31372
31372
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31547,7 +31547,7 @@ var Person = class Person extends Object$1 {
|
|
|
31547
31547
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31548
31548
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31549
31549
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31550
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31550
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31551
31551
|
let fetchResult;
|
|
31552
31552
|
try {
|
|
31553
31553
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31746,7 +31746,7 @@ var Person = class Person extends Object$1 {
|
|
|
31746
31746
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31747
31747
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31748
31748
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31749
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31749
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31750
31750
|
let fetchResult;
|
|
31751
31751
|
try {
|
|
31752
31752
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31897,7 +31897,7 @@ var Person = class Person extends Object$1 {
|
|
|
31897
31897
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31898
31898
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31899
31899
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31900
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31900
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31901
31901
|
let fetchResult;
|
|
31902
31902
|
try {
|
|
31903
31903
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32045,7 +32045,7 @@ var Person = class Person extends Object$1 {
|
|
|
32045
32045
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32046
32046
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32047
32047
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32048
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32048
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32049
32049
|
let fetchResult;
|
|
32050
32050
|
try {
|
|
32051
32051
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32178,7 +32178,7 @@ var Person = class Person extends Object$1 {
|
|
|
32178
32178
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32179
32179
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32180
32180
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32181
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32181
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32182
32182
|
let fetchResult;
|
|
32183
32183
|
try {
|
|
32184
32184
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32314,7 +32314,7 @@ var Person = class Person extends Object$1 {
|
|
|
32314
32314
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32315
32315
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32316
32316
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32317
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32317
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32318
32318
|
let fetchResult;
|
|
32319
32319
|
try {
|
|
32320
32320
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32448,7 +32448,7 @@ var Person = class Person extends Object$1 {
|
|
|
32448
32448
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32449
32449
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32450
32450
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32451
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32451
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32452
32452
|
let fetchResult;
|
|
32453
32453
|
try {
|
|
32454
32454
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32580,7 +32580,7 @@ var Person = class Person extends Object$1 {
|
|
|
32580
32580
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32581
32581
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32582
32582
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32583
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32583
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32584
32584
|
let fetchResult;
|
|
32585
32585
|
try {
|
|
32586
32586
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32712,7 +32712,7 @@ var Person = class Person extends Object$1 {
|
|
|
32712
32712
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32713
32713
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32714
32714
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32715
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32715
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32716
32716
|
let fetchResult;
|
|
32717
32717
|
try {
|
|
32718
32718
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32884,7 +32884,7 @@ var Person = class Person extends Object$1 {
|
|
|
32884
32884
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32885
32885
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32886
32886
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32887
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32887
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32888
32888
|
let fetchResult;
|
|
32889
32889
|
try {
|
|
32890
32890
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33059,7 +33059,7 @@ var Person = class Person extends Object$1 {
|
|
|
33059
33059
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33060
33060
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33061
33061
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33062
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
33062
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33063
33063
|
let fetchResult;
|
|
33064
33064
|
try {
|
|
33065
33065
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33292,7 +33292,7 @@ var Person = class Person extends Object$1 {
|
|
|
33292
33292
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33293
33293
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33294
33294
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33295
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
33295
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33296
33296
|
let fetchResult;
|
|
33297
33297
|
try {
|
|
33298
33298
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33994,7 +33994,7 @@ var Person = class Person extends Object$1 {
|
|
|
33994
33994
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33995
33995
|
*/
|
|
33996
33996
|
static async fromJsonLd(json, options = {}) {
|
|
33997
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
33997
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33998
33998
|
try {
|
|
33999
33999
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
34000
34000
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34785,7 +34785,7 @@ var Place = class Place extends Object$1 {
|
|
|
34785
34785
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34786
34786
|
*/
|
|
34787
34787
|
static async fromJsonLd(json, options = {}) {
|
|
34788
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
34788
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34789
34789
|
try {
|
|
34790
34790
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
34791
34791
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34992,7 +34992,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
34992
34992
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34993
34993
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34994
34994
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34995
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
34995
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34996
34996
|
let fetchResult;
|
|
34997
34997
|
try {
|
|
34998
34998
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35194,7 +35194,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
35194
35194
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35195
35195
|
*/
|
|
35196
35196
|
static async fromJsonLd(json, options = {}) {
|
|
35197
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
35197
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35198
35198
|
try {
|
|
35199
35199
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
35200
35200
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35369,7 +35369,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
35369
35369
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35370
35370
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35371
35371
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35372
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35372
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35373
35373
|
let fetchResult;
|
|
35374
35374
|
try {
|
|
35375
35375
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35501,7 +35501,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
35501
35501
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35502
35502
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35503
35503
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35504
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35504
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35505
35505
|
let fetchResult;
|
|
35506
35506
|
try {
|
|
35507
35507
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35774,7 +35774,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
35774
35774
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35775
35775
|
*/
|
|
35776
35776
|
static async fromJsonLd(json, options = {}) {
|
|
35777
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
35777
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35778
35778
|
try {
|
|
35779
35779
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
35780
35780
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36018,7 +36018,7 @@ var Read = class Read extends Activity {
|
|
|
36018
36018
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36019
36019
|
*/
|
|
36020
36020
|
static async fromJsonLd(json, options = {}) {
|
|
36021
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
36021
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36022
36022
|
try {
|
|
36023
36023
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
36024
36024
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36168,7 +36168,7 @@ var Reject = class Reject extends Activity {
|
|
|
36168
36168
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36169
36169
|
*/
|
|
36170
36170
|
static async fromJsonLd(json, options = {}) {
|
|
36171
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
36171
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36172
36172
|
try {
|
|
36173
36173
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
36174
36174
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36343,7 +36343,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
36343
36343
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36344
36344
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36345
36345
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36346
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36346
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36347
36347
|
let fetchResult;
|
|
36348
36348
|
try {
|
|
36349
36349
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36475,7 +36475,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
36475
36475
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36476
36476
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36477
36477
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36478
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36478
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36479
36479
|
let fetchResult;
|
|
36480
36480
|
try {
|
|
36481
36481
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36656,7 +36656,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
36656
36656
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36657
36657
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36658
36658
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36659
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36659
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36660
36660
|
let fetchResult;
|
|
36661
36661
|
try {
|
|
36662
36662
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36945,7 +36945,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
36945
36945
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36946
36946
|
*/
|
|
36947
36947
|
static async fromJsonLd(json, options = {}) {
|
|
36948
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
36948
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36949
36949
|
try {
|
|
36950
36950
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
36951
36951
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37161,7 +37161,7 @@ var Remove = class Remove extends Activity {
|
|
|
37161
37161
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37162
37162
|
*/
|
|
37163
37163
|
static async fromJsonLd(json, options = {}) {
|
|
37164
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
37164
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37165
37165
|
try {
|
|
37166
37166
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
37167
37167
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37558,7 +37558,7 @@ var Service = class Service extends Object$1 {
|
|
|
37558
37558
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37559
37559
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37560
37560
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37561
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37561
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37562
37562
|
let fetchResult;
|
|
37563
37563
|
try {
|
|
37564
37564
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37739,7 +37739,7 @@ var Service = class Service extends Object$1 {
|
|
|
37739
37739
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37740
37740
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37741
37741
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37742
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37742
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37743
37743
|
let fetchResult;
|
|
37744
37744
|
try {
|
|
37745
37745
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37938,7 +37938,7 @@ var Service = class Service extends Object$1 {
|
|
|
37938
37938
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37939
37939
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37940
37940
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37941
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37941
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37942
37942
|
let fetchResult;
|
|
37943
37943
|
try {
|
|
37944
37944
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38089,7 +38089,7 @@ var Service = class Service extends Object$1 {
|
|
|
38089
38089
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38090
38090
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38091
38091
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38092
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38092
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38093
38093
|
let fetchResult;
|
|
38094
38094
|
try {
|
|
38095
38095
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38237,7 +38237,7 @@ var Service = class Service extends Object$1 {
|
|
|
38237
38237
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38238
38238
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38239
38239
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38240
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38240
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38241
38241
|
let fetchResult;
|
|
38242
38242
|
try {
|
|
38243
38243
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38370,7 +38370,7 @@ var Service = class Service extends Object$1 {
|
|
|
38370
38370
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38371
38371
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38372
38372
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38373
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38373
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38374
38374
|
let fetchResult;
|
|
38375
38375
|
try {
|
|
38376
38376
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38506,7 +38506,7 @@ var Service = class Service extends Object$1 {
|
|
|
38506
38506
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38507
38507
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38508
38508
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38509
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38509
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38510
38510
|
let fetchResult;
|
|
38511
38511
|
try {
|
|
38512
38512
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38640,7 +38640,7 @@ var Service = class Service extends Object$1 {
|
|
|
38640
38640
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38641
38641
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38642
38642
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38643
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38643
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38644
38644
|
let fetchResult;
|
|
38645
38645
|
try {
|
|
38646
38646
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38772,7 +38772,7 @@ var Service = class Service extends Object$1 {
|
|
|
38772
38772
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38773
38773
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38774
38774
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38775
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38775
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38776
38776
|
let fetchResult;
|
|
38777
38777
|
try {
|
|
38778
38778
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38904,7 +38904,7 @@ var Service = class Service extends Object$1 {
|
|
|
38904
38904
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38905
38905
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38906
38906
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38907
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38907
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38908
38908
|
let fetchResult;
|
|
38909
38909
|
try {
|
|
38910
38910
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39076,7 +39076,7 @@ var Service = class Service extends Object$1 {
|
|
|
39076
39076
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39077
39077
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39078
39078
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39079
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
39079
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39080
39080
|
let fetchResult;
|
|
39081
39081
|
try {
|
|
39082
39082
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39251,7 +39251,7 @@ var Service = class Service extends Object$1 {
|
|
|
39251
39251
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39252
39252
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39253
39253
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39254
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
39254
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39255
39255
|
let fetchResult;
|
|
39256
39256
|
try {
|
|
39257
39257
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39484,7 +39484,7 @@ var Service = class Service extends Object$1 {
|
|
|
39484
39484
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39485
39485
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39486
39486
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39487
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
39487
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39488
39488
|
let fetchResult;
|
|
39489
39489
|
try {
|
|
39490
39490
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40186,7 +40186,7 @@ var Service = class Service extends Object$1 {
|
|
|
40186
40186
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40187
40187
|
*/
|
|
40188
40188
|
static async fromJsonLd(json, options = {}) {
|
|
40189
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
40189
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40190
40190
|
try {
|
|
40191
40191
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
40192
40192
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40904,7 +40904,7 @@ var Source = class {
|
|
|
40904
40904
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40905
40905
|
*/
|
|
40906
40906
|
static async fromJsonLd(json, options = {}) {
|
|
40907
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
40907
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40908
40908
|
try {
|
|
40909
40909
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
40910
40910
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41087,7 +41087,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
41087
41087
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41088
41088
|
*/
|
|
41089
41089
|
static async fromJsonLd(json, options = {}) {
|
|
41090
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41090
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41091
41091
|
try {
|
|
41092
41092
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
41093
41093
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41237,7 +41237,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
41237
41237
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41238
41238
|
*/
|
|
41239
41239
|
static async fromJsonLd(json, options = {}) {
|
|
41240
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41240
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41241
41241
|
try {
|
|
41242
41242
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
41243
41243
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41426,7 +41426,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
41426
41426
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41427
41427
|
*/
|
|
41428
41428
|
static async fromJsonLd(json, options = {}) {
|
|
41429
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41429
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41430
41430
|
try {
|
|
41431
41431
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
41432
41432
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41593,7 +41593,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
41593
41593
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41594
41594
|
*/
|
|
41595
41595
|
static async fromJsonLd(json, options = {}) {
|
|
41596
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41596
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41597
41597
|
try {
|
|
41598
41598
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
41599
41599
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41757,7 +41757,7 @@ var Undo = class Undo extends Activity {
|
|
|
41757
41757
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41758
41758
|
*/
|
|
41759
41759
|
static async fromJsonLd(json, options = {}) {
|
|
41760
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41760
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41761
41761
|
try {
|
|
41762
41762
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
41763
41763
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41959,7 +41959,7 @@ var Update = class Update extends Activity {
|
|
|
41959
41959
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41960
41960
|
*/
|
|
41961
41961
|
static async fromJsonLd(json, options = {}) {
|
|
41962
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
41962
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41963
41963
|
try {
|
|
41964
41964
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
41965
41965
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42115,7 +42115,7 @@ var Video = class Video extends Document {
|
|
|
42115
42115
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42116
42116
|
*/
|
|
42117
42117
|
static async fromJsonLd(json, options = {}) {
|
|
42118
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
42118
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42119
42119
|
try {
|
|
42120
42120
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
42121
42121
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42264,7 +42264,7 @@ var View = class View extends Activity {
|
|
|
42264
42264
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42265
42265
|
*/
|
|
42266
42266
|
static async fromJsonLd(json, options = {}) {
|
|
42267
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
42267
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.30").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42268
42268
|
try {
|
|
42269
42269
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
42270
42270
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|