@fedify/vocab 2.3.13 → 2.3.14
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 +219 -219
- package/dist/mod.js +219 -219
- package/dist-tests/{actor-u9vvAHai.mjs → actor-CdnIo4XD.mjs} +2 -2
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-C-0Zn3Yb.mjs → vocab-Cyuznh-0.mjs} +218 -218
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
|
@@ -844,7 +844,7 @@ var Object$1 = class Object$1 {
|
|
|
844
844
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
845
845
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
846
846
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
847
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
847
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
848
848
|
let fetchResult;
|
|
849
849
|
try {
|
|
850
850
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1003,7 +1003,7 @@ var Object$1 = class Object$1 {
|
|
|
1003
1003
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1004
1004
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1005
1005
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1006
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1006
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1007
1007
|
let fetchResult;
|
|
1008
1008
|
try {
|
|
1009
1009
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1240,7 +1240,7 @@ var Object$1 = class Object$1 {
|
|
|
1240
1240
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1241
1241
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1242
1242
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1243
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1243
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1244
1244
|
let fetchResult;
|
|
1245
1245
|
try {
|
|
1246
1246
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1449,7 +1449,7 @@ var Object$1 = class Object$1 {
|
|
|
1449
1449
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1450
1450
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1451
1451
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1452
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1452
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1453
1453
|
let fetchResult;
|
|
1454
1454
|
try {
|
|
1455
1455
|
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.3.
|
|
1627
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1628
1628
|
let fetchResult;
|
|
1629
1629
|
try {
|
|
1630
1630
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1767,7 +1767,7 @@ var Object$1 = class Object$1 {
|
|
|
1767
1767
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1768
1768
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1769
1769
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1770
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1770
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1771
1771
|
let fetchResult;
|
|
1772
1772
|
try {
|
|
1773
1773
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1974,7 +1974,7 @@ var Object$1 = class Object$1 {
|
|
|
1974
1974
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1975
1975
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1976
1976
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1977
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1977
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1978
1978
|
let fetchResult;
|
|
1979
1979
|
try {
|
|
1980
1980
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2181,7 +2181,7 @@ var Object$1 = class Object$1 {
|
|
|
2181
2181
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2182
2182
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2183
2183
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2184
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2184
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2185
2185
|
let fetchResult;
|
|
2186
2186
|
try {
|
|
2187
2187
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2380,7 +2380,7 @@ var Object$1 = class Object$1 {
|
|
|
2380
2380
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2381
2381
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2382
2382
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2383
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2383
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2384
2384
|
let fetchResult;
|
|
2385
2385
|
try {
|
|
2386
2386
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2579,7 +2579,7 @@ var Object$1 = class Object$1 {
|
|
|
2579
2579
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2580
2580
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2581
2581
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2582
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2582
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2583
2583
|
let fetchResult;
|
|
2584
2584
|
try {
|
|
2585
2585
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2783,7 +2783,7 @@ var Object$1 = class Object$1 {
|
|
|
2783
2783
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2784
2784
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2785
2785
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2786
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2786
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2787
2787
|
let fetchResult;
|
|
2788
2788
|
try {
|
|
2789
2789
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2916,7 +2916,7 @@ var Object$1 = class Object$1 {
|
|
|
2916
2916
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2917
2917
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2918
2918
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2919
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2919
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2920
2920
|
let fetchResult;
|
|
2921
2921
|
try {
|
|
2922
2922
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3055,7 +3055,7 @@ var Object$1 = class Object$1 {
|
|
|
3055
3055
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3056
3056
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3057
3057
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3058
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3058
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3059
3059
|
let fetchResult;
|
|
3060
3060
|
try {
|
|
3061
3061
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3194,7 +3194,7 @@ var Object$1 = class Object$1 {
|
|
|
3194
3194
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3195
3195
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3196
3196
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3197
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3197
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3198
3198
|
let fetchResult;
|
|
3199
3199
|
try {
|
|
3200
3200
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3351,7 +3351,7 @@ var Object$1 = class Object$1 {
|
|
|
3351
3351
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3352
3352
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3353
3353
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3354
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3354
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3355
3355
|
let fetchResult;
|
|
3356
3356
|
try {
|
|
3357
3357
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3516,7 +3516,7 @@ var Object$1 = class Object$1 {
|
|
|
3516
3516
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3517
3517
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3518
3518
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3519
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3519
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3520
3520
|
let fetchResult;
|
|
3521
3521
|
try {
|
|
3522
3522
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3705,7 +3705,7 @@ var Object$1 = class Object$1 {
|
|
|
3705
3705
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3706
3706
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3707
3707
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3708
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3708
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3709
3709
|
let fetchResult;
|
|
3710
3710
|
try {
|
|
3711
3711
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3894,7 +3894,7 @@ var Object$1 = class Object$1 {
|
|
|
3894
3894
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3895
3895
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3896
3896
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3897
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3897
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3898
3898
|
let fetchResult;
|
|
3899
3899
|
try {
|
|
3900
3900
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4083,7 +4083,7 @@ var Object$1 = class Object$1 {
|
|
|
4083
4083
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4084
4084
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4085
4085
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4086
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4086
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4087
4087
|
let fetchResult;
|
|
4088
4088
|
try {
|
|
4089
4089
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4309,7 +4309,7 @@ var Object$1 = class Object$1 {
|
|
|
4309
4309
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4310
4310
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4311
4311
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4312
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4312
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4313
4313
|
let fetchResult;
|
|
4314
4314
|
try {
|
|
4315
4315
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4521,7 +4521,7 @@ var Object$1 = class Object$1 {
|
|
|
4521
4521
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4522
4522
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4523
4523
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4524
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4524
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4525
4525
|
let fetchResult;
|
|
4526
4526
|
try {
|
|
4527
4527
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4654,7 +4654,7 @@ var Object$1 = class Object$1 {
|
|
|
4654
4654
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4655
4655
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4656
4656
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4657
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4657
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4658
4658
|
let fetchResult;
|
|
4659
4659
|
try {
|
|
4660
4660
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4787,7 +4787,7 @@ var Object$1 = class Object$1 {
|
|
|
4787
4787
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4788
4788
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4789
4789
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4790
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4790
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4791
4791
|
let fetchResult;
|
|
4792
4792
|
try {
|
|
4793
4793
|
fetchResult = await documentLoader(url.href);
|
|
@@ -5626,7 +5626,7 @@ var Object$1 = class Object$1 {
|
|
|
5626
5626
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5627
5627
|
*/
|
|
5628
5628
|
static async fromJsonLd(json, options = {}) {
|
|
5629
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
5629
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5630
5630
|
try {
|
|
5631
5631
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
5632
5632
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7293,7 +7293,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
7293
7293
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7294
7294
|
*/
|
|
7295
7295
|
static async fromJsonLd(json, options = {}) {
|
|
7296
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
7296
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7297
7297
|
try {
|
|
7298
7298
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
7299
7299
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7431,7 +7431,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7431
7431
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7432
7432
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7433
7433
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7434
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
7434
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7435
7435
|
let fetchResult;
|
|
7436
7436
|
try {
|
|
7437
7437
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7581,7 +7581,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7581
7581
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7582
7582
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7583
7583
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7584
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
7584
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7585
7585
|
let fetchResult;
|
|
7586
7586
|
try {
|
|
7587
7587
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7877,7 +7877,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7877
7877
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7878
7878
|
*/
|
|
7879
7879
|
static async fromJsonLd(json, options = {}) {
|
|
7880
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
7880
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7881
7881
|
try {
|
|
7882
7882
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
7883
7883
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8220,7 +8220,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8220
8220
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8221
8221
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8222
8222
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8223
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8223
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8224
8224
|
let fetchResult;
|
|
8225
8225
|
try {
|
|
8226
8226
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8457,7 +8457,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8457
8457
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8458
8458
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8459
8459
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8460
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8460
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8461
8461
|
let fetchResult;
|
|
8462
8462
|
try {
|
|
8463
8463
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8648,7 +8648,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8648
8648
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8649
8649
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8650
8650
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8651
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8651
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8652
8652
|
let fetchResult;
|
|
8653
8653
|
try {
|
|
8654
8654
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8845,7 +8845,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8845
8845
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8846
8846
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8847
8847
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8848
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8848
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8849
8849
|
let fetchResult;
|
|
8850
8850
|
try {
|
|
8851
8851
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9036,7 +9036,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
9036
9036
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9037
9037
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9038
9038
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9039
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
9039
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9040
9040
|
let fetchResult;
|
|
9041
9041
|
try {
|
|
9042
9042
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9229,7 +9229,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
9229
9229
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9230
9230
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9231
9231
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9232
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
9232
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9233
9233
|
let fetchResult;
|
|
9234
9234
|
try {
|
|
9235
9235
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9505,7 +9505,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
9505
9505
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9506
9506
|
*/
|
|
9507
9507
|
static async fromJsonLd(json, options = {}) {
|
|
9508
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
9508
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9509
9509
|
try {
|
|
9510
9510
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
9511
9511
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9872,7 +9872,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
9872
9872
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9873
9873
|
*/
|
|
9874
9874
|
static async fromJsonLd(json, options = {}) {
|
|
9875
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
9875
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9876
9876
|
try {
|
|
9877
9877
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
9878
9878
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10140,7 +10140,7 @@ var PropertyValue = class {
|
|
|
10140
10140
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10141
10141
|
*/
|
|
10142
10142
|
static async fromJsonLd(json, options = {}) {
|
|
10143
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
10143
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10144
10144
|
try {
|
|
10145
10145
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
10146
10146
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10435,7 +10435,7 @@ var Measure = class {
|
|
|
10435
10435
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10436
10436
|
*/
|
|
10437
10437
|
static async fromJsonLd(json, options = {}) {
|
|
10438
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
10438
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10439
10439
|
try {
|
|
10440
10440
|
const object = await this.__fromJsonLd__Measure__(json, span, options);
|
|
10441
10441
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10607,7 +10607,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10607
10607
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10608
10608
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10609
10609
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10610
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
10610
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10611
10611
|
let fetchResult;
|
|
10612
10612
|
try {
|
|
10613
10613
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10740,7 +10740,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10740
10740
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10741
10741
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10742
10742
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10743
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
10743
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10744
10744
|
let fetchResult;
|
|
10745
10745
|
try {
|
|
10746
10746
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10968,7 +10968,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10968
10968
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10969
10969
|
*/
|
|
10970
10970
|
static async fromJsonLd(json, options = {}) {
|
|
10971
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
10971
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10972
10972
|
try {
|
|
10973
10973
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
10974
10974
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11183,7 +11183,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
11183
11183
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11184
11184
|
*/
|
|
11185
11185
|
static async fromJsonLd(json, options = {}) {
|
|
11186
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
11186
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11187
11187
|
try {
|
|
11188
11188
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
11189
11189
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11469,7 +11469,7 @@ var InteractionPolicy = class {
|
|
|
11469
11469
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11470
11470
|
*/
|
|
11471
11471
|
static async fromJsonLd(json, options = {}) {
|
|
11472
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
11472
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11473
11473
|
try {
|
|
11474
11474
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
11475
11475
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11832,7 +11832,7 @@ var InteractionRule = class {
|
|
|
11832
11832
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11833
11833
|
*/
|
|
11834
11834
|
static async fromJsonLd(json, options = {}) {
|
|
11835
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
11835
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11836
11836
|
try {
|
|
11837
11837
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
11838
11838
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12005,7 +12005,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
12005
12005
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12006
12006
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12007
12007
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12008
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
12008
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12009
12009
|
let fetchResult;
|
|
12010
12010
|
try {
|
|
12011
12011
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12138,7 +12138,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
12138
12138
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12139
12139
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12140
12140
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12141
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
12141
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12142
12142
|
let fetchResult;
|
|
12143
12143
|
try {
|
|
12144
12144
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12366,7 +12366,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
12366
12366
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12367
12367
|
*/
|
|
12368
12368
|
static async fromJsonLd(json, options = {}) {
|
|
12369
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
12369
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12370
12370
|
try {
|
|
12371
12371
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
12372
12372
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12580,7 +12580,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
12580
12580
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12581
12581
|
*/
|
|
12582
12582
|
static async fromJsonLd(json, options = {}) {
|
|
12583
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
12583
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12584
12584
|
try {
|
|
12585
12585
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
12586
12586
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12715,7 +12715,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12715
12715
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12716
12716
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12717
12717
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12718
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
12718
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12719
12719
|
let fetchResult;
|
|
12720
12720
|
try {
|
|
12721
12721
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12848,7 +12848,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12848
12848
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12849
12849
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12850
12850
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12851
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
12851
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12852
12852
|
let fetchResult;
|
|
12853
12853
|
try {
|
|
12854
12854
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13076,7 +13076,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
13076
13076
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13077
13077
|
*/
|
|
13078
13078
|
static async fromJsonLd(json, options = {}) {
|
|
13079
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
13079
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13080
13080
|
try {
|
|
13081
13081
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
13082
13082
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13290,7 +13290,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
13290
13290
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13291
13291
|
*/
|
|
13292
13292
|
static async fromJsonLd(json, options = {}) {
|
|
13293
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
13293
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13294
13294
|
try {
|
|
13295
13295
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
13296
13296
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13425,7 +13425,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
13425
13425
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13426
13426
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13427
13427
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13428
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
13428
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13429
13429
|
let fetchResult;
|
|
13430
13430
|
try {
|
|
13431
13431
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13557,7 +13557,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
13557
13557
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13558
13558
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13559
13559
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13560
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
13560
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13561
13561
|
let fetchResult;
|
|
13562
13562
|
try {
|
|
13563
13563
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13787,7 +13787,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
13787
13787
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13788
13788
|
*/
|
|
13789
13789
|
static async fromJsonLd(json, options = {}) {
|
|
13790
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
13790
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13791
13791
|
try {
|
|
13792
13792
|
const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
|
|
13793
13793
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14031,7 +14031,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
|
|
|
14031
14031
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14032
14032
|
*/
|
|
14033
14033
|
static async fromJsonLd(json, options = {}) {
|
|
14034
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
14034
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14035
14035
|
try {
|
|
14036
14036
|
const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
|
|
14037
14037
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14259,7 +14259,7 @@ var DidService = class {
|
|
|
14259
14259
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14260
14260
|
*/
|
|
14261
14261
|
static async fromJsonLd(json, options = {}) {
|
|
14262
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
14262
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14263
14263
|
try {
|
|
14264
14264
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
14265
14265
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14423,7 +14423,7 @@ var Export = class Export extends DidService {
|
|
|
14423
14423
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14424
14424
|
*/
|
|
14425
14425
|
static async fromJsonLd(json, options = {}) {
|
|
14426
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
14426
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14427
14427
|
try {
|
|
14428
14428
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
14429
14429
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14618,7 +14618,7 @@ var DataIntegrityProof = class {
|
|
|
14618
14618
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14619
14619
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14620
14620
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14621
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
14621
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14622
14622
|
let fetchResult;
|
|
14623
14623
|
try {
|
|
14624
14624
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14837,7 +14837,7 @@ var DataIntegrityProof = class {
|
|
|
14837
14837
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14838
14838
|
*/
|
|
14839
14839
|
static async fromJsonLd(json, options = {}) {
|
|
14840
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
14840
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14841
14841
|
try {
|
|
14842
14842
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
14843
14843
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15104,7 +15104,7 @@ var CryptographicKey = class {
|
|
|
15104
15104
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15105
15105
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15106
15106
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15107
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
15107
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15108
15108
|
let fetchResult;
|
|
15109
15109
|
try {
|
|
15110
15110
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15378,7 +15378,7 @@ var CryptographicKey = class {
|
|
|
15378
15378
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15379
15379
|
*/
|
|
15380
15380
|
static async fromJsonLd(json, options = {}) {
|
|
15381
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
15381
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15382
15382
|
try {
|
|
15383
15383
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
15384
15384
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15606,7 +15606,7 @@ var Multikey = class {
|
|
|
15606
15606
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15607
15607
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15608
15608
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15609
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
15609
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15610
15610
|
let fetchResult;
|
|
15611
15611
|
try {
|
|
15612
15612
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15886,7 +15886,7 @@ var Multikey = class {
|
|
|
15886
15886
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15887
15887
|
*/
|
|
15888
15888
|
static async fromJsonLd(json, options = {}) {
|
|
15889
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
15889
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15890
15890
|
try {
|
|
15891
15891
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
15892
15892
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16225,7 +16225,7 @@ var Agreement = class Agreement extends Object$1 {
|
|
|
16225
16225
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16226
16226
|
*/
|
|
16227
16227
|
static async fromJsonLd(json, options = {}) {
|
|
16228
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
16228
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16229
16229
|
try {
|
|
16230
16230
|
const object = await this.__fromJsonLd__Agreement__(json, span, options);
|
|
16231
16231
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16549,7 +16549,7 @@ var Commitment = class {
|
|
|
16549
16549
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16550
16550
|
*/
|
|
16551
16551
|
static async fromJsonLd(json, options = {}) {
|
|
16552
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
16552
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16553
16553
|
try {
|
|
16554
16554
|
const object = await this.__fromJsonLd__Commitment__(json, span, options);
|
|
16555
16555
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16951,7 +16951,7 @@ var Intent = class {
|
|
|
16951
16951
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16952
16952
|
*/
|
|
16953
16953
|
static async fromJsonLd(json, options = {}) {
|
|
16954
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
16954
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16955
16955
|
try {
|
|
16956
16956
|
const object = await this.__fromJsonLd__Intent__(json, span, options);
|
|
16957
16957
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17392,7 +17392,7 @@ var Proposal = class Proposal extends Object$1 {
|
|
|
17392
17392
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17393
17393
|
*/
|
|
17394
17394
|
static async fromJsonLd(json, options = {}) {
|
|
17395
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
17395
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17396
17396
|
try {
|
|
17397
17397
|
const object = await this.__fromJsonLd__Proposal__(json, span, options);
|
|
17398
17398
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17625,7 +17625,7 @@ var Accept = class Accept extends Activity {
|
|
|
17625
17625
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17626
17626
|
*/
|
|
17627
17627
|
static async fromJsonLd(json, options = {}) {
|
|
17628
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
17628
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17629
17629
|
try {
|
|
17630
17630
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
17631
17631
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17781,7 +17781,7 @@ var Add = class Add extends Activity {
|
|
|
17781
17781
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17782
17782
|
*/
|
|
17783
17783
|
static async fromJsonLd(json, options = {}) {
|
|
17784
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
17784
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17785
17785
|
try {
|
|
17786
17786
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
17787
17787
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17964,7 +17964,7 @@ var Announce = class Announce extends Activity {
|
|
|
17964
17964
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17965
17965
|
*/
|
|
17966
17966
|
static async fromJsonLd(json, options = {}) {
|
|
17967
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
17967
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17968
17968
|
try {
|
|
17969
17969
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
17970
17970
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18363,7 +18363,7 @@ var Application = class Application extends Object$1 {
|
|
|
18363
18363
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18364
18364
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18365
18365
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18366
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18366
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18367
18367
|
let fetchResult;
|
|
18368
18368
|
try {
|
|
18369
18369
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18550,7 +18550,7 @@ var Application = class Application extends Object$1 {
|
|
|
18550
18550
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18551
18551
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18552
18552
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18553
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18553
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18554
18554
|
let fetchResult;
|
|
18555
18555
|
try {
|
|
18556
18556
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18755,7 +18755,7 @@ var Application = class Application extends Object$1 {
|
|
|
18755
18755
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18756
18756
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18757
18757
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18758
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18758
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18759
18759
|
let fetchResult;
|
|
18760
18760
|
try {
|
|
18761
18761
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18909,7 +18909,7 @@ var Application = class Application extends Object$1 {
|
|
|
18909
18909
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18910
18910
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18911
18911
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18912
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18912
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18913
18913
|
let fetchResult;
|
|
18914
18914
|
try {
|
|
18915
18915
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19060,7 +19060,7 @@ var Application = class Application extends Object$1 {
|
|
|
19060
19060
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19061
19061
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19062
19062
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19063
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19063
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19064
19064
|
let fetchResult;
|
|
19065
19065
|
try {
|
|
19066
19066
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19196,7 +19196,7 @@ var Application = class Application extends Object$1 {
|
|
|
19196
19196
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19197
19197
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19198
19198
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19199
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19199
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19200
19200
|
let fetchResult;
|
|
19201
19201
|
try {
|
|
19202
19202
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19335,7 +19335,7 @@ var Application = class Application extends Object$1 {
|
|
|
19335
19335
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19336
19336
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19337
19337
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19338
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19338
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19339
19339
|
let fetchResult;
|
|
19340
19340
|
try {
|
|
19341
19341
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19472,7 +19472,7 @@ var Application = class Application extends Object$1 {
|
|
|
19472
19472
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19473
19473
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19474
19474
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19475
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19475
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19476
19476
|
let fetchResult;
|
|
19477
19477
|
try {
|
|
19478
19478
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19607,7 +19607,7 @@ var Application = class Application extends Object$1 {
|
|
|
19607
19607
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19608
19608
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19609
19609
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19610
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19610
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19611
19611
|
let fetchResult;
|
|
19612
19612
|
try {
|
|
19613
19613
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19742,7 +19742,7 @@ var Application = class Application extends Object$1 {
|
|
|
19742
19742
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19743
19743
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19744
19744
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19745
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19745
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19746
19746
|
let fetchResult;
|
|
19747
19747
|
try {
|
|
19748
19748
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19917,7 +19917,7 @@ var Application = class Application extends Object$1 {
|
|
|
19917
19917
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19918
19918
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19919
19919
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19920
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19920
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19921
19921
|
let fetchResult;
|
|
19922
19922
|
try {
|
|
19923
19923
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20095,7 +20095,7 @@ var Application = class Application extends Object$1 {
|
|
|
20095
20095
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20096
20096
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20097
20097
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20098
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
20098
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20099
20099
|
let fetchResult;
|
|
20100
20100
|
try {
|
|
20101
20101
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20334,7 +20334,7 @@ var Application = class Application extends Object$1 {
|
|
|
20334
20334
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20335
20335
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20336
20336
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20337
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
20337
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20338
20338
|
let fetchResult;
|
|
20339
20339
|
try {
|
|
20340
20340
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21044,7 +21044,7 @@ var Application = class Application extends Object$1 {
|
|
|
21044
21044
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21045
21045
|
*/
|
|
21046
21046
|
static async fromJsonLd(json, options = {}) {
|
|
21047
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
21047
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21048
21048
|
try {
|
|
21049
21049
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
21050
21050
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21737,7 +21737,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
21737
21737
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21738
21738
|
*/
|
|
21739
21739
|
static async fromJsonLd(json, options = {}) {
|
|
21740
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
21740
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21741
21741
|
try {
|
|
21742
21742
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
21743
21743
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21894,7 +21894,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
21894
21894
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21895
21895
|
*/
|
|
21896
21896
|
static async fromJsonLd(json, options = {}) {
|
|
21897
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
21897
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21898
21898
|
try {
|
|
21899
21899
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
21900
21900
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22028,7 +22028,7 @@ var Article = class Article extends Object$1 {
|
|
|
22028
22028
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22029
22029
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22030
22030
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22031
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
22031
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22032
22032
|
let fetchResult;
|
|
22033
22033
|
try {
|
|
22034
22034
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22178,7 +22178,7 @@ var Article = class Article extends Object$1 {
|
|
|
22178
22178
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22179
22179
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22180
22180
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22181
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
22181
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22182
22182
|
let fetchResult;
|
|
22183
22183
|
try {
|
|
22184
22184
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22476,7 +22476,7 @@ var Article = class Article extends Object$1 {
|
|
|
22476
22476
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22477
22477
|
*/
|
|
22478
22478
|
static async fromJsonLd(json, options = {}) {
|
|
22479
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
22479
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22480
22480
|
try {
|
|
22481
22481
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
22482
22482
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22775,7 +22775,7 @@ var Document = class Document extends Object$1 {
|
|
|
22775
22775
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22776
22776
|
*/
|
|
22777
22777
|
static async fromJsonLd(json, options = {}) {
|
|
22778
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
22778
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22779
22779
|
try {
|
|
22780
22780
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
22781
22781
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22982,7 +22982,7 @@ var Audio = class Audio extends Document {
|
|
|
22982
22982
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22983
22983
|
*/
|
|
22984
22984
|
static async fromJsonLd(json, options = {}) {
|
|
22985
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
22985
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22986
22986
|
try {
|
|
22987
22987
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
22988
22988
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23135,7 +23135,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
23135
23135
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23136
23136
|
*/
|
|
23137
23137
|
static async fromJsonLd(json, options = {}) {
|
|
23138
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
23138
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23139
23139
|
try {
|
|
23140
23140
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
23141
23141
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23291,7 +23291,7 @@ var Block = class Block extends Ignore {
|
|
|
23291
23291
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23292
23292
|
*/
|
|
23293
23293
|
static async fromJsonLd(json, options = {}) {
|
|
23294
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
23294
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23295
23295
|
try {
|
|
23296
23296
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
23297
23297
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23559,7 +23559,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23559
23559
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23560
23560
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23561
23561
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23562
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23562
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23563
23563
|
let fetchResult;
|
|
23564
23564
|
try {
|
|
23565
23565
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23692,7 +23692,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23692
23692
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23693
23693
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23694
23694
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23695
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23695
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23696
23696
|
let fetchResult;
|
|
23697
23697
|
try {
|
|
23698
23698
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23825,7 +23825,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23825
23825
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23826
23826
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23827
23827
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23828
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23828
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23829
23829
|
let fetchResult;
|
|
23830
23830
|
try {
|
|
23831
23831
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23958,7 +23958,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23958
23958
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23959
23959
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23960
23960
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23961
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23961
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23962
23962
|
let fetchResult;
|
|
23963
23963
|
try {
|
|
23964
23964
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24102,7 +24102,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24102
24102
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24103
24103
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24104
24104
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24105
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24105
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24106
24106
|
let fetchResult;
|
|
24107
24107
|
try {
|
|
24108
24108
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24234,7 +24234,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24234
24234
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24235
24235
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24236
24236
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24237
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24237
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24238
24238
|
let fetchResult;
|
|
24239
24239
|
try {
|
|
24240
24240
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24366,7 +24366,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24366
24366
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24367
24367
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24368
24368
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24369
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24369
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24370
24370
|
let fetchResult;
|
|
24371
24371
|
try {
|
|
24372
24372
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24498,7 +24498,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24498
24498
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24499
24499
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24500
24500
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24501
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24501
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24502
24502
|
let fetchResult;
|
|
24503
24503
|
try {
|
|
24504
24504
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24630,7 +24630,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24630
24630
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24631
24631
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24632
24632
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24633
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24633
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24634
24634
|
let fetchResult;
|
|
24635
24635
|
try {
|
|
24636
24636
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24762,7 +24762,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24762
24762
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24763
24763
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24764
24764
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24765
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24765
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24766
24766
|
let fetchResult;
|
|
24767
24767
|
try {
|
|
24768
24768
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24894,7 +24894,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24894
24894
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24895
24895
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24896
24896
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24897
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24897
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24898
24898
|
let fetchResult;
|
|
24899
24899
|
try {
|
|
24900
24900
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25026,7 +25026,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
25026
25026
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25027
25027
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25028
25028
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25029
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
25029
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25030
25030
|
let fetchResult;
|
|
25031
25031
|
try {
|
|
25032
25032
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25487,7 +25487,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
25487
25487
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25488
25488
|
*/
|
|
25489
25489
|
static async fromJsonLd(json, options = {}) {
|
|
25490
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
25490
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25491
25491
|
try {
|
|
25492
25492
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
25493
25493
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26036,7 +26036,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
26036
26036
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26037
26037
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26038
26038
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26039
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
26039
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26040
26040
|
let fetchResult;
|
|
26041
26041
|
try {
|
|
26042
26042
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26169,7 +26169,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
26169
26169
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26170
26170
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26171
26171
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26172
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
26172
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26173
26173
|
let fetchResult;
|
|
26174
26174
|
try {
|
|
26175
26175
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26301,7 +26301,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
26301
26301
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26302
26302
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26303
26303
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26304
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
26304
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26305
26305
|
let fetchResult;
|
|
26306
26306
|
try {
|
|
26307
26307
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26599,7 +26599,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
26599
26599
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26600
26600
|
*/
|
|
26601
26601
|
static async fromJsonLd(json, options = {}) {
|
|
26602
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
26602
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26603
26603
|
try {
|
|
26604
26604
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
26605
26605
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26861,7 +26861,7 @@ var Create = class Create extends Activity {
|
|
|
26861
26861
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26862
26862
|
*/
|
|
26863
26863
|
static async fromJsonLd(json, options = {}) {
|
|
26864
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
26864
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26865
26865
|
try {
|
|
26866
26866
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
26867
26867
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27040,7 +27040,7 @@ var Delete = class Delete extends Activity {
|
|
|
27040
27040
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27041
27041
|
*/
|
|
27042
27042
|
static async fromJsonLd(json, options = {}) {
|
|
27043
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
27043
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27044
27044
|
try {
|
|
27045
27045
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
27046
27046
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27196,7 +27196,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
27196
27196
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27197
27197
|
*/
|
|
27198
27198
|
static async fromJsonLd(json, options = {}) {
|
|
27199
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
27199
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27200
27200
|
try {
|
|
27201
27201
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
27202
27202
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27563,7 +27563,7 @@ var Endpoints = class {
|
|
|
27563
27563
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27564
27564
|
*/
|
|
27565
27565
|
static async fromJsonLd(json, options = {}) {
|
|
27566
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
27566
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27567
27567
|
try {
|
|
27568
27568
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
27569
27569
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27837,7 +27837,7 @@ var Event = class Event extends Object$1 {
|
|
|
27837
27837
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27838
27838
|
*/
|
|
27839
27839
|
static async fromJsonLd(json, options = {}) {
|
|
27840
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
27840
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27841
27841
|
try {
|
|
27842
27842
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
27843
27843
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27991,7 +27991,7 @@ var Flag = class Flag extends Activity {
|
|
|
27991
27991
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27992
27992
|
*/
|
|
27993
27993
|
static async fromJsonLd(json, options = {}) {
|
|
27994
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
27994
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27995
27995
|
try {
|
|
27996
27996
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
27997
27997
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28149,7 +28149,7 @@ var Follow = class Follow extends Activity {
|
|
|
28149
28149
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28150
28150
|
*/
|
|
28151
28151
|
static async fromJsonLd(json, options = {}) {
|
|
28152
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
28152
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28153
28153
|
try {
|
|
28154
28154
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
28155
28155
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28548,7 +28548,7 @@ var Group = class Group extends Object$1 {
|
|
|
28548
28548
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28549
28549
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28550
28550
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28551
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28551
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28552
28552
|
let fetchResult;
|
|
28553
28553
|
try {
|
|
28554
28554
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28735,7 +28735,7 @@ var Group = class Group extends Object$1 {
|
|
|
28735
28735
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28736
28736
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28737
28737
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28738
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28738
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28739
28739
|
let fetchResult;
|
|
28740
28740
|
try {
|
|
28741
28741
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28940,7 +28940,7 @@ var Group = class Group extends Object$1 {
|
|
|
28940
28940
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28941
28941
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28942
28942
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28943
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28943
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28944
28944
|
let fetchResult;
|
|
28945
28945
|
try {
|
|
28946
28946
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29094,7 +29094,7 @@ var Group = class Group extends Object$1 {
|
|
|
29094
29094
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29095
29095
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29096
29096
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29097
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29097
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29098
29098
|
let fetchResult;
|
|
29099
29099
|
try {
|
|
29100
29100
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29245,7 +29245,7 @@ var Group = class Group extends Object$1 {
|
|
|
29245
29245
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29246
29246
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29247
29247
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29248
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29248
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29249
29249
|
let fetchResult;
|
|
29250
29250
|
try {
|
|
29251
29251
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29381,7 +29381,7 @@ var Group = class Group extends Object$1 {
|
|
|
29381
29381
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29382
29382
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29383
29383
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29384
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29384
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29385
29385
|
let fetchResult;
|
|
29386
29386
|
try {
|
|
29387
29387
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29520,7 +29520,7 @@ var Group = class Group extends Object$1 {
|
|
|
29520
29520
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29521
29521
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29522
29522
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29523
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29523
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29524
29524
|
let fetchResult;
|
|
29525
29525
|
try {
|
|
29526
29526
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29657,7 +29657,7 @@ var Group = class Group extends Object$1 {
|
|
|
29657
29657
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29658
29658
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29659
29659
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29660
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29660
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29661
29661
|
let fetchResult;
|
|
29662
29662
|
try {
|
|
29663
29663
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29792,7 +29792,7 @@ var Group = class Group extends Object$1 {
|
|
|
29792
29792
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29793
29793
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29794
29794
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29795
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29795
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29796
29796
|
let fetchResult;
|
|
29797
29797
|
try {
|
|
29798
29798
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29927,7 +29927,7 @@ var Group = class Group extends Object$1 {
|
|
|
29927
29927
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29928
29928
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29929
29929
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29930
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29930
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29931
29931
|
let fetchResult;
|
|
29932
29932
|
try {
|
|
29933
29933
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30102,7 +30102,7 @@ var Group = class Group extends Object$1 {
|
|
|
30102
30102
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30103
30103
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30104
30104
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30105
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
30105
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30106
30106
|
let fetchResult;
|
|
30107
30107
|
try {
|
|
30108
30108
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30280,7 +30280,7 @@ var Group = class Group extends Object$1 {
|
|
|
30280
30280
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30281
30281
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30282
30282
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30283
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
30283
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30284
30284
|
let fetchResult;
|
|
30285
30285
|
try {
|
|
30286
30286
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30519,7 +30519,7 @@ var Group = class Group extends Object$1 {
|
|
|
30519
30519
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30520
30520
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30521
30521
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30522
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
30522
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30523
30523
|
let fetchResult;
|
|
30524
30524
|
try {
|
|
30525
30525
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31229,7 +31229,7 @@ var Group = class Group extends Object$1 {
|
|
|
31229
31229
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31230
31230
|
*/
|
|
31231
31231
|
static async fromJsonLd(json, options = {}) {
|
|
31232
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
31232
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31233
31233
|
try {
|
|
31234
31234
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
31235
31235
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32078,7 +32078,7 @@ var Link = class Link {
|
|
|
32078
32078
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32079
32079
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32080
32080
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32081
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
32081
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32082
32082
|
let fetchResult;
|
|
32083
32083
|
try {
|
|
32084
32084
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32383,7 +32383,7 @@ var Link = class Link {
|
|
|
32383
32383
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32384
32384
|
*/
|
|
32385
32385
|
static async fromJsonLd(json, options = {}) {
|
|
32386
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32386
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32387
32387
|
try {
|
|
32388
32388
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
32389
32389
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32769,7 +32769,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
32769
32769
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32770
32770
|
*/
|
|
32771
32771
|
static async fromJsonLd(json, options = {}) {
|
|
32772
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32772
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32773
32773
|
try {
|
|
32774
32774
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
32775
32775
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32935,7 +32935,7 @@ var Image = class Image extends Document {
|
|
|
32935
32935
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32936
32936
|
*/
|
|
32937
32937
|
static async fromJsonLd(json, options = {}) {
|
|
32938
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32938
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32939
32939
|
try {
|
|
32940
32940
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
32941
32941
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33089,7 +33089,7 @@ var Offer = class Offer extends Activity {
|
|
|
33089
33089
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33090
33090
|
*/
|
|
33091
33091
|
static async fromJsonLd(json, options = {}) {
|
|
33092
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33092
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33093
33093
|
try {
|
|
33094
33094
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
33095
33095
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33243,7 +33243,7 @@ var Invite = class Invite extends Offer {
|
|
|
33243
33243
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33244
33244
|
*/
|
|
33245
33245
|
static async fromJsonLd(json, options = {}) {
|
|
33246
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33246
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33247
33247
|
try {
|
|
33248
33248
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
33249
33249
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33396,7 +33396,7 @@ var Join = class Join extends Activity {
|
|
|
33396
33396
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33397
33397
|
*/
|
|
33398
33398
|
static async fromJsonLd(json, options = {}) {
|
|
33399
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33399
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33400
33400
|
try {
|
|
33401
33401
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
33402
33402
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33549,7 +33549,7 @@ var Leave = class Leave extends Activity {
|
|
|
33549
33549
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33550
33550
|
*/
|
|
33551
33551
|
static async fromJsonLd(json, options = {}) {
|
|
33552
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33552
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33553
33553
|
try {
|
|
33554
33554
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
33555
33555
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33706,7 +33706,7 @@ var Like = class Like extends Activity {
|
|
|
33706
33706
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33707
33707
|
*/
|
|
33708
33708
|
static async fromJsonLd(json, options = {}) {
|
|
33709
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33709
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33710
33710
|
try {
|
|
33711
33711
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
33712
33712
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33858,7 +33858,7 @@ var Listen = class Listen extends Activity {
|
|
|
33858
33858
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33859
33859
|
*/
|
|
33860
33860
|
static async fromJsonLd(json, options = {}) {
|
|
33861
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33861
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33862
33862
|
try {
|
|
33863
33863
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
33864
33864
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34013,7 +34013,7 @@ var Mention = class Mention extends Link {
|
|
|
34013
34013
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34014
34014
|
*/
|
|
34015
34015
|
static async fromJsonLd(json, options = {}) {
|
|
34016
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
34016
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34017
34017
|
try {
|
|
34018
34018
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
34019
34019
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34167,7 +34167,7 @@ var Move = class Move extends Activity {
|
|
|
34167
34167
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34168
34168
|
*/
|
|
34169
34169
|
static async fromJsonLd(json, options = {}) {
|
|
34170
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
34170
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34171
34171
|
try {
|
|
34172
34172
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
34173
34173
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34302,7 +34302,7 @@ var Note = class Note extends Object$1 {
|
|
|
34302
34302
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34303
34303
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34304
34304
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34305
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
34305
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34306
34306
|
let fetchResult;
|
|
34307
34307
|
try {
|
|
34308
34308
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34452,7 +34452,7 @@ var Note = class Note extends Object$1 {
|
|
|
34452
34452
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34453
34453
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34454
34454
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34455
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
34455
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34456
34456
|
let fetchResult;
|
|
34457
34457
|
try {
|
|
34458
34458
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34750,7 +34750,7 @@ var Note = class Note extends Object$1 {
|
|
|
34750
34750
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34751
34751
|
*/
|
|
34752
34752
|
static async fromJsonLd(json, options = {}) {
|
|
34753
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
34753
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34754
34754
|
try {
|
|
34755
34755
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
34756
34756
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34941,7 +34941,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
34941
34941
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34942
34942
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34943
34943
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34944
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
34944
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34945
34945
|
let fetchResult;
|
|
34946
34946
|
try {
|
|
34947
34947
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35224,7 +35224,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
35224
35224
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35225
35225
|
*/
|
|
35226
35226
|
static async fromJsonLd(json, options = {}) {
|
|
35227
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
35227
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35228
35228
|
try {
|
|
35229
35229
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
35230
35230
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35449,7 +35449,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
35449
35449
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35450
35450
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35451
35451
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35452
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
35452
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35453
35453
|
let fetchResult;
|
|
35454
35454
|
try {
|
|
35455
35455
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35755,7 +35755,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
35755
35755
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35756
35756
|
*/
|
|
35757
35757
|
static async fromJsonLd(json, options = {}) {
|
|
35758
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
35758
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35759
35759
|
try {
|
|
35760
35760
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
35761
35761
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36272,7 +36272,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36272
36272
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36273
36273
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36274
36274
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36275
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36275
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36276
36276
|
let fetchResult;
|
|
36277
36277
|
try {
|
|
36278
36278
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36459,7 +36459,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36459
36459
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36460
36460
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36461
36461
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36462
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36462
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36463
36463
|
let fetchResult;
|
|
36464
36464
|
try {
|
|
36465
36465
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36664,7 +36664,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36664
36664
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36665
36665
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36666
36666
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36667
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36667
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36668
36668
|
let fetchResult;
|
|
36669
36669
|
try {
|
|
36670
36670
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36818,7 +36818,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36818
36818
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36819
36819
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36820
36820
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36821
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36821
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36822
36822
|
let fetchResult;
|
|
36823
36823
|
try {
|
|
36824
36824
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36969,7 +36969,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36969
36969
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36970
36970
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36971
36971
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36972
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36972
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36973
36973
|
let fetchResult;
|
|
36974
36974
|
try {
|
|
36975
36975
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37105,7 +37105,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37105
37105
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37106
37106
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37107
37107
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37108
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37108
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37109
37109
|
let fetchResult;
|
|
37110
37110
|
try {
|
|
37111
37111
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37244,7 +37244,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37244
37244
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37245
37245
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37246
37246
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37247
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37247
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37248
37248
|
let fetchResult;
|
|
37249
37249
|
try {
|
|
37250
37250
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37381,7 +37381,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37381
37381
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37382
37382
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37383
37383
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37384
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37384
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37385
37385
|
let fetchResult;
|
|
37386
37386
|
try {
|
|
37387
37387
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37516,7 +37516,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37516
37516
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37517
37517
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37518
37518
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37519
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37519
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37520
37520
|
let fetchResult;
|
|
37521
37521
|
try {
|
|
37522
37522
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37651,7 +37651,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37651
37651
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37652
37652
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37653
37653
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37654
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37654
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37655
37655
|
let fetchResult;
|
|
37656
37656
|
try {
|
|
37657
37657
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37826,7 +37826,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37826
37826
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37827
37827
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37828
37828
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37829
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37829
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37830
37830
|
let fetchResult;
|
|
37831
37831
|
try {
|
|
37832
37832
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38004,7 +38004,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
38004
38004
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38005
38005
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38006
38006
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38007
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
38007
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38008
38008
|
let fetchResult;
|
|
38009
38009
|
try {
|
|
38010
38010
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38243,7 +38243,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
38243
38243
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38244
38244
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38245
38245
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38246
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
38246
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38247
38247
|
let fetchResult;
|
|
38248
38248
|
try {
|
|
38249
38249
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38953,7 +38953,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
38953
38953
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38954
38954
|
*/
|
|
38955
38955
|
static async fromJsonLd(json, options = {}) {
|
|
38956
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
38956
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38957
38957
|
try {
|
|
38958
38958
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
38959
38959
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39658,7 +39658,7 @@ var Page = class Page extends Document {
|
|
|
39658
39658
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39659
39659
|
*/
|
|
39660
39660
|
static async fromJsonLd(json, options = {}) {
|
|
39661
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
39661
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39662
39662
|
try {
|
|
39663
39663
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
39664
39664
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40057,7 +40057,7 @@ var Person = class Person extends Object$1 {
|
|
|
40057
40057
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40058
40058
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40059
40059
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40060
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40060
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40061
40061
|
let fetchResult;
|
|
40062
40062
|
try {
|
|
40063
40063
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40244,7 +40244,7 @@ var Person = class Person extends Object$1 {
|
|
|
40244
40244
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40245
40245
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40246
40246
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40247
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40247
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40248
40248
|
let fetchResult;
|
|
40249
40249
|
try {
|
|
40250
40250
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40449,7 +40449,7 @@ var Person = class Person extends Object$1 {
|
|
|
40449
40449
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40450
40450
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40451
40451
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40452
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40452
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40453
40453
|
let fetchResult;
|
|
40454
40454
|
try {
|
|
40455
40455
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40603,7 +40603,7 @@ var Person = class Person extends Object$1 {
|
|
|
40603
40603
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40604
40604
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40605
40605
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40606
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40606
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40607
40607
|
let fetchResult;
|
|
40608
40608
|
try {
|
|
40609
40609
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40754,7 +40754,7 @@ var Person = class Person extends Object$1 {
|
|
|
40754
40754
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40755
40755
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40756
40756
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40757
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40757
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40758
40758
|
let fetchResult;
|
|
40759
40759
|
try {
|
|
40760
40760
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40890,7 +40890,7 @@ var Person = class Person extends Object$1 {
|
|
|
40890
40890
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40891
40891
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40892
40892
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40893
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40893
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40894
40894
|
let fetchResult;
|
|
40895
40895
|
try {
|
|
40896
40896
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41029,7 +41029,7 @@ var Person = class Person extends Object$1 {
|
|
|
41029
41029
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41030
41030
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41031
41031
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41032
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41032
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41033
41033
|
let fetchResult;
|
|
41034
41034
|
try {
|
|
41035
41035
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41166,7 +41166,7 @@ var Person = class Person extends Object$1 {
|
|
|
41166
41166
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41167
41167
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41168
41168
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41169
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41169
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41170
41170
|
let fetchResult;
|
|
41171
41171
|
try {
|
|
41172
41172
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41301,7 +41301,7 @@ var Person = class Person extends Object$1 {
|
|
|
41301
41301
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41302
41302
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41303
41303
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41304
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41304
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41305
41305
|
let fetchResult;
|
|
41306
41306
|
try {
|
|
41307
41307
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41436,7 +41436,7 @@ var Person = class Person extends Object$1 {
|
|
|
41436
41436
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41437
41437
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41438
41438
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41439
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41439
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41440
41440
|
let fetchResult;
|
|
41441
41441
|
try {
|
|
41442
41442
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41611,7 +41611,7 @@ var Person = class Person extends Object$1 {
|
|
|
41611
41611
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41612
41612
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41613
41613
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41614
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41614
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41615
41615
|
let fetchResult;
|
|
41616
41616
|
try {
|
|
41617
41617
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41789,7 +41789,7 @@ var Person = class Person extends Object$1 {
|
|
|
41789
41789
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41790
41790
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41791
41791
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41792
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41792
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41793
41793
|
let fetchResult;
|
|
41794
41794
|
try {
|
|
41795
41795
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42028,7 +42028,7 @@ var Person = class Person extends Object$1 {
|
|
|
42028
42028
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42029
42029
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42030
42030
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42031
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
42031
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42032
42032
|
let fetchResult;
|
|
42033
42033
|
try {
|
|
42034
42034
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42738,7 +42738,7 @@ var Person = class Person extends Object$1 {
|
|
|
42738
42738
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42739
42739
|
*/
|
|
42740
42740
|
static async fromJsonLd(json, options = {}) {
|
|
42741
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
42741
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42742
42742
|
try {
|
|
42743
42743
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
42744
42744
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43620,7 +43620,7 @@ var Place = class Place extends Object$1 {
|
|
|
43620
43620
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43621
43621
|
*/
|
|
43622
43622
|
static async fromJsonLd(json, options = {}) {
|
|
43623
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
43623
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43624
43624
|
try {
|
|
43625
43625
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
43626
43626
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43849,7 +43849,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
43849
43849
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43850
43850
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43851
43851
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43852
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
43852
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43853
43853
|
let fetchResult;
|
|
43854
43854
|
try {
|
|
43855
43855
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44062,7 +44062,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
44062
44062
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44063
44063
|
*/
|
|
44064
44064
|
static async fromJsonLd(json, options = {}) {
|
|
44065
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
44065
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44066
44066
|
try {
|
|
44067
44067
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
44068
44068
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44268,7 +44268,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
44268
44268
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44269
44269
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44270
44270
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44271
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44271
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44272
44272
|
let fetchResult;
|
|
44273
44273
|
try {
|
|
44274
44274
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44403,7 +44403,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
44403
44403
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44404
44404
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44405
44405
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44406
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44406
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44407
44407
|
let fetchResult;
|
|
44408
44408
|
try {
|
|
44409
44409
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44554,7 +44554,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
44554
44554
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44555
44555
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44556
44556
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44557
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44557
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44558
44558
|
let fetchResult;
|
|
44559
44559
|
try {
|
|
44560
44560
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44704,7 +44704,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
44704
44704
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44705
44705
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44706
44706
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44707
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44707
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44708
44708
|
let fetchResult;
|
|
44709
44709
|
try {
|
|
44710
44710
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44968,7 +44968,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
44968
44968
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44969
44969
|
*/
|
|
44970
44970
|
static async fromJsonLd(json, options = {}) {
|
|
44971
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
44971
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44972
44972
|
try {
|
|
44973
44973
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
44974
44974
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45281,7 +45281,7 @@ var Read = class Read extends Activity {
|
|
|
45281
45281
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45282
45282
|
*/
|
|
45283
45283
|
static async fromJsonLd(json, options = {}) {
|
|
45284
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
45284
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45285
45285
|
try {
|
|
45286
45286
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
45287
45287
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45434,7 +45434,7 @@ var Reject = class Reject extends Activity {
|
|
|
45434
45434
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45435
45435
|
*/
|
|
45436
45436
|
static async fromJsonLd(json, options = {}) {
|
|
45437
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
45437
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45438
45438
|
try {
|
|
45439
45439
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
45440
45440
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45611,7 +45611,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
45611
45611
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45612
45612
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45613
45613
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45614
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45614
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45615
45615
|
let fetchResult;
|
|
45616
45616
|
try {
|
|
45617
45617
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45746,7 +45746,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
45746
45746
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45747
45747
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45748
45748
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45749
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45749
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45750
45750
|
let fetchResult;
|
|
45751
45751
|
try {
|
|
45752
45752
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45933,7 +45933,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
45933
45933
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45934
45934
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45935
45935
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45936
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45936
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45937
45937
|
let fetchResult;
|
|
45938
45938
|
try {
|
|
45939
45939
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46236,7 +46236,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
46236
46236
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46237
46237
|
*/
|
|
46238
46238
|
static async fromJsonLd(json, options = {}) {
|
|
46239
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
46239
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46240
46240
|
try {
|
|
46241
46241
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
46242
46242
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46470,7 +46470,7 @@ var Remove = class Remove extends Activity {
|
|
|
46470
46470
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46471
46471
|
*/
|
|
46472
46472
|
static async fromJsonLd(json, options = {}) {
|
|
46473
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
46473
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46474
46474
|
try {
|
|
46475
46475
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
46476
46476
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46869,7 +46869,7 @@ var Service = class Service extends Object$1 {
|
|
|
46869
46869
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46870
46870
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46871
46871
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46872
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
46872
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46873
46873
|
let fetchResult;
|
|
46874
46874
|
try {
|
|
46875
46875
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47056,7 +47056,7 @@ var Service = class Service extends Object$1 {
|
|
|
47056
47056
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47057
47057
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47058
47058
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47059
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47059
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47060
47060
|
let fetchResult;
|
|
47061
47061
|
try {
|
|
47062
47062
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47261,7 +47261,7 @@ var Service = class Service extends Object$1 {
|
|
|
47261
47261
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47262
47262
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47263
47263
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47264
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47264
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47265
47265
|
let fetchResult;
|
|
47266
47266
|
try {
|
|
47267
47267
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47415,7 +47415,7 @@ var Service = class Service extends Object$1 {
|
|
|
47415
47415
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47416
47416
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47417
47417
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47418
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47418
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47419
47419
|
let fetchResult;
|
|
47420
47420
|
try {
|
|
47421
47421
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47566,7 +47566,7 @@ var Service = class Service extends Object$1 {
|
|
|
47566
47566
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47567
47567
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47568
47568
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47569
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47569
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47570
47570
|
let fetchResult;
|
|
47571
47571
|
try {
|
|
47572
47572
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47702,7 +47702,7 @@ var Service = class Service extends Object$1 {
|
|
|
47702
47702
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47703
47703
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47704
47704
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47705
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47705
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47706
47706
|
let fetchResult;
|
|
47707
47707
|
try {
|
|
47708
47708
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47841,7 +47841,7 @@ var Service = class Service extends Object$1 {
|
|
|
47841
47841
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47842
47842
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47843
47843
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47844
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47844
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47845
47845
|
let fetchResult;
|
|
47846
47846
|
try {
|
|
47847
47847
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47978,7 +47978,7 @@ var Service = class Service extends Object$1 {
|
|
|
47978
47978
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47979
47979
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47980
47980
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47981
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47981
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47982
47982
|
let fetchResult;
|
|
47983
47983
|
try {
|
|
47984
47984
|
fetchResult = await documentLoader(url.href);
|
|
@@ -48113,7 +48113,7 @@ var Service = class Service extends Object$1 {
|
|
|
48113
48113
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
48114
48114
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
48115
48115
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
48116
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
48116
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
48117
48117
|
let fetchResult;
|
|
48118
48118
|
try {
|
|
48119
48119
|
fetchResult = await documentLoader(url.href);
|
|
@@ -48248,7 +48248,7 @@ var Service = class Service extends Object$1 {
|
|
|
48248
48248
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
48249
48249
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
48250
48250
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
48251
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
48251
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
48252
48252
|
let fetchResult;
|
|
48253
48253
|
try {
|
|
48254
48254
|
fetchResult = await documentLoader(url.href);
|
|
@@ -48423,7 +48423,7 @@ var Service = class Service extends Object$1 {
|
|
|
48423
48423
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
48424
48424
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
48425
48425
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
48426
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
48426
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
48427
48427
|
let fetchResult;
|
|
48428
48428
|
try {
|
|
48429
48429
|
fetchResult = await documentLoader(url.href);
|
|
@@ -48601,7 +48601,7 @@ var Service = class Service extends Object$1 {
|
|
|
48601
48601
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
48602
48602
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
48603
48603
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
48604
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
48604
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
48605
48605
|
let fetchResult;
|
|
48606
48606
|
try {
|
|
48607
48607
|
fetchResult = await documentLoader(url.href);
|
|
@@ -48840,7 +48840,7 @@ var Service = class Service extends Object$1 {
|
|
|
48840
48840
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
48841
48841
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
48842
48842
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
48843
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
48843
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
48844
48844
|
let fetchResult;
|
|
48845
48845
|
try {
|
|
48846
48846
|
fetchResult = await documentLoader(url.href);
|
|
@@ -49550,7 +49550,7 @@ var Service = class Service extends Object$1 {
|
|
|
49550
49550
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49551
49551
|
*/
|
|
49552
49552
|
static async fromJsonLd(json, options = {}) {
|
|
49553
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
49553
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49554
49554
|
try {
|
|
49555
49555
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
49556
49556
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50355,7 +50355,7 @@ var Source = class {
|
|
|
50355
50355
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50356
50356
|
*/
|
|
50357
50357
|
static async fromJsonLd(json, options = {}) {
|
|
50358
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
50358
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50359
50359
|
try {
|
|
50360
50360
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
50361
50361
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50545,7 +50545,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
50545
50545
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50546
50546
|
*/
|
|
50547
50547
|
static async fromJsonLd(json, options = {}) {
|
|
50548
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
50548
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50549
50549
|
try {
|
|
50550
50550
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
50551
50551
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50698,7 +50698,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
50698
50698
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50699
50699
|
*/
|
|
50700
50700
|
static async fromJsonLd(json, options = {}) {
|
|
50701
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
50701
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50702
50702
|
try {
|
|
50703
50703
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
50704
50704
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50940,7 +50940,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
50940
50940
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50941
50941
|
*/
|
|
50942
50942
|
static async fromJsonLd(json, options = {}) {
|
|
50943
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
50943
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50944
50944
|
try {
|
|
50945
50945
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
50946
50946
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51138,7 +51138,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
51138
51138
|
* @throws {TypeError} If the given `json` is invalid.
|
|
51139
51139
|
*/
|
|
51140
51140
|
static async fromJsonLd(json, options = {}) {
|
|
51141
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
51141
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
51142
51142
|
try {
|
|
51143
51143
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
51144
51144
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51305,7 +51305,7 @@ var Undo = class Undo extends Activity {
|
|
|
51305
51305
|
* @throws {TypeError} If the given `json` is invalid.
|
|
51306
51306
|
*/
|
|
51307
51307
|
static async fromJsonLd(json, options = {}) {
|
|
51308
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
51308
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
51309
51309
|
try {
|
|
51310
51310
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
51311
51311
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51520,7 +51520,7 @@ var Update = class Update extends Activity {
|
|
|
51520
51520
|
* @throws {TypeError} If the given `json` is invalid.
|
|
51521
51521
|
*/
|
|
51522
51522
|
static async fromJsonLd(json, options = {}) {
|
|
51523
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
51523
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
51524
51524
|
try {
|
|
51525
51525
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
51526
51526
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51686,7 +51686,7 @@ var Video = class Video extends Document {
|
|
|
51686
51686
|
* @throws {TypeError} If the given `json` is invalid.
|
|
51687
51687
|
*/
|
|
51688
51688
|
static async fromJsonLd(json, options = {}) {
|
|
51689
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
51689
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
51690
51690
|
try {
|
|
51691
51691
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
51692
51692
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51838,7 +51838,7 @@ var View = class View extends Activity {
|
|
|
51838
51838
|
* @throws {TypeError} If the given `json` is invalid.
|
|
51839
51839
|
*/
|
|
51840
51840
|
static async fromJsonLd(json, options = {}) {
|
|
51841
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
51841
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
51842
51842
|
try {
|
|
51843
51843
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
51844
51844
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|