@fedify/vocab 2.3.10 → 2.3.11-dev.2296
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-JjzTTxMW.mjs → actor-CF5WdFSo.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-BAIlMbeY.mjs → vocab-BI7riPro.mjs} +218 -218
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
|
@@ -843,7 +843,7 @@ var Object$1 = class Object$1 {
|
|
|
843
843
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
844
844
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
845
845
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
846
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
846
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
847
847
|
let fetchResult;
|
|
848
848
|
try {
|
|
849
849
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1002,7 +1002,7 @@ var Object$1 = class Object$1 {
|
|
|
1002
1002
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1003
1003
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1004
1004
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1005
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1005
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1006
1006
|
let fetchResult;
|
|
1007
1007
|
try {
|
|
1008
1008
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1239,7 +1239,7 @@ var Object$1 = class Object$1 {
|
|
|
1239
1239
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1240
1240
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1241
1241
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1242
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1242
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1243
1243
|
let fetchResult;
|
|
1244
1244
|
try {
|
|
1245
1245
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1448,7 +1448,7 @@ var Object$1 = class Object$1 {
|
|
|
1448
1448
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1449
1449
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1450
1450
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1451
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1451
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1452
1452
|
let fetchResult;
|
|
1453
1453
|
try {
|
|
1454
1454
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1623,7 +1623,7 @@ var Object$1 = class Object$1 {
|
|
|
1623
1623
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1624
1624
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1625
1625
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1626
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1626
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1627
1627
|
let fetchResult;
|
|
1628
1628
|
try {
|
|
1629
1629
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1766,7 +1766,7 @@ var Object$1 = class Object$1 {
|
|
|
1766
1766
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1767
1767
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1768
1768
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1769
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1769
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1770
1770
|
let fetchResult;
|
|
1771
1771
|
try {
|
|
1772
1772
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1973,7 +1973,7 @@ var Object$1 = class Object$1 {
|
|
|
1973
1973
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1974
1974
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1975
1975
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1976
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1976
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1977
1977
|
let fetchResult;
|
|
1978
1978
|
try {
|
|
1979
1979
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2180,7 +2180,7 @@ var Object$1 = class Object$1 {
|
|
|
2180
2180
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2181
2181
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2182
2182
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2183
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2183
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2184
2184
|
let fetchResult;
|
|
2185
2185
|
try {
|
|
2186
2186
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2379,7 +2379,7 @@ var Object$1 = class Object$1 {
|
|
|
2379
2379
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2380
2380
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2381
2381
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2382
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2382
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2383
2383
|
let fetchResult;
|
|
2384
2384
|
try {
|
|
2385
2385
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2578,7 +2578,7 @@ var Object$1 = class Object$1 {
|
|
|
2578
2578
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2579
2579
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2580
2580
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2581
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2581
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2582
2582
|
let fetchResult;
|
|
2583
2583
|
try {
|
|
2584
2584
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2782,7 +2782,7 @@ var Object$1 = class Object$1 {
|
|
|
2782
2782
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2783
2783
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2784
2784
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2785
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2785
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2786
2786
|
let fetchResult;
|
|
2787
2787
|
try {
|
|
2788
2788
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2915,7 +2915,7 @@ var Object$1 = class Object$1 {
|
|
|
2915
2915
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2916
2916
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2917
2917
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2918
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2918
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2919
2919
|
let fetchResult;
|
|
2920
2920
|
try {
|
|
2921
2921
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3054,7 +3054,7 @@ var Object$1 = class Object$1 {
|
|
|
3054
3054
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3055
3055
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3056
3056
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3057
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3057
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3058
3058
|
let fetchResult;
|
|
3059
3059
|
try {
|
|
3060
3060
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3193,7 +3193,7 @@ var Object$1 = class Object$1 {
|
|
|
3193
3193
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3194
3194
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3195
3195
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3196
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3196
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3197
3197
|
let fetchResult;
|
|
3198
3198
|
try {
|
|
3199
3199
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3350,7 +3350,7 @@ var Object$1 = class Object$1 {
|
|
|
3350
3350
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3351
3351
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3352
3352
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3353
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3353
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3354
3354
|
let fetchResult;
|
|
3355
3355
|
try {
|
|
3356
3356
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3515,7 +3515,7 @@ var Object$1 = class Object$1 {
|
|
|
3515
3515
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3516
3516
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3517
3517
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3518
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3518
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3519
3519
|
let fetchResult;
|
|
3520
3520
|
try {
|
|
3521
3521
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3704,7 +3704,7 @@ var Object$1 = class Object$1 {
|
|
|
3704
3704
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3705
3705
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3706
3706
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3707
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3707
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3708
3708
|
let fetchResult;
|
|
3709
3709
|
try {
|
|
3710
3710
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3893,7 +3893,7 @@ var Object$1 = class Object$1 {
|
|
|
3893
3893
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3894
3894
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3895
3895
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3896
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3896
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3897
3897
|
let fetchResult;
|
|
3898
3898
|
try {
|
|
3899
3899
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4082,7 +4082,7 @@ var Object$1 = class Object$1 {
|
|
|
4082
4082
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4083
4083
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4084
4084
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4085
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4085
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4086
4086
|
let fetchResult;
|
|
4087
4087
|
try {
|
|
4088
4088
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4308,7 +4308,7 @@ var Object$1 = class Object$1 {
|
|
|
4308
4308
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4309
4309
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4310
4310
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4311
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4311
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4312
4312
|
let fetchResult;
|
|
4313
4313
|
try {
|
|
4314
4314
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4520,7 +4520,7 @@ var Object$1 = class Object$1 {
|
|
|
4520
4520
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4521
4521
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4522
4522
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4523
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4523
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4524
4524
|
let fetchResult;
|
|
4525
4525
|
try {
|
|
4526
4526
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4653,7 +4653,7 @@ var Object$1 = class Object$1 {
|
|
|
4653
4653
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4654
4654
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4655
4655
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4656
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4656
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4657
4657
|
let fetchResult;
|
|
4658
4658
|
try {
|
|
4659
4659
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4786,7 +4786,7 @@ var Object$1 = class Object$1 {
|
|
|
4786
4786
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4787
4787
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4788
4788
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4789
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4789
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4790
4790
|
let fetchResult;
|
|
4791
4791
|
try {
|
|
4792
4792
|
fetchResult = await documentLoader(url.href);
|
|
@@ -5625,7 +5625,7 @@ var Object$1 = class Object$1 {
|
|
|
5625
5625
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5626
5626
|
*/
|
|
5627
5627
|
static async fromJsonLd(json, options = {}) {
|
|
5628
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
5628
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5629
5629
|
try {
|
|
5630
5630
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
5631
5631
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7291,7 +7291,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
7291
7291
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7292
7292
|
*/
|
|
7293
7293
|
static async fromJsonLd(json, options = {}) {
|
|
7294
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
7294
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7295
7295
|
try {
|
|
7296
7296
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
7297
7297
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7428,7 +7428,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7428
7428
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7429
7429
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7430
7430
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7431
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
7431
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7432
7432
|
let fetchResult;
|
|
7433
7433
|
try {
|
|
7434
7434
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7578,7 +7578,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7578
7578
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7579
7579
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7580
7580
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7581
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
7581
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7582
7582
|
let fetchResult;
|
|
7583
7583
|
try {
|
|
7584
7584
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7874,7 +7874,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7874
7874
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7875
7875
|
*/
|
|
7876
7876
|
static async fromJsonLd(json, options = {}) {
|
|
7877
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
7877
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7878
7878
|
try {
|
|
7879
7879
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
7880
7880
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8216,7 +8216,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8216
8216
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8217
8217
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8218
8218
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8219
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8219
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8220
8220
|
let fetchResult;
|
|
8221
8221
|
try {
|
|
8222
8222
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8453,7 +8453,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8453
8453
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8454
8454
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8455
8455
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8456
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8456
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8457
8457
|
let fetchResult;
|
|
8458
8458
|
try {
|
|
8459
8459
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8644,7 +8644,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8644
8644
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8645
8645
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8646
8646
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8647
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8647
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8648
8648
|
let fetchResult;
|
|
8649
8649
|
try {
|
|
8650
8650
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8841,7 +8841,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8841
8841
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8842
8842
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8843
8843
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8844
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8844
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8845
8845
|
let fetchResult;
|
|
8846
8846
|
try {
|
|
8847
8847
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9032,7 +9032,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
9032
9032
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9033
9033
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9034
9034
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9035
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
9035
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9036
9036
|
let fetchResult;
|
|
9037
9037
|
try {
|
|
9038
9038
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9225,7 +9225,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
9225
9225
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9226
9226
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9227
9227
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9228
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
9228
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9229
9229
|
let fetchResult;
|
|
9230
9230
|
try {
|
|
9231
9231
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9501,7 +9501,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
9501
9501
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9502
9502
|
*/
|
|
9503
9503
|
static async fromJsonLd(json, options = {}) {
|
|
9504
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
9504
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9505
9505
|
try {
|
|
9506
9506
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
9507
9507
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9867,7 +9867,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
9867
9867
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9868
9868
|
*/
|
|
9869
9869
|
static async fromJsonLd(json, options = {}) {
|
|
9870
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
9870
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9871
9871
|
try {
|
|
9872
9872
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
9873
9873
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10134,7 +10134,7 @@ var PropertyValue = class {
|
|
|
10134
10134
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10135
10135
|
*/
|
|
10136
10136
|
static async fromJsonLd(json, options = {}) {
|
|
10137
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
10137
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10138
10138
|
try {
|
|
10139
10139
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
10140
10140
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10428,7 +10428,7 @@ var Measure = class {
|
|
|
10428
10428
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10429
10429
|
*/
|
|
10430
10430
|
static async fromJsonLd(json, options = {}) {
|
|
10431
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
10431
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10432
10432
|
try {
|
|
10433
10433
|
const object = await this.__fromJsonLd__Measure__(json, span, options);
|
|
10434
10434
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10599,7 +10599,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10599
10599
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10600
10600
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10601
10601
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10602
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
10602
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10603
10603
|
let fetchResult;
|
|
10604
10604
|
try {
|
|
10605
10605
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10732,7 +10732,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10732
10732
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10733
10733
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10734
10734
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10735
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
10735
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10736
10736
|
let fetchResult;
|
|
10737
10737
|
try {
|
|
10738
10738
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10960,7 +10960,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10960
10960
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10961
10961
|
*/
|
|
10962
10962
|
static async fromJsonLd(json, options = {}) {
|
|
10963
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
10963
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10964
10964
|
try {
|
|
10965
10965
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
10966
10966
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11174,7 +11174,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
11174
11174
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11175
11175
|
*/
|
|
11176
11176
|
static async fromJsonLd(json, options = {}) {
|
|
11177
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
11177
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11178
11178
|
try {
|
|
11179
11179
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
11180
11180
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11459,7 +11459,7 @@ var InteractionPolicy = class {
|
|
|
11459
11459
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11460
11460
|
*/
|
|
11461
11461
|
static async fromJsonLd(json, options = {}) {
|
|
11462
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
11462
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11463
11463
|
try {
|
|
11464
11464
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
11465
11465
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11821,7 +11821,7 @@ var InteractionRule = class {
|
|
|
11821
11821
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11822
11822
|
*/
|
|
11823
11823
|
static async fromJsonLd(json, options = {}) {
|
|
11824
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
11824
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11825
11825
|
try {
|
|
11826
11826
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
11827
11827
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11993,7 +11993,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11993
11993
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11994
11994
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11995
11995
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11996
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
11996
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11997
11997
|
let fetchResult;
|
|
11998
11998
|
try {
|
|
11999
11999
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12126,7 +12126,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
12126
12126
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12127
12127
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12128
12128
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12129
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
12129
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12130
12130
|
let fetchResult;
|
|
12131
12131
|
try {
|
|
12132
12132
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12354,7 +12354,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
12354
12354
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12355
12355
|
*/
|
|
12356
12356
|
static async fromJsonLd(json, options = {}) {
|
|
12357
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
12357
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12358
12358
|
try {
|
|
12359
12359
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
12360
12360
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12567,7 +12567,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
12567
12567
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12568
12568
|
*/
|
|
12569
12569
|
static async fromJsonLd(json, options = {}) {
|
|
12570
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
12570
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12571
12571
|
try {
|
|
12572
12572
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
12573
12573
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12701,7 +12701,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12701
12701
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12702
12702
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12703
12703
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12704
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
12704
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12705
12705
|
let fetchResult;
|
|
12706
12706
|
try {
|
|
12707
12707
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12834,7 +12834,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12834
12834
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12835
12835
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12836
12836
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12837
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
12837
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12838
12838
|
let fetchResult;
|
|
12839
12839
|
try {
|
|
12840
12840
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13062,7 +13062,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
13062
13062
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13063
13063
|
*/
|
|
13064
13064
|
static async fromJsonLd(json, options = {}) {
|
|
13065
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
13065
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13066
13066
|
try {
|
|
13067
13067
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
13068
13068
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13275,7 +13275,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
13275
13275
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13276
13276
|
*/
|
|
13277
13277
|
static async fromJsonLd(json, options = {}) {
|
|
13278
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
13278
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13279
13279
|
try {
|
|
13280
13280
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
13281
13281
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13409,7 +13409,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
13409
13409
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13410
13410
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13411
13411
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13412
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
13412
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13413
13413
|
let fetchResult;
|
|
13414
13414
|
try {
|
|
13415
13415
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13541,7 +13541,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
13541
13541
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13542
13542
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13543
13543
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13544
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
13544
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13545
13545
|
let fetchResult;
|
|
13546
13546
|
try {
|
|
13547
13547
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13771,7 +13771,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
13771
13771
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13772
13772
|
*/
|
|
13773
13773
|
static async fromJsonLd(json, options = {}) {
|
|
13774
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
13774
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13775
13775
|
try {
|
|
13776
13776
|
const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
|
|
13777
13777
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14014,7 +14014,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
|
|
|
14014
14014
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14015
14015
|
*/
|
|
14016
14016
|
static async fromJsonLd(json, options = {}) {
|
|
14017
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
14017
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14018
14018
|
try {
|
|
14019
14019
|
const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
|
|
14020
14020
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14241,7 +14241,7 @@ var DidService = class {
|
|
|
14241
14241
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14242
14242
|
*/
|
|
14243
14243
|
static async fromJsonLd(json, options = {}) {
|
|
14244
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
14244
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14245
14245
|
try {
|
|
14246
14246
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
14247
14247
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14404,7 +14404,7 @@ var Export = class Export extends DidService {
|
|
|
14404
14404
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14405
14405
|
*/
|
|
14406
14406
|
static async fromJsonLd(json, options = {}) {
|
|
14407
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
14407
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14408
14408
|
try {
|
|
14409
14409
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
14410
14410
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14598,7 +14598,7 @@ var DataIntegrityProof = class {
|
|
|
14598
14598
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14599
14599
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14600
14600
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14601
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
14601
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14602
14602
|
let fetchResult;
|
|
14603
14603
|
try {
|
|
14604
14604
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14817,7 +14817,7 @@ var DataIntegrityProof = class {
|
|
|
14817
14817
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14818
14818
|
*/
|
|
14819
14819
|
static async fromJsonLd(json, options = {}) {
|
|
14820
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
14820
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14821
14821
|
try {
|
|
14822
14822
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
14823
14823
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15083,7 +15083,7 @@ var CryptographicKey = class {
|
|
|
15083
15083
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15084
15084
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15085
15085
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15086
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
15086
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15087
15087
|
let fetchResult;
|
|
15088
15088
|
try {
|
|
15089
15089
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15357,7 +15357,7 @@ var CryptographicKey = class {
|
|
|
15357
15357
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15358
15358
|
*/
|
|
15359
15359
|
static async fromJsonLd(json, options = {}) {
|
|
15360
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
15360
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15361
15361
|
try {
|
|
15362
15362
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
15363
15363
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15584,7 +15584,7 @@ var Multikey = class {
|
|
|
15584
15584
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15585
15585
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15586
15586
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15587
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
15587
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15588
15588
|
let fetchResult;
|
|
15589
15589
|
try {
|
|
15590
15590
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15864,7 +15864,7 @@ var Multikey = class {
|
|
|
15864
15864
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15865
15865
|
*/
|
|
15866
15866
|
static async fromJsonLd(json, options = {}) {
|
|
15867
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
15867
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15868
15868
|
try {
|
|
15869
15869
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
15870
15870
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16202,7 +16202,7 @@ var Agreement = class Agreement extends Object$1 {
|
|
|
16202
16202
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16203
16203
|
*/
|
|
16204
16204
|
static async fromJsonLd(json, options = {}) {
|
|
16205
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
16205
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16206
16206
|
try {
|
|
16207
16207
|
const object = await this.__fromJsonLd__Agreement__(json, span, options);
|
|
16208
16208
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16525,7 +16525,7 @@ var Commitment = class {
|
|
|
16525
16525
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16526
16526
|
*/
|
|
16527
16527
|
static async fromJsonLd(json, options = {}) {
|
|
16528
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
16528
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16529
16529
|
try {
|
|
16530
16530
|
const object = await this.__fromJsonLd__Commitment__(json, span, options);
|
|
16531
16531
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16926,7 +16926,7 @@ var Intent = class {
|
|
|
16926
16926
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16927
16927
|
*/
|
|
16928
16928
|
static async fromJsonLd(json, options = {}) {
|
|
16929
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
16929
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16930
16930
|
try {
|
|
16931
16931
|
const object = await this.__fromJsonLd__Intent__(json, span, options);
|
|
16932
16932
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17366,7 +17366,7 @@ var Proposal = class Proposal extends Object$1 {
|
|
|
17366
17366
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17367
17367
|
*/
|
|
17368
17368
|
static async fromJsonLd(json, options = {}) {
|
|
17369
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
17369
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17370
17370
|
try {
|
|
17371
17371
|
const object = await this.__fromJsonLd__Proposal__(json, span, options);
|
|
17372
17372
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17598,7 +17598,7 @@ var Accept = class Accept extends Activity {
|
|
|
17598
17598
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17599
17599
|
*/
|
|
17600
17600
|
static async fromJsonLd(json, options = {}) {
|
|
17601
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
17601
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17602
17602
|
try {
|
|
17603
17603
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
17604
17604
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17753,7 +17753,7 @@ var Add = class Add extends Activity {
|
|
|
17753
17753
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17754
17754
|
*/
|
|
17755
17755
|
static async fromJsonLd(json, options = {}) {
|
|
17756
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
17756
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17757
17757
|
try {
|
|
17758
17758
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
17759
17759
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17935,7 +17935,7 @@ var Announce = class Announce extends Activity {
|
|
|
17935
17935
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17936
17936
|
*/
|
|
17937
17937
|
static async fromJsonLd(json, options = {}) {
|
|
17938
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
17938
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17939
17939
|
try {
|
|
17940
17940
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
17941
17941
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18333,7 +18333,7 @@ var Application = class Application extends Object$1 {
|
|
|
18333
18333
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18334
18334
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18335
18335
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18336
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18336
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18337
18337
|
let fetchResult;
|
|
18338
18338
|
try {
|
|
18339
18339
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18520,7 +18520,7 @@ var Application = class Application extends Object$1 {
|
|
|
18520
18520
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18521
18521
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18522
18522
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18523
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18523
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18524
18524
|
let fetchResult;
|
|
18525
18525
|
try {
|
|
18526
18526
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18725,7 +18725,7 @@ var Application = class Application extends Object$1 {
|
|
|
18725
18725
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18726
18726
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18727
18727
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18728
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18728
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18729
18729
|
let fetchResult;
|
|
18730
18730
|
try {
|
|
18731
18731
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18879,7 +18879,7 @@ var Application = class Application extends Object$1 {
|
|
|
18879
18879
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18880
18880
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18881
18881
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18882
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18882
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18883
18883
|
let fetchResult;
|
|
18884
18884
|
try {
|
|
18885
18885
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19030,7 +19030,7 @@ var Application = class Application extends Object$1 {
|
|
|
19030
19030
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19031
19031
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19032
19032
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19033
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19033
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19034
19034
|
let fetchResult;
|
|
19035
19035
|
try {
|
|
19036
19036
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19166,7 +19166,7 @@ var Application = class Application extends Object$1 {
|
|
|
19166
19166
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19167
19167
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19168
19168
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19169
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19169
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19170
19170
|
let fetchResult;
|
|
19171
19171
|
try {
|
|
19172
19172
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19305,7 +19305,7 @@ var Application = class Application extends Object$1 {
|
|
|
19305
19305
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19306
19306
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19307
19307
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19308
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19308
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19309
19309
|
let fetchResult;
|
|
19310
19310
|
try {
|
|
19311
19311
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19442,7 +19442,7 @@ var Application = class Application extends Object$1 {
|
|
|
19442
19442
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19443
19443
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19444
19444
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19445
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19445
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19446
19446
|
let fetchResult;
|
|
19447
19447
|
try {
|
|
19448
19448
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19577,7 +19577,7 @@ var Application = class Application extends Object$1 {
|
|
|
19577
19577
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19578
19578
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19579
19579
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19580
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19580
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19581
19581
|
let fetchResult;
|
|
19582
19582
|
try {
|
|
19583
19583
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19712,7 +19712,7 @@ var Application = class Application extends Object$1 {
|
|
|
19712
19712
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19713
19713
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19714
19714
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19715
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19715
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19716
19716
|
let fetchResult;
|
|
19717
19717
|
try {
|
|
19718
19718
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19887,7 +19887,7 @@ var Application = class Application extends Object$1 {
|
|
|
19887
19887
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19888
19888
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19889
19889
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19890
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
19890
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19891
19891
|
let fetchResult;
|
|
19892
19892
|
try {
|
|
19893
19893
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20065,7 +20065,7 @@ var Application = class Application extends Object$1 {
|
|
|
20065
20065
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20066
20066
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20067
20067
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20068
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
20068
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20069
20069
|
let fetchResult;
|
|
20070
20070
|
try {
|
|
20071
20071
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20304,7 +20304,7 @@ var Application = class Application extends Object$1 {
|
|
|
20304
20304
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20305
20305
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20306
20306
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20307
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
20307
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20308
20308
|
let fetchResult;
|
|
20309
20309
|
try {
|
|
20310
20310
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21014,7 +21014,7 @@ var Application = class Application extends Object$1 {
|
|
|
21014
21014
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21015
21015
|
*/
|
|
21016
21016
|
static async fromJsonLd(json, options = {}) {
|
|
21017
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
21017
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21018
21018
|
try {
|
|
21019
21019
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
21020
21020
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21706,7 +21706,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
21706
21706
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21707
21707
|
*/
|
|
21708
21708
|
static async fromJsonLd(json, options = {}) {
|
|
21709
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
21709
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21710
21710
|
try {
|
|
21711
21711
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
21712
21712
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21862,7 +21862,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
21862
21862
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21863
21863
|
*/
|
|
21864
21864
|
static async fromJsonLd(json, options = {}) {
|
|
21865
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
21865
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21866
21866
|
try {
|
|
21867
21867
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
21868
21868
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21995,7 +21995,7 @@ var Article = class Article extends Object$1 {
|
|
|
21995
21995
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21996
21996
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21997
21997
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21998
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
21998
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21999
21999
|
let fetchResult;
|
|
22000
22000
|
try {
|
|
22001
22001
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22145,7 +22145,7 @@ var Article = class Article extends Object$1 {
|
|
|
22145
22145
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22146
22146
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22147
22147
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22148
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
22148
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22149
22149
|
let fetchResult;
|
|
22150
22150
|
try {
|
|
22151
22151
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22443,7 +22443,7 @@ var Article = class Article extends Object$1 {
|
|
|
22443
22443
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22444
22444
|
*/
|
|
22445
22445
|
static async fromJsonLd(json, options = {}) {
|
|
22446
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
22446
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22447
22447
|
try {
|
|
22448
22448
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
22449
22449
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22741,7 +22741,7 @@ var Document = class Document extends Object$1 {
|
|
|
22741
22741
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22742
22742
|
*/
|
|
22743
22743
|
static async fromJsonLd(json, options = {}) {
|
|
22744
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
22744
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22745
22745
|
try {
|
|
22746
22746
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
22747
22747
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22947,7 +22947,7 @@ var Audio = class Audio extends Document {
|
|
|
22947
22947
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22948
22948
|
*/
|
|
22949
22949
|
static async fromJsonLd(json, options = {}) {
|
|
22950
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
22950
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22951
22951
|
try {
|
|
22952
22952
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
22953
22953
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23099,7 +23099,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
23099
23099
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23100
23100
|
*/
|
|
23101
23101
|
static async fromJsonLd(json, options = {}) {
|
|
23102
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
23102
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23103
23103
|
try {
|
|
23104
23104
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
23105
23105
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23254,7 +23254,7 @@ var Block = class Block extends Ignore {
|
|
|
23254
23254
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23255
23255
|
*/
|
|
23256
23256
|
static async fromJsonLd(json, options = {}) {
|
|
23257
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
23257
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23258
23258
|
try {
|
|
23259
23259
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
23260
23260
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23521,7 +23521,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23521
23521
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23522
23522
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23523
23523
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23524
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23524
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23525
23525
|
let fetchResult;
|
|
23526
23526
|
try {
|
|
23527
23527
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23654,7 +23654,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23654
23654
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23655
23655
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23656
23656
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23657
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23657
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23658
23658
|
let fetchResult;
|
|
23659
23659
|
try {
|
|
23660
23660
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23787,7 +23787,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23787
23787
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23788
23788
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23789
23789
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23790
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23790
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23791
23791
|
let fetchResult;
|
|
23792
23792
|
try {
|
|
23793
23793
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23920,7 +23920,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23920
23920
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23921
23921
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23922
23922
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23923
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23923
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23924
23924
|
let fetchResult;
|
|
23925
23925
|
try {
|
|
23926
23926
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24064,7 +24064,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24064
24064
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24065
24065
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24066
24066
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24067
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24067
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24068
24068
|
let fetchResult;
|
|
24069
24069
|
try {
|
|
24070
24070
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24196,7 +24196,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24196
24196
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24197
24197
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24198
24198
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24199
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24199
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24200
24200
|
let fetchResult;
|
|
24201
24201
|
try {
|
|
24202
24202
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24328,7 +24328,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24328
24328
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24329
24329
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24330
24330
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24331
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24331
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24332
24332
|
let fetchResult;
|
|
24333
24333
|
try {
|
|
24334
24334
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24460,7 +24460,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24460
24460
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24461
24461
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24462
24462
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24463
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24463
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24464
24464
|
let fetchResult;
|
|
24465
24465
|
try {
|
|
24466
24466
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24592,7 +24592,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24592
24592
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24593
24593
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24594
24594
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24595
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24595
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24596
24596
|
let fetchResult;
|
|
24597
24597
|
try {
|
|
24598
24598
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24724,7 +24724,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24724
24724
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24725
24725
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24726
24726
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24727
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24727
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24728
24728
|
let fetchResult;
|
|
24729
24729
|
try {
|
|
24730
24730
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24856,7 +24856,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24856
24856
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24857
24857
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24858
24858
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24859
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24859
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24860
24860
|
let fetchResult;
|
|
24861
24861
|
try {
|
|
24862
24862
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24988,7 +24988,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
24988
24988
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24989
24989
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24990
24990
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24991
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24991
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24992
24992
|
let fetchResult;
|
|
24993
24993
|
try {
|
|
24994
24994
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25449,7 +25449,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
25449
25449
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25450
25450
|
*/
|
|
25451
25451
|
static async fromJsonLd(json, options = {}) {
|
|
25452
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
25452
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25453
25453
|
try {
|
|
25454
25454
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
25455
25455
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25997,7 +25997,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
25997
25997
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25998
25998
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25999
25999
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26000
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
26000
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26001
26001
|
let fetchResult;
|
|
26002
26002
|
try {
|
|
26003
26003
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26130,7 +26130,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
26130
26130
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26131
26131
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26132
26132
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26133
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
26133
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26134
26134
|
let fetchResult;
|
|
26135
26135
|
try {
|
|
26136
26136
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26262,7 +26262,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
26262
26262
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26263
26263
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26264
26264
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26265
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
26265
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26266
26266
|
let fetchResult;
|
|
26267
26267
|
try {
|
|
26268
26268
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26560,7 +26560,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
26560
26560
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26561
26561
|
*/
|
|
26562
26562
|
static async fromJsonLd(json, options = {}) {
|
|
26563
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
26563
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26564
26564
|
try {
|
|
26565
26565
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
26566
26566
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26821,7 +26821,7 @@ var Create = class Create extends Activity {
|
|
|
26821
26821
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26822
26822
|
*/
|
|
26823
26823
|
static async fromJsonLd(json, options = {}) {
|
|
26824
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
26824
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26825
26825
|
try {
|
|
26826
26826
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
26827
26827
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26999,7 +26999,7 @@ var Delete = class Delete extends Activity {
|
|
|
26999
26999
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27000
27000
|
*/
|
|
27001
27001
|
static async fromJsonLd(json, options = {}) {
|
|
27002
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
27002
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27003
27003
|
try {
|
|
27004
27004
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
27005
27005
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27154,7 +27154,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
27154
27154
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27155
27155
|
*/
|
|
27156
27156
|
static async fromJsonLd(json, options = {}) {
|
|
27157
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
27157
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27158
27158
|
try {
|
|
27159
27159
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
27160
27160
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27520,7 +27520,7 @@ var Endpoints = class {
|
|
|
27520
27520
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27521
27521
|
*/
|
|
27522
27522
|
static async fromJsonLd(json, options = {}) {
|
|
27523
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
27523
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27524
27524
|
try {
|
|
27525
27525
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
27526
27526
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27793,7 +27793,7 @@ var Event = class Event extends Object$1 {
|
|
|
27793
27793
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27794
27794
|
*/
|
|
27795
27795
|
static async fromJsonLd(json, options = {}) {
|
|
27796
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
27796
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27797
27797
|
try {
|
|
27798
27798
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
27799
27799
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27946,7 +27946,7 @@ var Flag = class Flag extends Activity {
|
|
|
27946
27946
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27947
27947
|
*/
|
|
27948
27948
|
static async fromJsonLd(json, options = {}) {
|
|
27949
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
27949
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27950
27950
|
try {
|
|
27951
27951
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
27952
27952
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28103,7 +28103,7 @@ var Follow = class Follow extends Activity {
|
|
|
28103
28103
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28104
28104
|
*/
|
|
28105
28105
|
static async fromJsonLd(json, options = {}) {
|
|
28106
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
28106
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28107
28107
|
try {
|
|
28108
28108
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
28109
28109
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28501,7 +28501,7 @@ var Group = class Group extends Object$1 {
|
|
|
28501
28501
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28502
28502
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28503
28503
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28504
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28504
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28505
28505
|
let fetchResult;
|
|
28506
28506
|
try {
|
|
28507
28507
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28688,7 +28688,7 @@ var Group = class Group extends Object$1 {
|
|
|
28688
28688
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28689
28689
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28690
28690
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28691
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28691
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28692
28692
|
let fetchResult;
|
|
28693
28693
|
try {
|
|
28694
28694
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28893,7 +28893,7 @@ var Group = class Group extends Object$1 {
|
|
|
28893
28893
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28894
28894
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28895
28895
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28896
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28896
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28897
28897
|
let fetchResult;
|
|
28898
28898
|
try {
|
|
28899
28899
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29047,7 +29047,7 @@ var Group = class Group extends Object$1 {
|
|
|
29047
29047
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29048
29048
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29049
29049
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29050
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29050
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29051
29051
|
let fetchResult;
|
|
29052
29052
|
try {
|
|
29053
29053
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29198,7 +29198,7 @@ var Group = class Group extends Object$1 {
|
|
|
29198
29198
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29199
29199
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29200
29200
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29201
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29201
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29202
29202
|
let fetchResult;
|
|
29203
29203
|
try {
|
|
29204
29204
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29334,7 +29334,7 @@ var Group = class Group extends Object$1 {
|
|
|
29334
29334
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29335
29335
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29336
29336
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29337
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29337
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29338
29338
|
let fetchResult;
|
|
29339
29339
|
try {
|
|
29340
29340
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29473,7 +29473,7 @@ var Group = class Group extends Object$1 {
|
|
|
29473
29473
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29474
29474
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29475
29475
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29476
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29476
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29477
29477
|
let fetchResult;
|
|
29478
29478
|
try {
|
|
29479
29479
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29610,7 +29610,7 @@ var Group = class Group extends Object$1 {
|
|
|
29610
29610
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29611
29611
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29612
29612
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29613
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29613
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29614
29614
|
let fetchResult;
|
|
29615
29615
|
try {
|
|
29616
29616
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29745,7 +29745,7 @@ var Group = class Group extends Object$1 {
|
|
|
29745
29745
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29746
29746
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29747
29747
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29748
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29748
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29749
29749
|
let fetchResult;
|
|
29750
29750
|
try {
|
|
29751
29751
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29880,7 +29880,7 @@ var Group = class Group extends Object$1 {
|
|
|
29880
29880
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29881
29881
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29882
29882
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29883
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
29883
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29884
29884
|
let fetchResult;
|
|
29885
29885
|
try {
|
|
29886
29886
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30055,7 +30055,7 @@ var Group = class Group extends Object$1 {
|
|
|
30055
30055
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30056
30056
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30057
30057
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30058
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
30058
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30059
30059
|
let fetchResult;
|
|
30060
30060
|
try {
|
|
30061
30061
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30233,7 +30233,7 @@ var Group = class Group extends Object$1 {
|
|
|
30233
30233
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30234
30234
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30235
30235
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30236
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
30236
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30237
30237
|
let fetchResult;
|
|
30238
30238
|
try {
|
|
30239
30239
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30472,7 +30472,7 @@ var Group = class Group extends Object$1 {
|
|
|
30472
30472
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30473
30473
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30474
30474
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30475
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
30475
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30476
30476
|
let fetchResult;
|
|
30477
30477
|
try {
|
|
30478
30478
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31182,7 +31182,7 @@ var Group = class Group extends Object$1 {
|
|
|
31182
31182
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31183
31183
|
*/
|
|
31184
31184
|
static async fromJsonLd(json, options = {}) {
|
|
31185
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
31185
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31186
31186
|
try {
|
|
31187
31187
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
31188
31188
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32030,7 +32030,7 @@ var Link = class Link {
|
|
|
32030
32030
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32031
32031
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32032
32032
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32033
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
32033
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32034
32034
|
let fetchResult;
|
|
32035
32035
|
try {
|
|
32036
32036
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32335,7 +32335,7 @@ var Link = class Link {
|
|
|
32335
32335
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32336
32336
|
*/
|
|
32337
32337
|
static async fromJsonLd(json, options = {}) {
|
|
32338
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32338
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32339
32339
|
try {
|
|
32340
32340
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
32341
32341
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32720,7 +32720,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
32720
32720
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32721
32721
|
*/
|
|
32722
32722
|
static async fromJsonLd(json, options = {}) {
|
|
32723
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32723
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32724
32724
|
try {
|
|
32725
32725
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
32726
32726
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32885,7 +32885,7 @@ var Image = class Image extends Document {
|
|
|
32885
32885
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32886
32886
|
*/
|
|
32887
32887
|
static async fromJsonLd(json, options = {}) {
|
|
32888
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32888
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32889
32889
|
try {
|
|
32890
32890
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
32891
32891
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33038,7 +33038,7 @@ var Offer = class Offer extends Activity {
|
|
|
33038
33038
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33039
33039
|
*/
|
|
33040
33040
|
static async fromJsonLd(json, options = {}) {
|
|
33041
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33041
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33042
33042
|
try {
|
|
33043
33043
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
33044
33044
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33191,7 +33191,7 @@ var Invite = class Invite extends Offer {
|
|
|
33191
33191
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33192
33192
|
*/
|
|
33193
33193
|
static async fromJsonLd(json, options = {}) {
|
|
33194
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33194
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33195
33195
|
try {
|
|
33196
33196
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
33197
33197
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33343,7 +33343,7 @@ var Join = class Join extends Activity {
|
|
|
33343
33343
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33344
33344
|
*/
|
|
33345
33345
|
static async fromJsonLd(json, options = {}) {
|
|
33346
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33346
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33347
33347
|
try {
|
|
33348
33348
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
33349
33349
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33495,7 +33495,7 @@ var Leave = class Leave extends Activity {
|
|
|
33495
33495
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33496
33496
|
*/
|
|
33497
33497
|
static async fromJsonLd(json, options = {}) {
|
|
33498
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33498
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33499
33499
|
try {
|
|
33500
33500
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
33501
33501
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33651,7 +33651,7 @@ var Like = class Like extends Activity {
|
|
|
33651
33651
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33652
33652
|
*/
|
|
33653
33653
|
static async fromJsonLd(json, options = {}) {
|
|
33654
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33654
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33655
33655
|
try {
|
|
33656
33656
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
33657
33657
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33802,7 +33802,7 @@ var Listen = class Listen extends Activity {
|
|
|
33802
33802
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33803
33803
|
*/
|
|
33804
33804
|
static async fromJsonLd(json, options = {}) {
|
|
33805
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33805
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33806
33806
|
try {
|
|
33807
33807
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
33808
33808
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33956,7 +33956,7 @@ var Mention = class Mention extends Link {
|
|
|
33956
33956
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33957
33957
|
*/
|
|
33958
33958
|
static async fromJsonLd(json, options = {}) {
|
|
33959
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33959
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33960
33960
|
try {
|
|
33961
33961
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
33962
33962
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34109,7 +34109,7 @@ var Move = class Move extends Activity {
|
|
|
34109
34109
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34110
34110
|
*/
|
|
34111
34111
|
static async fromJsonLd(json, options = {}) {
|
|
34112
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
34112
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34113
34113
|
try {
|
|
34114
34114
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
34115
34115
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34243,7 +34243,7 @@ var Note = class Note extends Object$1 {
|
|
|
34243
34243
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34244
34244
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34245
34245
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34246
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
34246
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34247
34247
|
let fetchResult;
|
|
34248
34248
|
try {
|
|
34249
34249
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34393,7 +34393,7 @@ var Note = class Note extends Object$1 {
|
|
|
34393
34393
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34394
34394
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34395
34395
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34396
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
34396
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34397
34397
|
let fetchResult;
|
|
34398
34398
|
try {
|
|
34399
34399
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34691,7 +34691,7 @@ var Note = class Note extends Object$1 {
|
|
|
34691
34691
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34692
34692
|
*/
|
|
34693
34693
|
static async fromJsonLd(json, options = {}) {
|
|
34694
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
34694
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34695
34695
|
try {
|
|
34696
34696
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
34697
34697
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34881,7 +34881,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
34881
34881
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34882
34882
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34883
34883
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34884
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
34884
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34885
34885
|
let fetchResult;
|
|
34886
34886
|
try {
|
|
34887
34887
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35164,7 +35164,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
35164
35164
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35165
35165
|
*/
|
|
35166
35166
|
static async fromJsonLd(json, options = {}) {
|
|
35167
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
35167
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35168
35168
|
try {
|
|
35169
35169
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
35170
35170
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35388,7 +35388,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
35388
35388
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35389
35389
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35390
35390
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35391
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
35391
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35392
35392
|
let fetchResult;
|
|
35393
35393
|
try {
|
|
35394
35394
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35694,7 +35694,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
35694
35694
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35695
35695
|
*/
|
|
35696
35696
|
static async fromJsonLd(json, options = {}) {
|
|
35697
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
35697
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35698
35698
|
try {
|
|
35699
35699
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
35700
35700
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36210,7 +36210,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36210
36210
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36211
36211
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36212
36212
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36213
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36213
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36214
36214
|
let fetchResult;
|
|
36215
36215
|
try {
|
|
36216
36216
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36397,7 +36397,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36397
36397
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36398
36398
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36399
36399
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36400
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36400
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36401
36401
|
let fetchResult;
|
|
36402
36402
|
try {
|
|
36403
36403
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36602,7 +36602,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36602
36602
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36603
36603
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36604
36604
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36605
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36605
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36606
36606
|
let fetchResult;
|
|
36607
36607
|
try {
|
|
36608
36608
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36756,7 +36756,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36756
36756
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36757
36757
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36758
36758
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36759
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36759
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36760
36760
|
let fetchResult;
|
|
36761
36761
|
try {
|
|
36762
36762
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36907,7 +36907,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36907
36907
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36908
36908
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36909
36909
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36910
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
36910
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36911
36911
|
let fetchResult;
|
|
36912
36912
|
try {
|
|
36913
36913
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37043,7 +37043,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37043
37043
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37044
37044
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37045
37045
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37046
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37046
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37047
37047
|
let fetchResult;
|
|
37048
37048
|
try {
|
|
37049
37049
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37182,7 +37182,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37182
37182
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37183
37183
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37184
37184
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37185
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37185
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37186
37186
|
let fetchResult;
|
|
37187
37187
|
try {
|
|
37188
37188
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37319,7 +37319,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37319
37319
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37320
37320
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37321
37321
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37322
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37322
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37323
37323
|
let fetchResult;
|
|
37324
37324
|
try {
|
|
37325
37325
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37454,7 +37454,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37454
37454
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37455
37455
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37456
37456
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37457
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37457
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37458
37458
|
let fetchResult;
|
|
37459
37459
|
try {
|
|
37460
37460
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37589,7 +37589,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37589
37589
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37590
37590
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37591
37591
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37592
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37592
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37593
37593
|
let fetchResult;
|
|
37594
37594
|
try {
|
|
37595
37595
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37764,7 +37764,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37764
37764
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37765
37765
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37766
37766
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37767
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37767
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37768
37768
|
let fetchResult;
|
|
37769
37769
|
try {
|
|
37770
37770
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37942,7 +37942,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
37942
37942
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37943
37943
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37944
37944
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37945
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37945
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37946
37946
|
let fetchResult;
|
|
37947
37947
|
try {
|
|
37948
37948
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38181,7 +38181,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
38181
38181
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38182
38182
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38183
38183
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38184
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
38184
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38185
38185
|
let fetchResult;
|
|
38186
38186
|
try {
|
|
38187
38187
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38891,7 +38891,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
38891
38891
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38892
38892
|
*/
|
|
38893
38893
|
static async fromJsonLd(json, options = {}) {
|
|
38894
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
38894
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38895
38895
|
try {
|
|
38896
38896
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
38897
38897
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39595,7 +39595,7 @@ var Page = class Page extends Document {
|
|
|
39595
39595
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39596
39596
|
*/
|
|
39597
39597
|
static async fromJsonLd(json, options = {}) {
|
|
39598
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
39598
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39599
39599
|
try {
|
|
39600
39600
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
39601
39601
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39993,7 +39993,7 @@ var Person = class Person extends Object$1 {
|
|
|
39993
39993
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39994
39994
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39995
39995
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39996
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
39996
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39997
39997
|
let fetchResult;
|
|
39998
39998
|
try {
|
|
39999
39999
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40180,7 +40180,7 @@ var Person = class Person extends Object$1 {
|
|
|
40180
40180
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40181
40181
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40182
40182
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40183
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40183
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40184
40184
|
let fetchResult;
|
|
40185
40185
|
try {
|
|
40186
40186
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40385,7 +40385,7 @@ var Person = class Person extends Object$1 {
|
|
|
40385
40385
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40386
40386
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40387
40387
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40388
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40388
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40389
40389
|
let fetchResult;
|
|
40390
40390
|
try {
|
|
40391
40391
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40539,7 +40539,7 @@ var Person = class Person extends Object$1 {
|
|
|
40539
40539
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40540
40540
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40541
40541
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40542
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40542
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40543
40543
|
let fetchResult;
|
|
40544
40544
|
try {
|
|
40545
40545
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40690,7 +40690,7 @@ var Person = class Person extends Object$1 {
|
|
|
40690
40690
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40691
40691
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40692
40692
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40693
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40693
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40694
40694
|
let fetchResult;
|
|
40695
40695
|
try {
|
|
40696
40696
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40826,7 +40826,7 @@ var Person = class Person extends Object$1 {
|
|
|
40826
40826
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40827
40827
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40828
40828
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40829
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40829
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40830
40830
|
let fetchResult;
|
|
40831
40831
|
try {
|
|
40832
40832
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40965,7 +40965,7 @@ var Person = class Person extends Object$1 {
|
|
|
40965
40965
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40966
40966
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40967
40967
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40968
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
40968
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40969
40969
|
let fetchResult;
|
|
40970
40970
|
try {
|
|
40971
40971
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41102,7 +41102,7 @@ var Person = class Person extends Object$1 {
|
|
|
41102
41102
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41103
41103
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41104
41104
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41105
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41105
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41106
41106
|
let fetchResult;
|
|
41107
41107
|
try {
|
|
41108
41108
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41237,7 +41237,7 @@ var Person = class Person extends Object$1 {
|
|
|
41237
41237
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41238
41238
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41239
41239
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41240
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41240
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41241
41241
|
let fetchResult;
|
|
41242
41242
|
try {
|
|
41243
41243
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41372,7 +41372,7 @@ var Person = class Person extends Object$1 {
|
|
|
41372
41372
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41373
41373
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41374
41374
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41375
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41375
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41376
41376
|
let fetchResult;
|
|
41377
41377
|
try {
|
|
41378
41378
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41547,7 +41547,7 @@ var Person = class Person extends Object$1 {
|
|
|
41547
41547
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41548
41548
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41549
41549
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41550
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41550
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41551
41551
|
let fetchResult;
|
|
41552
41552
|
try {
|
|
41553
41553
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41725,7 +41725,7 @@ var Person = class Person extends Object$1 {
|
|
|
41725
41725
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41726
41726
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41727
41727
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41728
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41728
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41729
41729
|
let fetchResult;
|
|
41730
41730
|
try {
|
|
41731
41731
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41964,7 +41964,7 @@ var Person = class Person extends Object$1 {
|
|
|
41964
41964
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41965
41965
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41966
41966
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41967
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41967
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41968
41968
|
let fetchResult;
|
|
41969
41969
|
try {
|
|
41970
41970
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42674,7 +42674,7 @@ var Person = class Person extends Object$1 {
|
|
|
42674
42674
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42675
42675
|
*/
|
|
42676
42676
|
static async fromJsonLd(json, options = {}) {
|
|
42677
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
42677
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42678
42678
|
try {
|
|
42679
42679
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
42680
42680
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43555,7 +43555,7 @@ var Place = class Place extends Object$1 {
|
|
|
43555
43555
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43556
43556
|
*/
|
|
43557
43557
|
static async fromJsonLd(json, options = {}) {
|
|
43558
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
43558
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43559
43559
|
try {
|
|
43560
43560
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
43561
43561
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43783,7 +43783,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
43783
43783
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43784
43784
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43785
43785
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43786
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
43786
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43787
43787
|
let fetchResult;
|
|
43788
43788
|
try {
|
|
43789
43789
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43996,7 +43996,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
43996
43996
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43997
43997
|
*/
|
|
43998
43998
|
static async fromJsonLd(json, options = {}) {
|
|
43999
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
43999
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44000
44000
|
try {
|
|
44001
44001
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
44002
44002
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44201,7 +44201,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
44201
44201
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44202
44202
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44203
44203
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44204
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44204
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44205
44205
|
let fetchResult;
|
|
44206
44206
|
try {
|
|
44207
44207
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44336,7 +44336,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
44336
44336
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44337
44337
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44338
44338
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44339
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44339
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44340
44340
|
let fetchResult;
|
|
44341
44341
|
try {
|
|
44342
44342
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44487,7 +44487,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
44487
44487
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44488
44488
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44489
44489
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44490
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44490
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44491
44491
|
let fetchResult;
|
|
44492
44492
|
try {
|
|
44493
44493
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44637,7 +44637,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
44637
44637
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44638
44638
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44639
44639
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44640
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44640
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44641
44641
|
let fetchResult;
|
|
44642
44642
|
try {
|
|
44643
44643
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44901,7 +44901,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
44901
44901
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44902
44902
|
*/
|
|
44903
44903
|
static async fromJsonLd(json, options = {}) {
|
|
44904
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
44904
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44905
44905
|
try {
|
|
44906
44906
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
44907
44907
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45213,7 +45213,7 @@ var Read = class Read extends Activity {
|
|
|
45213
45213
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45214
45214
|
*/
|
|
45215
45215
|
static async fromJsonLd(json, options = {}) {
|
|
45216
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
45216
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45217
45217
|
try {
|
|
45218
45218
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
45219
45219
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45365,7 +45365,7 @@ var Reject = class Reject extends Activity {
|
|
|
45365
45365
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45366
45366
|
*/
|
|
45367
45367
|
static async fromJsonLd(json, options = {}) {
|
|
45368
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
45368
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45369
45369
|
try {
|
|
45370
45370
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
45371
45371
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45541,7 +45541,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
45541
45541
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45542
45542
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45543
45543
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45544
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45544
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45545
45545
|
let fetchResult;
|
|
45546
45546
|
try {
|
|
45547
45547
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45676,7 +45676,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
45676
45676
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45677
45677
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45678
45678
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45679
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45679
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45680
45680
|
let fetchResult;
|
|
45681
45681
|
try {
|
|
45682
45682
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45863,7 +45863,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
45863
45863
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45864
45864
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45865
45865
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45866
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45866
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45867
45867
|
let fetchResult;
|
|
45868
45868
|
try {
|
|
45869
45869
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46166,7 +46166,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
46166
46166
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46167
46167
|
*/
|
|
46168
46168
|
static async fromJsonLd(json, options = {}) {
|
|
46169
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
46169
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46170
46170
|
try {
|
|
46171
46171
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
46172
46172
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46399,7 +46399,7 @@ var Remove = class Remove extends Activity {
|
|
|
46399
46399
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46400
46400
|
*/
|
|
46401
46401
|
static async fromJsonLd(json, options = {}) {
|
|
46402
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
46402
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46403
46403
|
try {
|
|
46404
46404
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
46405
46405
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46797,7 +46797,7 @@ var Service = class Service extends Object$1 {
|
|
|
46797
46797
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46798
46798
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46799
46799
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46800
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
46800
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46801
46801
|
let fetchResult;
|
|
46802
46802
|
try {
|
|
46803
46803
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46984,7 +46984,7 @@ var Service = class Service extends Object$1 {
|
|
|
46984
46984
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
46985
46985
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
46986
46986
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
46987
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
46987
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
46988
46988
|
let fetchResult;
|
|
46989
46989
|
try {
|
|
46990
46990
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47189,7 +47189,7 @@ var Service = class Service extends Object$1 {
|
|
|
47189
47189
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47190
47190
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47191
47191
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47192
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47192
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47193
47193
|
let fetchResult;
|
|
47194
47194
|
try {
|
|
47195
47195
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47343,7 +47343,7 @@ var Service = class Service extends Object$1 {
|
|
|
47343
47343
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47344
47344
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47345
47345
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47346
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47346
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47347
47347
|
let fetchResult;
|
|
47348
47348
|
try {
|
|
47349
47349
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47494,7 +47494,7 @@ var Service = class Service extends Object$1 {
|
|
|
47494
47494
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47495
47495
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47496
47496
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47497
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47497
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47498
47498
|
let fetchResult;
|
|
47499
47499
|
try {
|
|
47500
47500
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47630,7 +47630,7 @@ var Service = class Service extends Object$1 {
|
|
|
47630
47630
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47631
47631
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47632
47632
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47633
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47633
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47634
47634
|
let fetchResult;
|
|
47635
47635
|
try {
|
|
47636
47636
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47769,7 +47769,7 @@ var Service = class Service extends Object$1 {
|
|
|
47769
47769
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47770
47770
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47771
47771
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47772
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47772
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47773
47773
|
let fetchResult;
|
|
47774
47774
|
try {
|
|
47775
47775
|
fetchResult = await documentLoader(url.href);
|
|
@@ -47906,7 +47906,7 @@ var Service = class Service extends Object$1 {
|
|
|
47906
47906
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
47907
47907
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
47908
47908
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
47909
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
47909
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
47910
47910
|
let fetchResult;
|
|
47911
47911
|
try {
|
|
47912
47912
|
fetchResult = await documentLoader(url.href);
|
|
@@ -48041,7 +48041,7 @@ var Service = class Service extends Object$1 {
|
|
|
48041
48041
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
48042
48042
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
48043
48043
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
48044
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
48044
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
48045
48045
|
let fetchResult;
|
|
48046
48046
|
try {
|
|
48047
48047
|
fetchResult = await documentLoader(url.href);
|
|
@@ -48176,7 +48176,7 @@ var Service = class Service extends Object$1 {
|
|
|
48176
48176
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
48177
48177
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
48178
48178
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
48179
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
48179
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
48180
48180
|
let fetchResult;
|
|
48181
48181
|
try {
|
|
48182
48182
|
fetchResult = await documentLoader(url.href);
|
|
@@ -48351,7 +48351,7 @@ var Service = class Service extends Object$1 {
|
|
|
48351
48351
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
48352
48352
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
48353
48353
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
48354
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
48354
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
48355
48355
|
let fetchResult;
|
|
48356
48356
|
try {
|
|
48357
48357
|
fetchResult = await documentLoader(url.href);
|
|
@@ -48529,7 +48529,7 @@ var Service = class Service extends Object$1 {
|
|
|
48529
48529
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
48530
48530
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
48531
48531
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
48532
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
48532
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
48533
48533
|
let fetchResult;
|
|
48534
48534
|
try {
|
|
48535
48535
|
fetchResult = await documentLoader(url.href);
|
|
@@ -48768,7 +48768,7 @@ var Service = class Service extends Object$1 {
|
|
|
48768
48768
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
48769
48769
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
48770
48770
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
48771
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
48771
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
48772
48772
|
let fetchResult;
|
|
48773
48773
|
try {
|
|
48774
48774
|
fetchResult = await documentLoader(url.href);
|
|
@@ -49478,7 +49478,7 @@ var Service = class Service extends Object$1 {
|
|
|
49478
49478
|
* @throws {TypeError} If the given `json` is invalid.
|
|
49479
49479
|
*/
|
|
49480
49480
|
static async fromJsonLd(json, options = {}) {
|
|
49481
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
49481
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
49482
49482
|
try {
|
|
49483
49483
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
49484
49484
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50282,7 +50282,7 @@ var Source = class {
|
|
|
50282
50282
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50283
50283
|
*/
|
|
50284
50284
|
static async fromJsonLd(json, options = {}) {
|
|
50285
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
50285
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50286
50286
|
try {
|
|
50287
50287
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
50288
50288
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50471,7 +50471,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
50471
50471
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50472
50472
|
*/
|
|
50473
50473
|
static async fromJsonLd(json, options = {}) {
|
|
50474
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
50474
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50475
50475
|
try {
|
|
50476
50476
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
50477
50477
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50623,7 +50623,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
50623
50623
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50624
50624
|
*/
|
|
50625
50625
|
static async fromJsonLd(json, options = {}) {
|
|
50626
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
50626
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50627
50627
|
try {
|
|
50628
50628
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
50629
50629
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -50864,7 +50864,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
50864
50864
|
* @throws {TypeError} If the given `json` is invalid.
|
|
50865
50865
|
*/
|
|
50866
50866
|
static async fromJsonLd(json, options = {}) {
|
|
50867
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
50867
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
50868
50868
|
try {
|
|
50869
50869
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
50870
50870
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51061,7 +51061,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
51061
51061
|
* @throws {TypeError} If the given `json` is invalid.
|
|
51062
51062
|
*/
|
|
51063
51063
|
static async fromJsonLd(json, options = {}) {
|
|
51064
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
51064
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
51065
51065
|
try {
|
|
51066
51066
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
51067
51067
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51227,7 +51227,7 @@ var Undo = class Undo extends Activity {
|
|
|
51227
51227
|
* @throws {TypeError} If the given `json` is invalid.
|
|
51228
51228
|
*/
|
|
51229
51229
|
static async fromJsonLd(json, options = {}) {
|
|
51230
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
51230
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
51231
51231
|
try {
|
|
51232
51232
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
51233
51233
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51441,7 +51441,7 @@ var Update = class Update extends Activity {
|
|
|
51441
51441
|
* @throws {TypeError} If the given `json` is invalid.
|
|
51442
51442
|
*/
|
|
51443
51443
|
static async fromJsonLd(json, options = {}) {
|
|
51444
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
51444
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
51445
51445
|
try {
|
|
51446
51446
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
51447
51447
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51606,7 +51606,7 @@ var Video = class Video extends Document {
|
|
|
51606
51606
|
* @throws {TypeError} If the given `json` is invalid.
|
|
51607
51607
|
*/
|
|
51608
51608
|
static async fromJsonLd(json, options = {}) {
|
|
51609
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
51609
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
51610
51610
|
try {
|
|
51611
51611
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
51612
51612
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -51757,7 +51757,7 @@ var View = class View extends Activity {
|
|
|
51757
51757
|
* @throws {TypeError} If the given `json` is invalid.
|
|
51758
51758
|
*/
|
|
51759
51759
|
static async fromJsonLd(json, options = {}) {
|
|
51760
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
51760
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.11").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
51761
51761
|
try {
|
|
51762
51762
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
51763
51763
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|