@fedify/vocab 2.1.19 → 2.1.21
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 +202 -202
- package/dist/mod.js +202 -202
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/{deno-DBX7hUHw.mjs → deno-DSDRRjDK.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-DgKQ7NUh.mjs → vocab-BZPebsj7.mjs} +201 -201
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
|
@@ -790,7 +790,7 @@ var Object$1 = class Object$1 {
|
|
|
790
790
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
791
791
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
792
792
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
793
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
793
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
794
794
|
let fetchResult;
|
|
795
795
|
try {
|
|
796
796
|
fetchResult = await documentLoader(url.href);
|
|
@@ -936,7 +936,7 @@ var Object$1 = class Object$1 {
|
|
|
936
936
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
937
937
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
938
938
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
939
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
939
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
940
940
|
let fetchResult;
|
|
941
941
|
try {
|
|
942
942
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1148,7 +1148,7 @@ var Object$1 = class Object$1 {
|
|
|
1148
1148
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1149
1149
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1150
1150
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1151
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1151
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1152
1152
|
let fetchResult;
|
|
1153
1153
|
try {
|
|
1154
1154
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1332,7 +1332,7 @@ var Object$1 = class Object$1 {
|
|
|
1332
1332
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1333
1333
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1334
1334
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1335
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1335
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1336
1336
|
let fetchResult;
|
|
1337
1337
|
try {
|
|
1338
1338
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1494,7 +1494,7 @@ var Object$1 = class Object$1 {
|
|
|
1494
1494
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1495
1495
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1496
1496
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1497
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1497
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1498
1498
|
let fetchResult;
|
|
1499
1499
|
try {
|
|
1500
1500
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1624,7 +1624,7 @@ var Object$1 = class Object$1 {
|
|
|
1624
1624
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1625
1625
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1626
1626
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1627
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1627
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1628
1628
|
let fetchResult;
|
|
1629
1629
|
try {
|
|
1630
1630
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1790,7 +1790,7 @@ var Object$1 = class Object$1 {
|
|
|
1790
1790
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1791
1791
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1792
1792
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1793
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1793
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1794
1794
|
let fetchResult;
|
|
1795
1795
|
try {
|
|
1796
1796
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1956,7 +1956,7 @@ var Object$1 = class Object$1 {
|
|
|
1956
1956
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1957
1957
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1958
1958
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1959
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1959
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1960
1960
|
let fetchResult;
|
|
1961
1961
|
try {
|
|
1962
1962
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2130,7 +2130,7 @@ var Object$1 = class Object$1 {
|
|
|
2130
2130
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2131
2131
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2132
2132
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2133
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2133
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2134
2134
|
let fetchResult;
|
|
2135
2135
|
try {
|
|
2136
2136
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2304,7 +2304,7 @@ var Object$1 = class Object$1 {
|
|
|
2304
2304
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2305
2305
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2306
2306
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2307
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2307
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2308
2308
|
let fetchResult;
|
|
2309
2309
|
try {
|
|
2310
2310
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2483,7 +2483,7 @@ var Object$1 = class Object$1 {
|
|
|
2483
2483
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2484
2484
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2485
2485
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2486
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2486
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2487
2487
|
let fetchResult;
|
|
2488
2488
|
try {
|
|
2489
2489
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2604,7 +2604,7 @@ var Object$1 = class Object$1 {
|
|
|
2604
2604
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2605
2605
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2606
2606
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2607
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2607
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2608
2608
|
let fetchResult;
|
|
2609
2609
|
try {
|
|
2610
2610
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2731,7 +2731,7 @@ var Object$1 = class Object$1 {
|
|
|
2731
2731
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2732
2732
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2733
2733
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2734
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2734
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2735
2735
|
let fetchResult;
|
|
2736
2736
|
try {
|
|
2737
2737
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2858,7 +2858,7 @@ var Object$1 = class Object$1 {
|
|
|
2858
2858
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2859
2859
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2860
2860
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2861
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2861
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2862
2862
|
let fetchResult;
|
|
2863
2863
|
try {
|
|
2864
2864
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3003,7 +3003,7 @@ var Object$1 = class Object$1 {
|
|
|
3003
3003
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3004
3004
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3005
3005
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3006
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3006
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3007
3007
|
let fetchResult;
|
|
3008
3008
|
try {
|
|
3009
3009
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3155,7 +3155,7 @@ var Object$1 = class Object$1 {
|
|
|
3155
3155
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3156
3156
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3157
3157
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3158
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3158
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3159
3159
|
let fetchResult;
|
|
3160
3160
|
try {
|
|
3161
3161
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3319,7 +3319,7 @@ var Object$1 = class Object$1 {
|
|
|
3319
3319
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3320
3320
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3321
3321
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3322
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3322
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3323
3323
|
let fetchResult;
|
|
3324
3324
|
try {
|
|
3325
3325
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3483,7 +3483,7 @@ var Object$1 = class Object$1 {
|
|
|
3483
3483
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3484
3484
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3485
3485
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3486
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3486
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3487
3487
|
let fetchResult;
|
|
3488
3488
|
try {
|
|
3489
3489
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3647,7 +3647,7 @@ var Object$1 = class Object$1 {
|
|
|
3647
3647
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3648
3648
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3649
3649
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3650
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3650
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3651
3651
|
let fetchResult;
|
|
3652
3652
|
try {
|
|
3653
3653
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3848,7 +3848,7 @@ var Object$1 = class Object$1 {
|
|
|
3848
3848
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3849
3849
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3850
3850
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3851
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3851
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3852
3852
|
let fetchResult;
|
|
3853
3853
|
try {
|
|
3854
3854
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4035,7 +4035,7 @@ var Object$1 = class Object$1 {
|
|
|
4035
4035
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4036
4036
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4037
4037
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4038
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4038
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4039
4039
|
let fetchResult;
|
|
4040
4040
|
try {
|
|
4041
4041
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4156,7 +4156,7 @@ var Object$1 = class Object$1 {
|
|
|
4156
4156
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4157
4157
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4158
4158
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4159
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4159
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4160
4160
|
let fetchResult;
|
|
4161
4161
|
try {
|
|
4162
4162
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4277,7 +4277,7 @@ var Object$1 = class Object$1 {
|
|
|
4277
4277
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4278
4278
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4279
4279
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4280
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4280
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4281
4281
|
let fetchResult;
|
|
4282
4282
|
try {
|
|
4283
4283
|
fetchResult = await documentLoader(url.href);
|
|
@@ -5104,7 +5104,7 @@ var Object$1 = class Object$1 {
|
|
|
5104
5104
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5105
5105
|
*/
|
|
5106
5106
|
static async fromJsonLd(json, options = {}) {
|
|
5107
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
5107
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5108
5108
|
try {
|
|
5109
5109
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
5110
5110
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6580,7 +6580,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
6580
6580
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6581
6581
|
*/
|
|
6582
6582
|
static async fromJsonLd(json, options = {}) {
|
|
6583
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
6583
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6584
6584
|
try {
|
|
6585
6585
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
6586
6586
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6821,7 +6821,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6821
6821
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6822
6822
|
*/
|
|
6823
6823
|
static async fromJsonLd(json, options = {}) {
|
|
6824
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
6824
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6825
6825
|
try {
|
|
6826
6826
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
6827
6827
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7106,7 +7106,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7106
7106
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7107
7107
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7108
7108
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7109
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7109
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7110
7110
|
let fetchResult;
|
|
7111
7111
|
try {
|
|
7112
7112
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7318,7 +7318,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7318
7318
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7319
7319
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7320
7320
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7321
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7321
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7322
7322
|
let fetchResult;
|
|
7323
7323
|
try {
|
|
7324
7324
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7484,7 +7484,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7484
7484
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7485
7485
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7486
7486
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7487
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7487
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7488
7488
|
let fetchResult;
|
|
7489
7489
|
try {
|
|
7490
7490
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7656,7 +7656,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7656
7656
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7657
7657
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7658
7658
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7659
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7659
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7660
7660
|
let fetchResult;
|
|
7661
7661
|
try {
|
|
7662
7662
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7822,7 +7822,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7822
7822
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7823
7823
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7824
7824
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7825
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7825
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7826
7826
|
let fetchResult;
|
|
7827
7827
|
try {
|
|
7828
7828
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7990,7 +7990,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7990
7990
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7991
7991
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7992
7992
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7993
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7993
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7994
7994
|
let fetchResult;
|
|
7995
7995
|
try {
|
|
7996
7996
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8241,7 +8241,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8241
8241
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8242
8242
|
*/
|
|
8243
8243
|
static async fromJsonLd(json, options = {}) {
|
|
8244
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
8244
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8245
8245
|
try {
|
|
8246
8246
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
8247
8247
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8579,7 +8579,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
8579
8579
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8580
8580
|
*/
|
|
8581
8581
|
static async fromJsonLd(json, options = {}) {
|
|
8582
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
8582
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8583
8583
|
try {
|
|
8584
8584
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
8585
8585
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8839,7 +8839,7 @@ var PropertyValue = class {
|
|
|
8839
8839
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8840
8840
|
*/
|
|
8841
8841
|
static async fromJsonLd(json, options = {}) {
|
|
8842
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
8842
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8843
8843
|
try {
|
|
8844
8844
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
8845
8845
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9009,7 +9009,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9009
9009
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9010
9010
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9011
9011
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9012
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
9012
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9013
9013
|
let fetchResult;
|
|
9014
9014
|
try {
|
|
9015
9015
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9130,7 +9130,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9130
9130
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9131
9131
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9132
9132
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9133
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
9133
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9134
9134
|
let fetchResult;
|
|
9135
9135
|
try {
|
|
9136
9136
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9346,7 +9346,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9346
9346
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9347
9347
|
*/
|
|
9348
9348
|
static async fromJsonLd(json, options = {}) {
|
|
9349
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9349
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9350
9350
|
try {
|
|
9351
9351
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
9352
9352
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9549,7 +9549,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
9549
9549
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9550
9550
|
*/
|
|
9551
9551
|
static async fromJsonLd(json, options = {}) {
|
|
9552
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9552
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9553
9553
|
try {
|
|
9554
9554
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
9555
9555
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9803,7 +9803,7 @@ var InteractionPolicy = class {
|
|
|
9803
9803
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9804
9804
|
*/
|
|
9805
9805
|
static async fromJsonLd(json, options = {}) {
|
|
9806
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9806
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9807
9807
|
try {
|
|
9808
9808
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
9809
9809
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10125,7 +10125,7 @@ var InteractionRule = class {
|
|
|
10125
10125
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10126
10126
|
*/
|
|
10127
10127
|
static async fromJsonLd(json, options = {}) {
|
|
10128
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
10128
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10129
10129
|
try {
|
|
10130
10130
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
10131
10131
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10288,7 +10288,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10288
10288
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10289
10289
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10290
10290
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10291
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10291
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10292
10292
|
let fetchResult;
|
|
10293
10293
|
try {
|
|
10294
10294
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10409,7 +10409,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10409
10409
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10410
10410
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10411
10411
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10412
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10412
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10413
10413
|
let fetchResult;
|
|
10414
10414
|
try {
|
|
10415
10415
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10625,7 +10625,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10625
10625
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10626
10626
|
*/
|
|
10627
10627
|
static async fromJsonLd(json, options = {}) {
|
|
10628
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
10628
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10629
10629
|
try {
|
|
10630
10630
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
10631
10631
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10827,7 +10827,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
10827
10827
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10828
10828
|
*/
|
|
10829
10829
|
static async fromJsonLd(json, options = {}) {
|
|
10830
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
10830
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10831
10831
|
try {
|
|
10832
10832
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
10833
10833
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10960,7 +10960,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
10960
10960
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10961
10961
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10962
10962
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10963
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10963
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10964
10964
|
let fetchResult;
|
|
10965
10965
|
try {
|
|
10966
10966
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11081,7 +11081,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11081
11081
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11082
11082
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11083
11083
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11084
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
11084
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11085
11085
|
let fetchResult;
|
|
11086
11086
|
try {
|
|
11087
11087
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11297,7 +11297,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11297
11297
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11298
11298
|
*/
|
|
11299
11299
|
static async fromJsonLd(json, options = {}) {
|
|
11300
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11300
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11301
11301
|
try {
|
|
11302
11302
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
11303
11303
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11499,7 +11499,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
11499
11499
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11500
11500
|
*/
|
|
11501
11501
|
static async fromJsonLd(json, options = {}) {
|
|
11502
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11502
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11503
11503
|
try {
|
|
11504
11504
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
11505
11505
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11719,7 +11719,7 @@ var DidService = class {
|
|
|
11719
11719
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11720
11720
|
*/
|
|
11721
11721
|
static async fromJsonLd(json, options = {}) {
|
|
11722
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11722
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11723
11723
|
try {
|
|
11724
11724
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
11725
11725
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11877,7 +11877,7 @@ var Export = class Export extends DidService {
|
|
|
11877
11877
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11878
11878
|
*/
|
|
11879
11879
|
static async fromJsonLd(json, options = {}) {
|
|
11880
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11880
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11881
11881
|
try {
|
|
11882
11882
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
11883
11883
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12064,7 +12064,7 @@ var DataIntegrityProof = class {
|
|
|
12064
12064
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12065
12065
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12066
12066
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12067
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
12067
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12068
12068
|
let fetchResult;
|
|
12069
12069
|
try {
|
|
12070
12070
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12283,7 +12283,7 @@ var DataIntegrityProof = class {
|
|
|
12283
12283
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12284
12284
|
*/
|
|
12285
12285
|
static async fromJsonLd(json, options = {}) {
|
|
12286
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12286
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12287
12287
|
try {
|
|
12288
12288
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
12289
12289
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12521,7 +12521,7 @@ var CryptographicKey = class {
|
|
|
12521
12521
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12522
12522
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12523
12523
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12524
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
12524
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12525
12525
|
let fetchResult;
|
|
12526
12526
|
try {
|
|
12527
12527
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12783,7 +12783,7 @@ var CryptographicKey = class {
|
|
|
12783
12783
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12784
12784
|
*/
|
|
12785
12785
|
static async fromJsonLd(json, options = {}) {
|
|
12786
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12786
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12787
12787
|
try {
|
|
12788
12788
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
12789
12789
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12998,7 +12998,7 @@ var Multikey = class {
|
|
|
12998
12998
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12999
12999
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13000
13000
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13001
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
13001
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13002
13002
|
let fetchResult;
|
|
13003
13003
|
try {
|
|
13004
13004
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13266,7 +13266,7 @@ var Multikey = class {
|
|
|
13266
13266
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13267
13267
|
*/
|
|
13268
13268
|
static async fromJsonLd(json, options = {}) {
|
|
13269
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13269
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13270
13270
|
try {
|
|
13271
13271
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
13272
13272
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13469,7 +13469,7 @@ var Accept = class Accept extends Activity {
|
|
|
13469
13469
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13470
13470
|
*/
|
|
13471
13471
|
static async fromJsonLd(json, options = {}) {
|
|
13472
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13472
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13473
13473
|
try {
|
|
13474
13474
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
13475
13475
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13623,7 +13623,7 @@ var Add = class Add extends Activity {
|
|
|
13623
13623
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13624
13624
|
*/
|
|
13625
13625
|
static async fromJsonLd(json, options = {}) {
|
|
13626
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13626
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13627
13627
|
try {
|
|
13628
13628
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
13629
13629
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13794,7 +13794,7 @@ var Announce = class Announce extends Activity {
|
|
|
13794
13794
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13795
13795
|
*/
|
|
13796
13796
|
static async fromJsonLd(json, options = {}) {
|
|
13797
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13797
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13798
13798
|
try {
|
|
13799
13799
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
13800
13800
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14191,7 +14191,7 @@ var Application = class Application extends Object$1 {
|
|
|
14191
14191
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14192
14192
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14193
14193
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14194
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14194
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14195
14195
|
let fetchResult;
|
|
14196
14196
|
try {
|
|
14197
14197
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14353,7 +14353,7 @@ var Application = class Application extends Object$1 {
|
|
|
14353
14353
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14354
14354
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14355
14355
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14356
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14356
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14357
14357
|
let fetchResult;
|
|
14358
14358
|
try {
|
|
14359
14359
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14533,7 +14533,7 @@ var Application = class Application extends Object$1 {
|
|
|
14533
14533
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14534
14534
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14535
14535
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14536
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14536
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14537
14537
|
let fetchResult;
|
|
14538
14538
|
try {
|
|
14539
14539
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14675,7 +14675,7 @@ var Application = class Application extends Object$1 {
|
|
|
14675
14675
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14676
14676
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14677
14677
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14678
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14678
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14679
14679
|
let fetchResult;
|
|
14680
14680
|
try {
|
|
14681
14681
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14814,7 +14814,7 @@ var Application = class Application extends Object$1 {
|
|
|
14814
14814
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14815
14815
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14816
14816
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14817
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14817
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14818
14818
|
let fetchResult;
|
|
14819
14819
|
try {
|
|
14820
14820
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14938,7 +14938,7 @@ var Application = class Application extends Object$1 {
|
|
|
14938
14938
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14939
14939
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14940
14940
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14941
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14941
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14942
14942
|
let fetchResult;
|
|
14943
14943
|
try {
|
|
14944
14944
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15065,7 +15065,7 @@ var Application = class Application extends Object$1 {
|
|
|
15065
15065
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15066
15066
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15067
15067
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15068
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15068
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15069
15069
|
let fetchResult;
|
|
15070
15070
|
try {
|
|
15071
15071
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15190,7 +15190,7 @@ var Application = class Application extends Object$1 {
|
|
|
15190
15190
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15191
15191
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15192
15192
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15193
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15193
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15194
15194
|
let fetchResult;
|
|
15195
15195
|
try {
|
|
15196
15196
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15313,7 +15313,7 @@ var Application = class Application extends Object$1 {
|
|
|
15313
15313
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15314
15314
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15315
15315
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15316
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15316
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15317
15317
|
let fetchResult;
|
|
15318
15318
|
try {
|
|
15319
15319
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15436,7 +15436,7 @@ var Application = class Application extends Object$1 {
|
|
|
15436
15436
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15437
15437
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15438
15438
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15439
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15439
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15440
15440
|
let fetchResult;
|
|
15441
15441
|
try {
|
|
15442
15442
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15598,7 +15598,7 @@ var Application = class Application extends Object$1 {
|
|
|
15598
15598
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15599
15599
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15600
15600
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15601
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15601
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15602
15602
|
let fetchResult;
|
|
15603
15603
|
try {
|
|
15604
15604
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15764,7 +15764,7 @@ var Application = class Application extends Object$1 {
|
|
|
15764
15764
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15765
15765
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15766
15766
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15767
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15767
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15768
15768
|
let fetchResult;
|
|
15769
15769
|
try {
|
|
15770
15770
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15978,7 +15978,7 @@ var Application = class Application extends Object$1 {
|
|
|
15978
15978
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15979
15979
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15980
15980
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15981
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15981
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15982
15982
|
let fetchResult;
|
|
15983
15983
|
try {
|
|
15984
15984
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16663,7 +16663,7 @@ var Application = class Application extends Object$1 {
|
|
|
16663
16663
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16664
16664
|
*/
|
|
16665
16665
|
static async fromJsonLd(json, options = {}) {
|
|
16666
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
16666
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16667
16667
|
try {
|
|
16668
16668
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
16669
16669
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17273,7 +17273,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
17273
17273
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17274
17274
|
*/
|
|
17275
17275
|
static async fromJsonLd(json, options = {}) {
|
|
17276
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17276
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17277
17277
|
try {
|
|
17278
17278
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
17279
17279
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17428,7 +17428,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
17428
17428
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17429
17429
|
*/
|
|
17430
17430
|
static async fromJsonLd(json, options = {}) {
|
|
17431
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17431
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17432
17432
|
try {
|
|
17433
17433
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
17434
17434
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17667,7 +17667,7 @@ var Article = class Article extends Object$1 {
|
|
|
17667
17667
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17668
17668
|
*/
|
|
17669
17669
|
static async fromJsonLd(json, options = {}) {
|
|
17670
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17670
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17671
17671
|
try {
|
|
17672
17672
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
17673
17673
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17908,7 +17908,7 @@ var Document = class Document extends Object$1 {
|
|
|
17908
17908
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17909
17909
|
*/
|
|
17910
17910
|
static async fromJsonLd(json, options = {}) {
|
|
17911
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17911
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17912
17912
|
try {
|
|
17913
17913
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
17914
17914
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18105,7 +18105,7 @@ var Audio = class Audio extends Document {
|
|
|
18105
18105
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18106
18106
|
*/
|
|
18107
18107
|
static async fromJsonLd(json, options = {}) {
|
|
18108
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18108
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18109
18109
|
try {
|
|
18110
18110
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
18111
18111
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18256,7 +18256,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
18256
18256
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18257
18257
|
*/
|
|
18258
18258
|
static async fromJsonLd(json, options = {}) {
|
|
18259
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18259
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18260
18260
|
try {
|
|
18261
18261
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
18262
18262
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18410,7 +18410,7 @@ var Block = class Block extends Ignore {
|
|
|
18410
18410
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18411
18411
|
*/
|
|
18412
18412
|
static async fromJsonLd(json, options = {}) {
|
|
18413
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18413
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18414
18414
|
try {
|
|
18415
18415
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
18416
18416
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18676,7 +18676,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18676
18676
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18677
18677
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18678
18678
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18679
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18679
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18680
18680
|
let fetchResult;
|
|
18681
18681
|
try {
|
|
18682
18682
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18797,7 +18797,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18797
18797
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18798
18798
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18799
18799
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18800
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18800
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18801
18801
|
let fetchResult;
|
|
18802
18802
|
try {
|
|
18803
18803
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18918,7 +18918,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18918
18918
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18919
18919
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18920
18920
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18921
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18921
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18922
18922
|
let fetchResult;
|
|
18923
18923
|
try {
|
|
18924
18924
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19039,7 +19039,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19039
19039
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19040
19040
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19041
19041
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19042
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19042
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19043
19043
|
let fetchResult;
|
|
19044
19044
|
try {
|
|
19045
19045
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19170,7 +19170,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19170
19170
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19171
19171
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19172
19172
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19173
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19173
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19174
19174
|
let fetchResult;
|
|
19175
19175
|
try {
|
|
19176
19176
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19290,7 +19290,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19290
19290
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19291
19291
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19292
19292
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19293
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19293
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19294
19294
|
let fetchResult;
|
|
19295
19295
|
try {
|
|
19296
19296
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19410,7 +19410,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19410
19410
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19411
19411
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19412
19412
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19413
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19413
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19414
19414
|
let fetchResult;
|
|
19415
19415
|
try {
|
|
19416
19416
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19530,7 +19530,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19530
19530
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19531
19531
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19532
19532
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19533
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19533
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19534
19534
|
let fetchResult;
|
|
19535
19535
|
try {
|
|
19536
19536
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19650,7 +19650,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19650
19650
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19651
19651
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19652
19652
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19653
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19653
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19654
19654
|
let fetchResult;
|
|
19655
19655
|
try {
|
|
19656
19656
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19770,7 +19770,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19770
19770
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19771
19771
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19772
19772
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19773
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19773
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19774
19774
|
let fetchResult;
|
|
19775
19775
|
try {
|
|
19776
19776
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19890,7 +19890,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19890
19890
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19891
19891
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19892
19892
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19893
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19893
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19894
19894
|
let fetchResult;
|
|
19895
19895
|
try {
|
|
19896
19896
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20010,7 +20010,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20010
20010
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20011
20011
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20012
20012
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20013
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20013
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20014
20014
|
let fetchResult;
|
|
20015
20015
|
try {
|
|
20016
20016
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20439,7 +20439,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20439
20439
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20440
20440
|
*/
|
|
20441
20441
|
static async fromJsonLd(json, options = {}) {
|
|
20442
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
20442
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20443
20443
|
try {
|
|
20444
20444
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
20445
20445
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20922,7 +20922,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
20922
20922
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20923
20923
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20924
20924
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20925
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20925
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20926
20926
|
let fetchResult;
|
|
20927
20927
|
try {
|
|
20928
20928
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21043,7 +21043,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
21043
21043
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21044
21044
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21045
21045
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21046
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
21046
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21047
21047
|
let fetchResult;
|
|
21048
21048
|
try {
|
|
21049
21049
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21163,7 +21163,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
21163
21163
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21164
21164
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21165
21165
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21166
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
21166
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21167
21167
|
let fetchResult;
|
|
21168
21168
|
try {
|
|
21169
21169
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21429,7 +21429,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
21429
21429
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21430
21430
|
*/
|
|
21431
21431
|
static async fromJsonLd(json, options = {}) {
|
|
21432
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21432
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21433
21433
|
try {
|
|
21434
21434
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
21435
21435
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21664,7 +21664,7 @@ var Create = class Create extends Activity {
|
|
|
21664
21664
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21665
21665
|
*/
|
|
21666
21666
|
static async fromJsonLd(json, options = {}) {
|
|
21667
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21667
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21668
21668
|
try {
|
|
21669
21669
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
21670
21670
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21831,7 +21831,7 @@ var Delete = class Delete extends Activity {
|
|
|
21831
21831
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21832
21832
|
*/
|
|
21833
21833
|
static async fromJsonLd(json, options = {}) {
|
|
21834
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21834
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21835
21835
|
try {
|
|
21836
21836
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
21837
21837
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21985,7 +21985,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
21985
21985
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21986
21986
|
*/
|
|
21987
21987
|
static async fromJsonLd(json, options = {}) {
|
|
21988
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21988
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21989
21989
|
try {
|
|
21990
21990
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
21991
21991
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22344,7 +22344,7 @@ var Endpoints = class {
|
|
|
22344
22344
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22345
22345
|
*/
|
|
22346
22346
|
static async fromJsonLd(json, options = {}) {
|
|
22347
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22347
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22348
22348
|
try {
|
|
22349
22349
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
22350
22350
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22592,7 +22592,7 @@ var Event = class Event extends Object$1 {
|
|
|
22592
22592
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22593
22593
|
*/
|
|
22594
22594
|
static async fromJsonLd(json, options = {}) {
|
|
22595
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22595
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22596
22596
|
try {
|
|
22597
22597
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
22598
22598
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22744,7 +22744,7 @@ var Flag = class Flag extends Activity {
|
|
|
22744
22744
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22745
22745
|
*/
|
|
22746
22746
|
static async fromJsonLd(json, options = {}) {
|
|
22747
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22747
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22748
22748
|
try {
|
|
22749
22749
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
22750
22750
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22900,7 +22900,7 @@ var Follow = class Follow extends Activity {
|
|
|
22900
22900
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22901
22901
|
*/
|
|
22902
22902
|
static async fromJsonLd(json, options = {}) {
|
|
22903
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22903
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22904
22904
|
try {
|
|
22905
22905
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
22906
22906
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23297,7 +23297,7 @@ var Group = class Group extends Object$1 {
|
|
|
23297
23297
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23298
23298
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23299
23299
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23300
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23300
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23301
23301
|
let fetchResult;
|
|
23302
23302
|
try {
|
|
23303
23303
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23459,7 +23459,7 @@ var Group = class Group extends Object$1 {
|
|
|
23459
23459
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23460
23460
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23461
23461
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23462
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23462
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23463
23463
|
let fetchResult;
|
|
23464
23464
|
try {
|
|
23465
23465
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23639,7 +23639,7 @@ var Group = class Group extends Object$1 {
|
|
|
23639
23639
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23640
23640
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23641
23641
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23642
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23642
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23643
23643
|
let fetchResult;
|
|
23644
23644
|
try {
|
|
23645
23645
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23781,7 +23781,7 @@ var Group = class Group extends Object$1 {
|
|
|
23781
23781
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23782
23782
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23783
23783
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23784
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23784
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23785
23785
|
let fetchResult;
|
|
23786
23786
|
try {
|
|
23787
23787
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23920,7 +23920,7 @@ var Group = class Group extends Object$1 {
|
|
|
23920
23920
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23921
23921
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23922
23922
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23923
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23923
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23924
23924
|
let fetchResult;
|
|
23925
23925
|
try {
|
|
23926
23926
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24044,7 +24044,7 @@ var Group = class Group extends Object$1 {
|
|
|
24044
24044
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24045
24045
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24046
24046
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24047
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24047
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24048
24048
|
let fetchResult;
|
|
24049
24049
|
try {
|
|
24050
24050
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24171,7 +24171,7 @@ var Group = class Group extends Object$1 {
|
|
|
24171
24171
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24172
24172
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24173
24173
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24174
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24174
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24175
24175
|
let fetchResult;
|
|
24176
24176
|
try {
|
|
24177
24177
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24296,7 +24296,7 @@ var Group = class Group extends Object$1 {
|
|
|
24296
24296
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24297
24297
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24298
24298
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24299
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24299
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24300
24300
|
let fetchResult;
|
|
24301
24301
|
try {
|
|
24302
24302
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24419,7 +24419,7 @@ var Group = class Group extends Object$1 {
|
|
|
24419
24419
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24420
24420
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24421
24421
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24422
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24422
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24423
24423
|
let fetchResult;
|
|
24424
24424
|
try {
|
|
24425
24425
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24542,7 +24542,7 @@ var Group = class Group extends Object$1 {
|
|
|
24542
24542
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24543
24543
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24544
24544
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24545
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24545
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24546
24546
|
let fetchResult;
|
|
24547
24547
|
try {
|
|
24548
24548
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24704,7 +24704,7 @@ var Group = class Group extends Object$1 {
|
|
|
24704
24704
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24705
24705
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24706
24706
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24707
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24707
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24708
24708
|
let fetchResult;
|
|
24709
24709
|
try {
|
|
24710
24710
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24870,7 +24870,7 @@ var Group = class Group extends Object$1 {
|
|
|
24870
24870
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24871
24871
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24872
24872
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24873
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24873
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24874
24874
|
let fetchResult;
|
|
24875
24875
|
try {
|
|
24876
24876
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25084,7 +25084,7 @@ var Group = class Group extends Object$1 {
|
|
|
25084
25084
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25085
25085
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25086
25086
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25087
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25087
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25088
25088
|
let fetchResult;
|
|
25089
25089
|
try {
|
|
25090
25090
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25769,7 +25769,7 @@ var Group = class Group extends Object$1 {
|
|
|
25769
25769
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25770
25770
|
*/
|
|
25771
25771
|
static async fromJsonLd(json, options = {}) {
|
|
25772
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
25772
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25773
25773
|
try {
|
|
25774
25774
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
25775
25775
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26529,7 +26529,7 @@ var Link = class Link {
|
|
|
26529
26529
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26530
26530
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26531
26531
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26532
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
26532
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26533
26533
|
let fetchResult;
|
|
26534
26534
|
try {
|
|
26535
26535
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26821,7 +26821,7 @@ var Link = class Link {
|
|
|
26821
26821
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26822
26822
|
*/
|
|
26823
26823
|
static async fromJsonLd(json, options = {}) {
|
|
26824
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
26824
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26825
26825
|
try {
|
|
26826
26826
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
26827
26827
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27176,7 +27176,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
27176
27176
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27177
27177
|
*/
|
|
27178
27178
|
static async fromJsonLd(json, options = {}) {
|
|
27179
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27179
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27180
27180
|
try {
|
|
27181
27181
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
27182
27182
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27340,7 +27340,7 @@ var Image = class Image extends Document {
|
|
|
27340
27340
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27341
27341
|
*/
|
|
27342
27342
|
static async fromJsonLd(json, options = {}) {
|
|
27343
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27343
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27344
27344
|
try {
|
|
27345
27345
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
27346
27346
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27492,7 +27492,7 @@ var Offer = class Offer extends Activity {
|
|
|
27492
27492
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27493
27493
|
*/
|
|
27494
27494
|
static async fromJsonLd(json, options = {}) {
|
|
27495
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27495
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27496
27496
|
try {
|
|
27497
27497
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
27498
27498
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27644,7 +27644,7 @@ var Invite = class Invite extends Offer {
|
|
|
27644
27644
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27645
27645
|
*/
|
|
27646
27646
|
static async fromJsonLd(json, options = {}) {
|
|
27647
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27647
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27648
27648
|
try {
|
|
27649
27649
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
27650
27650
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27795,7 +27795,7 @@ var Join = class Join extends Activity {
|
|
|
27795
27795
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27796
27796
|
*/
|
|
27797
27797
|
static async fromJsonLd(json, options = {}) {
|
|
27798
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27798
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27799
27799
|
try {
|
|
27800
27800
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
27801
27801
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27946,7 +27946,7 @@ var Leave = class Leave extends Activity {
|
|
|
27946
27946
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27947
27947
|
*/
|
|
27948
27948
|
static async fromJsonLd(json, options = {}) {
|
|
27949
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27949
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27950
27950
|
try {
|
|
27951
27951
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
27952
27952
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28101,7 +28101,7 @@ var Like = class Like extends Activity {
|
|
|
28101
28101
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28102
28102
|
*/
|
|
28103
28103
|
static async fromJsonLd(json, options = {}) {
|
|
28104
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28104
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28105
28105
|
try {
|
|
28106
28106
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
28107
28107
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28251,7 +28251,7 @@ var Listen = class Listen extends Activity {
|
|
|
28251
28251
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28252
28252
|
*/
|
|
28253
28253
|
static async fromJsonLd(json, options = {}) {
|
|
28254
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28254
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28255
28255
|
try {
|
|
28256
28256
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
28257
28257
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28404,7 +28404,7 @@ var Mention = class Mention extends Link {
|
|
|
28404
28404
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28405
28405
|
*/
|
|
28406
28406
|
static async fromJsonLd(json, options = {}) {
|
|
28407
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28407
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28408
28408
|
try {
|
|
28409
28409
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
28410
28410
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28556,7 +28556,7 @@ var Move = class Move extends Activity {
|
|
|
28556
28556
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28557
28557
|
*/
|
|
28558
28558
|
static async fromJsonLd(json, options = {}) {
|
|
28559
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28559
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28560
28560
|
try {
|
|
28561
28561
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
28562
28562
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28796,7 +28796,7 @@ var Note = class Note extends Object$1 {
|
|
|
28796
28796
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28797
28797
|
*/
|
|
28798
28798
|
static async fromJsonLd(json, options = {}) {
|
|
28799
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28799
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28800
28800
|
try {
|
|
28801
28801
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
28802
28802
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28929,7 +28929,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
28929
28929
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28930
28930
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28931
28931
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28932
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
28932
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28933
28933
|
let fetchResult;
|
|
28934
28934
|
try {
|
|
28935
28935
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29179,7 +29179,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
29179
29179
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29180
29180
|
*/
|
|
29181
29181
|
static async fromJsonLd(json, options = {}) {
|
|
29182
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
29182
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29183
29183
|
try {
|
|
29184
29184
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
29185
29185
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29397,7 +29397,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
29397
29397
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29398
29398
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29399
29399
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29400
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
29400
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29401
29401
|
let fetchResult;
|
|
29402
29402
|
try {
|
|
29403
29403
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29670,7 +29670,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
29670
29670
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29671
29671
|
*/
|
|
29672
29672
|
static async fromJsonLd(json, options = {}) {
|
|
29673
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
29673
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29674
29674
|
try {
|
|
29675
29675
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
29676
29676
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30176,7 +30176,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30176
30176
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30177
30177
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30178
30178
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30179
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30179
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30180
30180
|
let fetchResult;
|
|
30181
30181
|
try {
|
|
30182
30182
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30338,7 +30338,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30338
30338
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30339
30339
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30340
30340
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30341
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30341
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30342
30342
|
let fetchResult;
|
|
30343
30343
|
try {
|
|
30344
30344
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30518,7 +30518,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30518
30518
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30519
30519
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30520
30520
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30521
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30521
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30522
30522
|
let fetchResult;
|
|
30523
30523
|
try {
|
|
30524
30524
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30660,7 +30660,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30660
30660
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30661
30661
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30662
30662
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30663
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30663
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30664
30664
|
let fetchResult;
|
|
30665
30665
|
try {
|
|
30666
30666
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30799,7 +30799,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30799
30799
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30800
30800
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30801
30801
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30802
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30802
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30803
30803
|
let fetchResult;
|
|
30804
30804
|
try {
|
|
30805
30805
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30923,7 +30923,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30923
30923
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30924
30924
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30925
30925
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30926
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30926
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30927
30927
|
let fetchResult;
|
|
30928
30928
|
try {
|
|
30929
30929
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31050,7 +31050,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31050
31050
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31051
31051
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31052
31052
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31053
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31053
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31054
31054
|
let fetchResult;
|
|
31055
31055
|
try {
|
|
31056
31056
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31175,7 +31175,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31175
31175
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31176
31176
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31177
31177
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31178
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31178
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31179
31179
|
let fetchResult;
|
|
31180
31180
|
try {
|
|
31181
31181
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31298,7 +31298,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31298
31298
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31299
31299
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31300
31300
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31301
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31301
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31302
31302
|
let fetchResult;
|
|
31303
31303
|
try {
|
|
31304
31304
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31421,7 +31421,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31421
31421
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31422
31422
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31423
31423
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31424
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31424
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31425
31425
|
let fetchResult;
|
|
31426
31426
|
try {
|
|
31427
31427
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31583,7 +31583,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31583
31583
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31584
31584
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31585
31585
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31586
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31586
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31587
31587
|
let fetchResult;
|
|
31588
31588
|
try {
|
|
31589
31589
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31749,7 +31749,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31749
31749
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31750
31750
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31751
31751
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31752
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31752
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31753
31753
|
let fetchResult;
|
|
31754
31754
|
try {
|
|
31755
31755
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31963,7 +31963,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31963
31963
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31964
31964
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31965
31965
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31966
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31966
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31967
31967
|
let fetchResult;
|
|
31968
31968
|
try {
|
|
31969
31969
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32648,7 +32648,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32648
32648
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32649
32649
|
*/
|
|
32650
32650
|
static async fromJsonLd(json, options = {}) {
|
|
32651
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
32651
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32652
32652
|
try {
|
|
32653
32653
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
32654
32654
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33270,7 +33270,7 @@ var Page = class Page extends Document {
|
|
|
33270
33270
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33271
33271
|
*/
|
|
33272
33272
|
static async fromJsonLd(json, options = {}) {
|
|
33273
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
33273
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33274
33274
|
try {
|
|
33275
33275
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
33276
33276
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33667,7 +33667,7 @@ var Person = class Person extends Object$1 {
|
|
|
33667
33667
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33668
33668
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33669
33669
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33670
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33670
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33671
33671
|
let fetchResult;
|
|
33672
33672
|
try {
|
|
33673
33673
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33829,7 +33829,7 @@ var Person = class Person extends Object$1 {
|
|
|
33829
33829
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33830
33830
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33831
33831
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33832
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33832
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33833
33833
|
let fetchResult;
|
|
33834
33834
|
try {
|
|
33835
33835
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34009,7 +34009,7 @@ var Person = class Person extends Object$1 {
|
|
|
34009
34009
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34010
34010
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34011
34011
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34012
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34012
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34013
34013
|
let fetchResult;
|
|
34014
34014
|
try {
|
|
34015
34015
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34151,7 +34151,7 @@ var Person = class Person extends Object$1 {
|
|
|
34151
34151
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34152
34152
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34153
34153
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34154
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34154
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34155
34155
|
let fetchResult;
|
|
34156
34156
|
try {
|
|
34157
34157
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34290,7 +34290,7 @@ var Person = class Person extends Object$1 {
|
|
|
34290
34290
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34291
34291
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34292
34292
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34293
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34293
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34294
34294
|
let fetchResult;
|
|
34295
34295
|
try {
|
|
34296
34296
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34414,7 +34414,7 @@ var Person = class Person extends Object$1 {
|
|
|
34414
34414
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34415
34415
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34416
34416
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34417
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34417
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34418
34418
|
let fetchResult;
|
|
34419
34419
|
try {
|
|
34420
34420
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34541,7 +34541,7 @@ var Person = class Person extends Object$1 {
|
|
|
34541
34541
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34542
34542
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34543
34543
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34544
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34544
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34545
34545
|
let fetchResult;
|
|
34546
34546
|
try {
|
|
34547
34547
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34666,7 +34666,7 @@ var Person = class Person extends Object$1 {
|
|
|
34666
34666
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34667
34667
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34668
34668
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34669
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34669
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34670
34670
|
let fetchResult;
|
|
34671
34671
|
try {
|
|
34672
34672
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34789,7 +34789,7 @@ var Person = class Person extends Object$1 {
|
|
|
34789
34789
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34790
34790
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34791
34791
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34792
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34792
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34793
34793
|
let fetchResult;
|
|
34794
34794
|
try {
|
|
34795
34795
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34912,7 +34912,7 @@ var Person = class Person extends Object$1 {
|
|
|
34912
34912
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34913
34913
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34914
34914
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34915
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34915
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34916
34916
|
let fetchResult;
|
|
34917
34917
|
try {
|
|
34918
34918
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35074,7 +35074,7 @@ var Person = class Person extends Object$1 {
|
|
|
35074
35074
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35075
35075
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35076
35076
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35077
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35077
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35078
35078
|
let fetchResult;
|
|
35079
35079
|
try {
|
|
35080
35080
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35240,7 +35240,7 @@ var Person = class Person extends Object$1 {
|
|
|
35240
35240
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35241
35241
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35242
35242
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35243
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35243
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35244
35244
|
let fetchResult;
|
|
35245
35245
|
try {
|
|
35246
35246
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35454,7 +35454,7 @@ var Person = class Person extends Object$1 {
|
|
|
35454
35454
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35455
35455
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35456
35456
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35457
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35457
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35458
35458
|
let fetchResult;
|
|
35459
35459
|
try {
|
|
35460
35460
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36139,7 +36139,7 @@ var Person = class Person extends Object$1 {
|
|
|
36139
36139
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36140
36140
|
*/
|
|
36141
36141
|
static async fromJsonLd(json, options = {}) {
|
|
36142
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
36142
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36143
36143
|
try {
|
|
36144
36144
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
36145
36145
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36938,7 +36938,7 @@ var Place = class Place extends Object$1 {
|
|
|
36938
36938
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36939
36939
|
*/
|
|
36940
36940
|
static async fromJsonLd(json, options = {}) {
|
|
36941
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
36941
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36942
36942
|
try {
|
|
36943
36943
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
36944
36944
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37145,7 +37145,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
37145
37145
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37146
37146
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37147
37147
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37148
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
37148
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37149
37149
|
let fetchResult;
|
|
37150
37150
|
try {
|
|
37151
37151
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37346,7 +37346,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
37346
37346
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37347
37347
|
*/
|
|
37348
37348
|
static async fromJsonLd(json, options = {}) {
|
|
37349
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
37349
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37350
37350
|
try {
|
|
37351
37351
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
37352
37352
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37521,7 +37521,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
37521
37521
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37522
37522
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37523
37523
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37524
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
37524
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37525
37525
|
let fetchResult;
|
|
37526
37526
|
try {
|
|
37527
37527
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37643,7 +37643,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
37643
37643
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37644
37644
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37645
37645
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37646
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
37646
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37647
37647
|
let fetchResult;
|
|
37648
37648
|
try {
|
|
37649
37649
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37907,7 +37907,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
37907
37907
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37908
37908
|
*/
|
|
37909
37909
|
static async fromJsonLd(json, options = {}) {
|
|
37910
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
37910
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37911
37911
|
try {
|
|
37912
37912
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
37913
37913
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38148,7 +38148,7 @@ var Read = class Read extends Activity {
|
|
|
38148
38148
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38149
38149
|
*/
|
|
38150
38150
|
static async fromJsonLd(json, options = {}) {
|
|
38151
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
38151
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38152
38152
|
try {
|
|
38153
38153
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
38154
38154
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38299,7 +38299,7 @@ var Reject = class Reject extends Activity {
|
|
|
38299
38299
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38300
38300
|
*/
|
|
38301
38301
|
static async fromJsonLd(json, options = {}) {
|
|
38302
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
38302
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38303
38303
|
try {
|
|
38304
38304
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
38305
38305
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38474,7 +38474,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
38474
38474
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38475
38475
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38476
38476
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38477
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
38477
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38478
38478
|
let fetchResult;
|
|
38479
38479
|
try {
|
|
38480
38480
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38597,7 +38597,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
38597
38597
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38598
38598
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38599
38599
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38600
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
38600
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38601
38601
|
let fetchResult;
|
|
38602
38602
|
try {
|
|
38603
38603
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38759,7 +38759,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
38759
38759
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38760
38760
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38761
38761
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38762
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
38762
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38763
38763
|
let fetchResult;
|
|
38764
38764
|
try {
|
|
38765
38765
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39037,7 +39037,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
39037
39037
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39038
39038
|
*/
|
|
39039
39039
|
static async fromJsonLd(json, options = {}) {
|
|
39040
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
39040
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39041
39041
|
try {
|
|
39042
39042
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
39043
39043
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39254,7 +39254,7 @@ var Remove = class Remove extends Activity {
|
|
|
39254
39254
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39255
39255
|
*/
|
|
39256
39256
|
static async fromJsonLd(json, options = {}) {
|
|
39257
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
39257
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39258
39258
|
try {
|
|
39259
39259
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
39260
39260
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39651,7 +39651,7 @@ var Service = class Service extends Object$1 {
|
|
|
39651
39651
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39652
39652
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39653
39653
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39654
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39654
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39655
39655
|
let fetchResult;
|
|
39656
39656
|
try {
|
|
39657
39657
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39813,7 +39813,7 @@ var Service = class Service extends Object$1 {
|
|
|
39813
39813
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39814
39814
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39815
39815
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39816
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39816
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39817
39817
|
let fetchResult;
|
|
39818
39818
|
try {
|
|
39819
39819
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39993,7 +39993,7 @@ var Service = class Service extends Object$1 {
|
|
|
39993
39993
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39994
39994
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39995
39995
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39996
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39996
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39997
39997
|
let fetchResult;
|
|
39998
39998
|
try {
|
|
39999
39999
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40135,7 +40135,7 @@ var Service = class Service extends Object$1 {
|
|
|
40135
40135
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40136
40136
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40137
40137
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40138
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40138
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40139
40139
|
let fetchResult;
|
|
40140
40140
|
try {
|
|
40141
40141
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40274,7 +40274,7 @@ var Service = class Service extends Object$1 {
|
|
|
40274
40274
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40275
40275
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40276
40276
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40277
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40277
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40278
40278
|
let fetchResult;
|
|
40279
40279
|
try {
|
|
40280
40280
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40398,7 +40398,7 @@ var Service = class Service extends Object$1 {
|
|
|
40398
40398
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40399
40399
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40400
40400
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40401
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40401
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40402
40402
|
let fetchResult;
|
|
40403
40403
|
try {
|
|
40404
40404
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40525,7 +40525,7 @@ var Service = class Service extends Object$1 {
|
|
|
40525
40525
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40526
40526
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40527
40527
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40528
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40528
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40529
40529
|
let fetchResult;
|
|
40530
40530
|
try {
|
|
40531
40531
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40650,7 +40650,7 @@ var Service = class Service extends Object$1 {
|
|
|
40650
40650
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40651
40651
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40652
40652
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40653
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40653
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40654
40654
|
let fetchResult;
|
|
40655
40655
|
try {
|
|
40656
40656
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40773,7 +40773,7 @@ var Service = class Service extends Object$1 {
|
|
|
40773
40773
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40774
40774
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40775
40775
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40776
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40776
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40777
40777
|
let fetchResult;
|
|
40778
40778
|
try {
|
|
40779
40779
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40896,7 +40896,7 @@ var Service = class Service extends Object$1 {
|
|
|
40896
40896
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40897
40897
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40898
40898
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40899
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40899
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40900
40900
|
let fetchResult;
|
|
40901
40901
|
try {
|
|
40902
40902
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41058,7 +41058,7 @@ var Service = class Service extends Object$1 {
|
|
|
41058
41058
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41059
41059
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41060
41060
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41061
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41061
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41062
41062
|
let fetchResult;
|
|
41063
41063
|
try {
|
|
41064
41064
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41224,7 +41224,7 @@ var Service = class Service extends Object$1 {
|
|
|
41224
41224
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41225
41225
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41226
41226
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41227
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41227
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41228
41228
|
let fetchResult;
|
|
41229
41229
|
try {
|
|
41230
41230
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41438,7 +41438,7 @@ var Service = class Service extends Object$1 {
|
|
|
41438
41438
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41439
41439
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41440
41440
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41441
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41441
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41442
41442
|
let fetchResult;
|
|
41443
41443
|
try {
|
|
41444
41444
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42123,7 +42123,7 @@ var Service = class Service extends Object$1 {
|
|
|
42123
42123
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42124
42124
|
*/
|
|
42125
42125
|
static async fromJsonLd(json, options = {}) {
|
|
42126
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42126
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42127
42127
|
try {
|
|
42128
42128
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
42129
42129
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42839,7 +42839,7 @@ var Source = class {
|
|
|
42839
42839
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42840
42840
|
*/
|
|
42841
42841
|
static async fromJsonLd(json, options = {}) {
|
|
42842
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42842
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42843
42843
|
try {
|
|
42844
42844
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
42845
42845
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43023,7 +43023,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
43023
43023
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43024
43024
|
*/
|
|
43025
43025
|
static async fromJsonLd(json, options = {}) {
|
|
43026
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
43026
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43027
43027
|
try {
|
|
43028
43028
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
43029
43029
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43174,7 +43174,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
43174
43174
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43175
43175
|
*/
|
|
43176
43176
|
static async fromJsonLd(json, options = {}) {
|
|
43177
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
43177
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43178
43178
|
try {
|
|
43179
43179
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
43180
43180
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43371,7 +43371,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
43371
43371
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43372
43372
|
*/
|
|
43373
43373
|
static async fromJsonLd(json, options = {}) {
|
|
43374
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
43374
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43375
43375
|
try {
|
|
43376
43376
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
43377
43377
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43539,7 +43539,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
43539
43539
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43540
43540
|
*/
|
|
43541
43541
|
static async fromJsonLd(json, options = {}) {
|
|
43542
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
43542
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43543
43543
|
try {
|
|
43544
43544
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
43545
43545
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43704,7 +43704,7 @@ var Undo = class Undo extends Activity {
|
|
|
43704
43704
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43705
43705
|
*/
|
|
43706
43706
|
static async fromJsonLd(json, options = {}) {
|
|
43707
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
43707
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43708
43708
|
try {
|
|
43709
43709
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
43710
43710
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43907,7 +43907,7 @@ var Update = class Update extends Activity {
|
|
|
43907
43907
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43908
43908
|
*/
|
|
43909
43909
|
static async fromJsonLd(json, options = {}) {
|
|
43910
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
43910
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43911
43911
|
try {
|
|
43912
43912
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
43913
43913
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44071,7 +44071,7 @@ var Video = class Video extends Document {
|
|
|
44071
44071
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44072
44072
|
*/
|
|
44073
44073
|
static async fromJsonLd(json, options = {}) {
|
|
44074
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
44074
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44075
44075
|
try {
|
|
44076
44076
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
44077
44077
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44221,7 +44221,7 @@ var View = class View extends Activity {
|
|
|
44221
44221
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44222
44222
|
*/
|
|
44223
44223
|
static async fromJsonLd(json, options = {}) {
|
|
44224
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
44224
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44225
44225
|
try {
|
|
44226
44226
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
44227
44227
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|