@fedify/vocab 2.2.2 → 2.2.3-dev.1098
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 +217 -217
- package/dist/mod.js +217 -217
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/{deno-CSHUonV2.mjs → deno-CjKgjCYf.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-Cp7kqLh1.mjs → vocab-B1J4LLrk.mjs} +216 -216
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
|
@@ -776,7 +776,7 @@ var Object$1 = class Object$1 {
|
|
|
776
776
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
777
777
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
778
778
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
779
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
779
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
780
780
|
let fetchResult;
|
|
781
781
|
try {
|
|
782
782
|
fetchResult = await documentLoader(url.href);
|
|
@@ -922,7 +922,7 @@ var Object$1 = class Object$1 {
|
|
|
922
922
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
923
923
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
924
924
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
925
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
925
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
926
926
|
let fetchResult;
|
|
927
927
|
try {
|
|
928
928
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1134,7 +1134,7 @@ var Object$1 = class Object$1 {
|
|
|
1134
1134
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1135
1135
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1136
1136
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1137
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
1137
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1138
1138
|
let fetchResult;
|
|
1139
1139
|
try {
|
|
1140
1140
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1318,7 +1318,7 @@ var Object$1 = class Object$1 {
|
|
|
1318
1318
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1319
1319
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1320
1320
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1321
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
1321
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1322
1322
|
let fetchResult;
|
|
1323
1323
|
try {
|
|
1324
1324
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1480,7 +1480,7 @@ var Object$1 = class Object$1 {
|
|
|
1480
1480
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1481
1481
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1482
1482
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1483
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
1483
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1484
1484
|
let fetchResult;
|
|
1485
1485
|
try {
|
|
1486
1486
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1610,7 +1610,7 @@ var Object$1 = class Object$1 {
|
|
|
1610
1610
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1611
1611
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1612
1612
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1613
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
1613
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1614
1614
|
let fetchResult;
|
|
1615
1615
|
try {
|
|
1616
1616
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1776,7 +1776,7 @@ var Object$1 = class Object$1 {
|
|
|
1776
1776
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1777
1777
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1778
1778
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1779
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
1779
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1780
1780
|
let fetchResult;
|
|
1781
1781
|
try {
|
|
1782
1782
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1942,7 +1942,7 @@ var Object$1 = class Object$1 {
|
|
|
1942
1942
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1943
1943
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1944
1944
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1945
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
1945
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1946
1946
|
let fetchResult;
|
|
1947
1947
|
try {
|
|
1948
1948
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2116,7 +2116,7 @@ var Object$1 = class Object$1 {
|
|
|
2116
2116
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2117
2117
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2118
2118
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2119
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
2119
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2120
2120
|
let fetchResult;
|
|
2121
2121
|
try {
|
|
2122
2122
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2290,7 +2290,7 @@ var Object$1 = class Object$1 {
|
|
|
2290
2290
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2291
2291
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2292
2292
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2293
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
2293
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2294
2294
|
let fetchResult;
|
|
2295
2295
|
try {
|
|
2296
2296
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2469,7 +2469,7 @@ var Object$1 = class Object$1 {
|
|
|
2469
2469
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2470
2470
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2471
2471
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2472
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
2472
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2473
2473
|
let fetchResult;
|
|
2474
2474
|
try {
|
|
2475
2475
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2590,7 +2590,7 @@ var Object$1 = class Object$1 {
|
|
|
2590
2590
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2591
2591
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2592
2592
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2593
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
2593
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2594
2594
|
let fetchResult;
|
|
2595
2595
|
try {
|
|
2596
2596
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2717,7 +2717,7 @@ var Object$1 = class Object$1 {
|
|
|
2717
2717
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2718
2718
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2719
2719
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2720
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
2720
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2721
2721
|
let fetchResult;
|
|
2722
2722
|
try {
|
|
2723
2723
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2844,7 +2844,7 @@ var Object$1 = class Object$1 {
|
|
|
2844
2844
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2845
2845
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2846
2846
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2847
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
2847
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2848
2848
|
let fetchResult;
|
|
2849
2849
|
try {
|
|
2850
2850
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2989,7 +2989,7 @@ var Object$1 = class Object$1 {
|
|
|
2989
2989
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2990
2990
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2991
2991
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2992
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
2992
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2993
2993
|
let fetchResult;
|
|
2994
2994
|
try {
|
|
2995
2995
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3141,7 +3141,7 @@ var Object$1 = class Object$1 {
|
|
|
3141
3141
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3142
3142
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3143
3143
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3144
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
3144
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3145
3145
|
let fetchResult;
|
|
3146
3146
|
try {
|
|
3147
3147
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3305,7 +3305,7 @@ var Object$1 = class Object$1 {
|
|
|
3305
3305
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3306
3306
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3307
3307
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3308
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
3308
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3309
3309
|
let fetchResult;
|
|
3310
3310
|
try {
|
|
3311
3311
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3469,7 +3469,7 @@ var Object$1 = class Object$1 {
|
|
|
3469
3469
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3470
3470
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3471
3471
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3472
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
3472
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3473
3473
|
let fetchResult;
|
|
3474
3474
|
try {
|
|
3475
3475
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3633,7 +3633,7 @@ var Object$1 = class Object$1 {
|
|
|
3633
3633
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3634
3634
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3635
3635
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3636
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
3636
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3637
3637
|
let fetchResult;
|
|
3638
3638
|
try {
|
|
3639
3639
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3834,7 +3834,7 @@ var Object$1 = class Object$1 {
|
|
|
3834
3834
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3835
3835
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3836
3836
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3837
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
3837
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3838
3838
|
let fetchResult;
|
|
3839
3839
|
try {
|
|
3840
3840
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4021,7 +4021,7 @@ var Object$1 = class Object$1 {
|
|
|
4021
4021
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4022
4022
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4023
4023
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4024
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
4024
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4025
4025
|
let fetchResult;
|
|
4026
4026
|
try {
|
|
4027
4027
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4142,7 +4142,7 @@ var Object$1 = class Object$1 {
|
|
|
4142
4142
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4143
4143
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4144
4144
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4145
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
4145
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4146
4146
|
let fetchResult;
|
|
4147
4147
|
try {
|
|
4148
4148
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4263,7 +4263,7 @@ var Object$1 = class Object$1 {
|
|
|
4263
4263
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4264
4264
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4265
4265
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4266
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
4266
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4267
4267
|
let fetchResult;
|
|
4268
4268
|
try {
|
|
4269
4269
|
fetchResult = await documentLoader(url.href);
|
|
@@ -5090,7 +5090,7 @@ var Object$1 = class Object$1 {
|
|
|
5090
5090
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5091
5091
|
*/
|
|
5092
5092
|
static async fromJsonLd(json, options = {}) {
|
|
5093
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
5093
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5094
5094
|
try {
|
|
5095
5095
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
5096
5096
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6540,7 +6540,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
6540
6540
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6541
6541
|
*/
|
|
6542
6542
|
static async fromJsonLd(json, options = {}) {
|
|
6543
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
6543
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6544
6544
|
try {
|
|
6545
6545
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
6546
6546
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6674,7 +6674,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6674
6674
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6675
6675
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6676
6676
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6677
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
6677
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6678
6678
|
let fetchResult;
|
|
6679
6679
|
try {
|
|
6680
6680
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6812,7 +6812,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6812
6812
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6813
6813
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6814
6814
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6815
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
6815
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6816
6816
|
let fetchResult;
|
|
6817
6817
|
try {
|
|
6818
6818
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7096,7 +7096,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7096
7096
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7097
7097
|
*/
|
|
7098
7098
|
static async fromJsonLd(json, options = {}) {
|
|
7099
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
7099
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7100
7100
|
try {
|
|
7101
7101
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
7102
7102
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7421,7 +7421,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7421
7421
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7422
7422
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7423
7423
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7424
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
7424
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7425
7425
|
let fetchResult;
|
|
7426
7426
|
try {
|
|
7427
7427
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7633,7 +7633,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7633
7633
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7634
7634
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7635
7635
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7636
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
7636
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7637
7637
|
let fetchResult;
|
|
7638
7638
|
try {
|
|
7639
7639
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7799,7 +7799,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7799
7799
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7800
7800
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7801
7801
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7802
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
7802
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7803
7803
|
let fetchResult;
|
|
7804
7804
|
try {
|
|
7805
7805
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7971,7 +7971,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7971
7971
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7972
7972
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7973
7973
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7974
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
7974
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7975
7975
|
let fetchResult;
|
|
7976
7976
|
try {
|
|
7977
7977
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8137,7 +8137,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8137
8137
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8138
8138
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8139
8139
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8140
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8140
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8141
8141
|
let fetchResult;
|
|
8142
8142
|
try {
|
|
8143
8143
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8305,7 +8305,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8305
8305
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8306
8306
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8307
8307
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8308
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8308
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8309
8309
|
let fetchResult;
|
|
8310
8310
|
try {
|
|
8311
8311
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8556,7 +8556,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8556
8556
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8557
8557
|
*/
|
|
8558
8558
|
static async fromJsonLd(json, options = {}) {
|
|
8559
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
8559
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8560
8560
|
try {
|
|
8561
8561
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
8562
8562
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8889,7 +8889,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
8889
8889
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8890
8890
|
*/
|
|
8891
8891
|
static async fromJsonLd(json, options = {}) {
|
|
8892
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
8892
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8893
8893
|
try {
|
|
8894
8894
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
8895
8895
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9135,7 +9135,7 @@ var PropertyValue = class {
|
|
|
9135
9135
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9136
9136
|
*/
|
|
9137
9137
|
static async fromJsonLd(json, options = {}) {
|
|
9138
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
9138
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9139
9139
|
try {
|
|
9140
9140
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
9141
9141
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9400,7 +9400,7 @@ var Measure = class {
|
|
|
9400
9400
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9401
9401
|
*/
|
|
9402
9402
|
static async fromJsonLd(json, options = {}) {
|
|
9403
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
9403
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9404
9404
|
try {
|
|
9405
9405
|
const object = await this.__fromJsonLd__Measure__(json, span, options);
|
|
9406
9406
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9560,7 +9560,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9560
9560
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9561
9561
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9562
9562
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9563
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
9563
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9564
9564
|
let fetchResult;
|
|
9565
9565
|
try {
|
|
9566
9566
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9681,7 +9681,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9681
9681
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9682
9682
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9683
9683
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9684
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
9684
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9685
9685
|
let fetchResult;
|
|
9686
9686
|
try {
|
|
9687
9687
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9897,7 +9897,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9897
9897
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9898
9898
|
*/
|
|
9899
9899
|
static async fromJsonLd(json, options = {}) {
|
|
9900
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
9900
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9901
9901
|
try {
|
|
9902
9902
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
9903
9903
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10098,7 +10098,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
10098
10098
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10099
10099
|
*/
|
|
10100
10100
|
static async fromJsonLd(json, options = {}) {
|
|
10101
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
10101
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10102
10102
|
try {
|
|
10103
10103
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
10104
10104
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10362,7 +10362,7 @@ var InteractionPolicy = class {
|
|
|
10362
10362
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10363
10363
|
*/
|
|
10364
10364
|
static async fromJsonLd(json, options = {}) {
|
|
10365
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
10365
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10366
10366
|
try {
|
|
10367
10367
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
10368
10368
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10687,7 +10687,7 @@ var InteractionRule = class {
|
|
|
10687
10687
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10688
10688
|
*/
|
|
10689
10689
|
static async fromJsonLd(json, options = {}) {
|
|
10690
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
10690
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10691
10691
|
try {
|
|
10692
10692
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
10693
10693
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10848,7 +10848,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10848
10848
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10849
10849
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10850
10850
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10851
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
10851
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10852
10852
|
let fetchResult;
|
|
10853
10853
|
try {
|
|
10854
10854
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10969,7 +10969,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10969
10969
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10970
10970
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10971
10971
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10972
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
10972
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10973
10973
|
let fetchResult;
|
|
10974
10974
|
try {
|
|
10975
10975
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11185,7 +11185,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11185
11185
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11186
11186
|
*/
|
|
11187
11187
|
static async fromJsonLd(json, options = {}) {
|
|
11188
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
11188
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11189
11189
|
try {
|
|
11190
11190
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
11191
11191
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11385,7 +11385,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
11385
11385
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11386
11386
|
*/
|
|
11387
11387
|
static async fromJsonLd(json, options = {}) {
|
|
11388
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
11388
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11389
11389
|
try {
|
|
11390
11390
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
11391
11391
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11516,7 +11516,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11516
11516
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11517
11517
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11518
11518
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11519
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
11519
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11520
11520
|
let fetchResult;
|
|
11521
11521
|
try {
|
|
11522
11522
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11637,7 +11637,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11637
11637
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11638
11638
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11639
11639
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11640
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
11640
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11641
11641
|
let fetchResult;
|
|
11642
11642
|
try {
|
|
11643
11643
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11853,7 +11853,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11853
11853
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11854
11854
|
*/
|
|
11855
11855
|
static async fromJsonLd(json, options = {}) {
|
|
11856
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
11856
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11857
11857
|
try {
|
|
11858
11858
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
11859
11859
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12053,7 +12053,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
12053
12053
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12054
12054
|
*/
|
|
12055
12055
|
static async fromJsonLd(json, options = {}) {
|
|
12056
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12056
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12057
12057
|
try {
|
|
12058
12058
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
12059
12059
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12184,7 +12184,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
12184
12184
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12185
12185
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12186
12186
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12187
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
12187
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12188
12188
|
let fetchResult;
|
|
12189
12189
|
try {
|
|
12190
12190
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12304,7 +12304,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
12304
12304
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12305
12305
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12306
12306
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12307
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
12307
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12308
12308
|
let fetchResult;
|
|
12309
12309
|
try {
|
|
12310
12310
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12522,7 +12522,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
12522
12522
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12523
12523
|
*/
|
|
12524
12524
|
static async fromJsonLd(json, options = {}) {
|
|
12525
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12525
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12526
12526
|
try {
|
|
12527
12527
|
const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
|
|
12528
12528
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12752,7 +12752,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
|
|
|
12752
12752
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12753
12753
|
*/
|
|
12754
12754
|
static async fromJsonLd(json, options = {}) {
|
|
12755
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12755
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12756
12756
|
try {
|
|
12757
12757
|
const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
|
|
12758
12758
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12958,7 +12958,7 @@ var DidService = class {
|
|
|
12958
12958
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12959
12959
|
*/
|
|
12960
12960
|
static async fromJsonLd(json, options = {}) {
|
|
12961
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12961
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12962
12962
|
try {
|
|
12963
12963
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
12964
12964
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13114,7 +13114,7 @@ var Export = class Export extends DidService {
|
|
|
13114
13114
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13115
13115
|
*/
|
|
13116
13116
|
static async fromJsonLd(json, options = {}) {
|
|
13117
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13117
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13118
13118
|
try {
|
|
13119
13119
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
13120
13120
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13287,7 +13287,7 @@ var DataIntegrityProof = class {
|
|
|
13287
13287
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13288
13288
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13289
13289
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13290
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
13290
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13291
13291
|
let fetchResult;
|
|
13292
13292
|
try {
|
|
13293
13293
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13506,7 +13506,7 @@ var DataIntegrityProof = class {
|
|
|
13506
13506
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13507
13507
|
*/
|
|
13508
13508
|
static async fromJsonLd(json, options = {}) {
|
|
13509
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13509
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13510
13510
|
try {
|
|
13511
13511
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
13512
13512
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13730,7 +13730,7 @@ var CryptographicKey = class {
|
|
|
13730
13730
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13731
13731
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13732
13732
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13733
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
13733
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13734
13734
|
let fetchResult;
|
|
13735
13735
|
try {
|
|
13736
13736
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13992,7 +13992,7 @@ var CryptographicKey = class {
|
|
|
13992
13992
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13993
13993
|
*/
|
|
13994
13994
|
static async fromJsonLd(json, options = {}) {
|
|
13995
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13995
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13996
13996
|
try {
|
|
13997
13997
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
13998
13998
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14189,7 +14189,7 @@ var Multikey = class {
|
|
|
14189
14189
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14190
14190
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14191
14191
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14192
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
14192
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14193
14193
|
let fetchResult;
|
|
14194
14194
|
try {
|
|
14195
14195
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14457,7 +14457,7 @@ var Multikey = class {
|
|
|
14457
14457
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14458
14458
|
*/
|
|
14459
14459
|
static async fromJsonLd(json, options = {}) {
|
|
14460
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
14460
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14461
14461
|
try {
|
|
14462
14462
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
14463
14463
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14845,7 +14845,7 @@ var Intent = class {
|
|
|
14845
14845
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14846
14846
|
*/
|
|
14847
14847
|
static async fromJsonLd(json, options = {}) {
|
|
14848
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
14848
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14849
14849
|
try {
|
|
14850
14850
|
const object = await this.__fromJsonLd__Intent__(json, span, options);
|
|
14851
14851
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15262,7 +15262,7 @@ var Proposal = class Proposal extends Object$1 {
|
|
|
15262
15262
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15263
15263
|
*/
|
|
15264
15264
|
static async fromJsonLd(json, options = {}) {
|
|
15265
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
15265
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15266
15266
|
try {
|
|
15267
15267
|
const object = await this.__fromJsonLd__Proposal__(json, span, options);
|
|
15268
15268
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15475,7 +15475,7 @@ var Accept = class Accept extends Activity {
|
|
|
15475
15475
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15476
15476
|
*/
|
|
15477
15477
|
static async fromJsonLd(json, options = {}) {
|
|
15478
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
15478
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15479
15479
|
try {
|
|
15480
15480
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
15481
15481
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15627,7 +15627,7 @@ var Add = class Add extends Activity {
|
|
|
15627
15627
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15628
15628
|
*/
|
|
15629
15629
|
static async fromJsonLd(json, options = {}) {
|
|
15630
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
15630
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15631
15631
|
try {
|
|
15632
15632
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
15633
15633
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15806,7 +15806,7 @@ var Announce = class Announce extends Activity {
|
|
|
15806
15806
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15807
15807
|
*/
|
|
15808
15808
|
static async fromJsonLd(json, options = {}) {
|
|
15809
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
15809
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15810
15810
|
try {
|
|
15811
15811
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
15812
15812
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16201,7 +16201,7 @@ var Application = class Application extends Object$1 {
|
|
|
16201
16201
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16202
16202
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16203
16203
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16204
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
16204
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16205
16205
|
let fetchResult;
|
|
16206
16206
|
try {
|
|
16207
16207
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16363,7 +16363,7 @@ var Application = class Application extends Object$1 {
|
|
|
16363
16363
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16364
16364
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16365
16365
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16366
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
16366
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16367
16367
|
let fetchResult;
|
|
16368
16368
|
try {
|
|
16369
16369
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16543,7 +16543,7 @@ var Application = class Application extends Object$1 {
|
|
|
16543
16543
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16544
16544
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16545
16545
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16546
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
16546
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16547
16547
|
let fetchResult;
|
|
16548
16548
|
try {
|
|
16549
16549
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16685,7 +16685,7 @@ var Application = class Application extends Object$1 {
|
|
|
16685
16685
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16686
16686
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16687
16687
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16688
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
16688
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16689
16689
|
let fetchResult;
|
|
16690
16690
|
try {
|
|
16691
16691
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16824,7 +16824,7 @@ var Application = class Application extends Object$1 {
|
|
|
16824
16824
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16825
16825
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16826
16826
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16827
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
16827
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16828
16828
|
let fetchResult;
|
|
16829
16829
|
try {
|
|
16830
16830
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16948,7 +16948,7 @@ var Application = class Application extends Object$1 {
|
|
|
16948
16948
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16949
16949
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16950
16950
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16951
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
16951
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16952
16952
|
let fetchResult;
|
|
16953
16953
|
try {
|
|
16954
16954
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17075,7 +17075,7 @@ var Application = class Application extends Object$1 {
|
|
|
17075
17075
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17076
17076
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17077
17077
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17078
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17078
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17079
17079
|
let fetchResult;
|
|
17080
17080
|
try {
|
|
17081
17081
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17200,7 +17200,7 @@ var Application = class Application extends Object$1 {
|
|
|
17200
17200
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17201
17201
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17202
17202
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17203
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17203
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17204
17204
|
let fetchResult;
|
|
17205
17205
|
try {
|
|
17206
17206
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17323,7 +17323,7 @@ var Application = class Application extends Object$1 {
|
|
|
17323
17323
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17324
17324
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17325
17325
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17326
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17326
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17327
17327
|
let fetchResult;
|
|
17328
17328
|
try {
|
|
17329
17329
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17446,7 +17446,7 @@ var Application = class Application extends Object$1 {
|
|
|
17446
17446
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17447
17447
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17448
17448
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17449
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17449
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17450
17450
|
let fetchResult;
|
|
17451
17451
|
try {
|
|
17452
17452
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17608,7 +17608,7 @@ var Application = class Application extends Object$1 {
|
|
|
17608
17608
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17609
17609
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17610
17610
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17611
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17611
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17612
17612
|
let fetchResult;
|
|
17613
17613
|
try {
|
|
17614
17614
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17774,7 +17774,7 @@ var Application = class Application extends Object$1 {
|
|
|
17774
17774
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17775
17775
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17776
17776
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17777
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17777
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17778
17778
|
let fetchResult;
|
|
17779
17779
|
try {
|
|
17780
17780
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17988,7 +17988,7 @@ var Application = class Application extends Object$1 {
|
|
|
17988
17988
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17989
17989
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17990
17990
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17991
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17991
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17992
17992
|
let fetchResult;
|
|
17993
17993
|
try {
|
|
17994
17994
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18673,7 +18673,7 @@ var Application = class Application extends Object$1 {
|
|
|
18673
18673
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18674
18674
|
*/
|
|
18675
18675
|
static async fromJsonLd(json, options = {}) {
|
|
18676
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
18676
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18677
18677
|
try {
|
|
18678
18678
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
18679
18679
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19261,7 +19261,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
19261
19261
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19262
19262
|
*/
|
|
19263
19263
|
static async fromJsonLd(json, options = {}) {
|
|
19264
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
19264
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19265
19265
|
try {
|
|
19266
19266
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
19267
19267
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19414,7 +19414,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
19414
19414
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19415
19415
|
*/
|
|
19416
19416
|
static async fromJsonLd(json, options = {}) {
|
|
19417
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
19417
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19418
19418
|
try {
|
|
19419
19419
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
19420
19420
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19544,7 +19544,7 @@ var Article = class Article extends Object$1 {
|
|
|
19544
19544
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19545
19545
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19546
19546
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19547
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
19547
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19548
19548
|
let fetchResult;
|
|
19549
19549
|
try {
|
|
19550
19550
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19682,7 +19682,7 @@ var Article = class Article extends Object$1 {
|
|
|
19682
19682
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19683
19683
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19684
19684
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19685
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
19685
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19686
19686
|
let fetchResult;
|
|
19687
19687
|
try {
|
|
19688
19688
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19968,7 +19968,7 @@ var Article = class Article extends Object$1 {
|
|
|
19968
19968
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19969
19969
|
*/
|
|
19970
19970
|
static async fromJsonLd(json, options = {}) {
|
|
19971
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
19971
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19972
19972
|
try {
|
|
19973
19973
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
19974
19974
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20249,7 +20249,7 @@ var Document = class Document extends Object$1 {
|
|
|
20249
20249
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20250
20250
|
*/
|
|
20251
20251
|
static async fromJsonLd(json, options = {}) {
|
|
20252
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
20252
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20253
20253
|
try {
|
|
20254
20254
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
20255
20255
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20444,7 +20444,7 @@ var Audio = class Audio extends Document {
|
|
|
20444
20444
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20445
20445
|
*/
|
|
20446
20446
|
static async fromJsonLd(json, options = {}) {
|
|
20447
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
20447
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20448
20448
|
try {
|
|
20449
20449
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
20450
20450
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20593,7 +20593,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
20593
20593
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20594
20594
|
*/
|
|
20595
20595
|
static async fromJsonLd(json, options = {}) {
|
|
20596
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
20596
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20597
20597
|
try {
|
|
20598
20598
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
20599
20599
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20745,7 +20745,7 @@ var Block = class Block extends Ignore {
|
|
|
20745
20745
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20746
20746
|
*/
|
|
20747
20747
|
static async fromJsonLd(json, options = {}) {
|
|
20748
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
20748
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20749
20749
|
try {
|
|
20750
20750
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
20751
20751
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21009,7 +21009,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21009
21009
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21010
21010
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21011
21011
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21012
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
21012
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21013
21013
|
let fetchResult;
|
|
21014
21014
|
try {
|
|
21015
21015
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21130,7 +21130,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21130
21130
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21131
21131
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21132
21132
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21133
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
21133
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21134
21134
|
let fetchResult;
|
|
21135
21135
|
try {
|
|
21136
21136
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21251,7 +21251,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21251
21251
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21252
21252
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21253
21253
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21254
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
21254
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21255
21255
|
let fetchResult;
|
|
21256
21256
|
try {
|
|
21257
21257
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21372,7 +21372,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21372
21372
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21373
21373
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21374
21374
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21375
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
21375
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21376
21376
|
let fetchResult;
|
|
21377
21377
|
try {
|
|
21378
21378
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21503,7 +21503,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21503
21503
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21504
21504
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21505
21505
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21506
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
21506
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21507
21507
|
let fetchResult;
|
|
21508
21508
|
try {
|
|
21509
21509
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21623,7 +21623,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21623
21623
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21624
21624
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21625
21625
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21626
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
21626
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21627
21627
|
let fetchResult;
|
|
21628
21628
|
try {
|
|
21629
21629
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21743,7 +21743,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21743
21743
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21744
21744
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21745
21745
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21746
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
21746
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21747
21747
|
let fetchResult;
|
|
21748
21748
|
try {
|
|
21749
21749
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21863,7 +21863,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21863
21863
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21864
21864
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21865
21865
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21866
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
21866
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21867
21867
|
let fetchResult;
|
|
21868
21868
|
try {
|
|
21869
21869
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21983,7 +21983,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21983
21983
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21984
21984
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21985
21985
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21986
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
21986
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21987
21987
|
let fetchResult;
|
|
21988
21988
|
try {
|
|
21989
21989
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22103,7 +22103,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22103
22103
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22104
22104
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22105
22105
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22106
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22106
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22107
22107
|
let fetchResult;
|
|
22108
22108
|
try {
|
|
22109
22109
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22223,7 +22223,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22223
22223
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22224
22224
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22225
22225
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22226
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22226
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22227
22227
|
let fetchResult;
|
|
22228
22228
|
try {
|
|
22229
22229
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22343,7 +22343,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22343
22343
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22344
22344
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22345
22345
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22346
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22346
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22347
22347
|
let fetchResult;
|
|
22348
22348
|
try {
|
|
22349
22349
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22792,7 +22792,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22792
22792
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22793
22793
|
*/
|
|
22794
22794
|
static async fromJsonLd(json, options = {}) {
|
|
22795
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
22795
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22796
22796
|
try {
|
|
22797
22797
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
22798
22798
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23272,7 +23272,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
23272
23272
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23273
23273
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23274
23274
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23275
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23275
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23276
23276
|
let fetchResult;
|
|
23277
23277
|
try {
|
|
23278
23278
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23393,7 +23393,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
23393
23393
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23394
23394
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23395
23395
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23396
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23396
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23397
23397
|
let fetchResult;
|
|
23398
23398
|
try {
|
|
23399
23399
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23513,7 +23513,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
23513
23513
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23514
23514
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23515
23515
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23516
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23516
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23517
23517
|
let fetchResult;
|
|
23518
23518
|
try {
|
|
23519
23519
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23799,7 +23799,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
23799
23799
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23800
23800
|
*/
|
|
23801
23801
|
static async fromJsonLd(json, options = {}) {
|
|
23802
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
23802
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23803
23803
|
try {
|
|
23804
23804
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
23805
23805
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24042,7 +24042,7 @@ var Create = class Create extends Activity {
|
|
|
24042
24042
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24043
24043
|
*/
|
|
24044
24044
|
static async fromJsonLd(json, options = {}) {
|
|
24045
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
24045
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24046
24046
|
try {
|
|
24047
24047
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
24048
24048
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24217,7 +24217,7 @@ var Delete = class Delete extends Activity {
|
|
|
24217
24217
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24218
24218
|
*/
|
|
24219
24219
|
static async fromJsonLd(json, options = {}) {
|
|
24220
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
24220
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24221
24221
|
try {
|
|
24222
24222
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
24223
24223
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24369,7 +24369,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
24369
24369
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24370
24370
|
*/
|
|
24371
24371
|
static async fromJsonLd(json, options = {}) {
|
|
24372
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
24372
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24373
24373
|
try {
|
|
24374
24374
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
24375
24375
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24714,7 +24714,7 @@ var Endpoints = class {
|
|
|
24714
24714
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24715
24715
|
*/
|
|
24716
24716
|
static async fromJsonLd(json, options = {}) {
|
|
24717
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
24717
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24718
24718
|
try {
|
|
24719
24719
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
24720
24720
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24960,7 +24960,7 @@ var Event = class Event extends Object$1 {
|
|
|
24960
24960
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24961
24961
|
*/
|
|
24962
24962
|
static async fromJsonLd(json, options = {}) {
|
|
24963
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
24963
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24964
24964
|
try {
|
|
24965
24965
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
24966
24966
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25110,7 +25110,7 @@ var Flag = class Flag extends Activity {
|
|
|
25110
25110
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25111
25111
|
*/
|
|
25112
25112
|
static async fromJsonLd(json, options = {}) {
|
|
25113
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25113
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25114
25114
|
try {
|
|
25115
25115
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
25116
25116
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25264,7 +25264,7 @@ var Follow = class Follow extends Activity {
|
|
|
25264
25264
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25265
25265
|
*/
|
|
25266
25266
|
static async fromJsonLd(json, options = {}) {
|
|
25267
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25267
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25268
25268
|
try {
|
|
25269
25269
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
25270
25270
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25659,7 +25659,7 @@ var Group = class Group extends Object$1 {
|
|
|
25659
25659
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25660
25660
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25661
25661
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25662
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
25662
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25663
25663
|
let fetchResult;
|
|
25664
25664
|
try {
|
|
25665
25665
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25821,7 +25821,7 @@ var Group = class Group extends Object$1 {
|
|
|
25821
25821
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25822
25822
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25823
25823
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25824
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
25824
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25825
25825
|
let fetchResult;
|
|
25826
25826
|
try {
|
|
25827
25827
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26001,7 +26001,7 @@ var Group = class Group extends Object$1 {
|
|
|
26001
26001
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26002
26002
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26003
26003
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26004
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
26004
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26005
26005
|
let fetchResult;
|
|
26006
26006
|
try {
|
|
26007
26007
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26143,7 +26143,7 @@ var Group = class Group extends Object$1 {
|
|
|
26143
26143
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26144
26144
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26145
26145
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26146
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
26146
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26147
26147
|
let fetchResult;
|
|
26148
26148
|
try {
|
|
26149
26149
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26282,7 +26282,7 @@ var Group = class Group extends Object$1 {
|
|
|
26282
26282
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26283
26283
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26284
26284
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26285
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
26285
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26286
26286
|
let fetchResult;
|
|
26287
26287
|
try {
|
|
26288
26288
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26406,7 +26406,7 @@ var Group = class Group extends Object$1 {
|
|
|
26406
26406
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26407
26407
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26408
26408
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26409
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
26409
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26410
26410
|
let fetchResult;
|
|
26411
26411
|
try {
|
|
26412
26412
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26533,7 +26533,7 @@ var Group = class Group extends Object$1 {
|
|
|
26533
26533
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26534
26534
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26535
26535
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26536
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
26536
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26537
26537
|
let fetchResult;
|
|
26538
26538
|
try {
|
|
26539
26539
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26658,7 +26658,7 @@ var Group = class Group extends Object$1 {
|
|
|
26658
26658
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26659
26659
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26660
26660
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26661
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
26661
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26662
26662
|
let fetchResult;
|
|
26663
26663
|
try {
|
|
26664
26664
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26781,7 +26781,7 @@ var Group = class Group extends Object$1 {
|
|
|
26781
26781
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26782
26782
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26783
26783
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26784
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
26784
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26785
26785
|
let fetchResult;
|
|
26786
26786
|
try {
|
|
26787
26787
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26904,7 +26904,7 @@ var Group = class Group extends Object$1 {
|
|
|
26904
26904
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26905
26905
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26906
26906
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26907
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
26907
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26908
26908
|
let fetchResult;
|
|
26909
26909
|
try {
|
|
26910
26910
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27066,7 +27066,7 @@ var Group = class Group extends Object$1 {
|
|
|
27066
27066
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27067
27067
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27068
27068
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27069
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27069
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27070
27070
|
let fetchResult;
|
|
27071
27071
|
try {
|
|
27072
27072
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27232,7 +27232,7 @@ var Group = class Group extends Object$1 {
|
|
|
27232
27232
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27233
27233
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27234
27234
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27235
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27235
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27236
27236
|
let fetchResult;
|
|
27237
27237
|
try {
|
|
27238
27238
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27446,7 +27446,7 @@ var Group = class Group extends Object$1 {
|
|
|
27446
27446
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27447
27447
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27448
27448
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27449
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27449
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27450
27450
|
let fetchResult;
|
|
27451
27451
|
try {
|
|
27452
27452
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28131,7 +28131,7 @@ var Group = class Group extends Object$1 {
|
|
|
28131
28131
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28132
28132
|
*/
|
|
28133
28133
|
static async fromJsonLd(json, options = {}) {
|
|
28134
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
28134
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28135
28135
|
try {
|
|
28136
28136
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
28137
28137
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28857,7 +28857,7 @@ var Link = class Link {
|
|
|
28857
28857
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28858
28858
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28859
28859
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28860
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28860
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28861
28861
|
let fetchResult;
|
|
28862
28862
|
try {
|
|
28863
28863
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29149,7 +29149,7 @@ var Link = class Link {
|
|
|
29149
29149
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29150
29150
|
*/
|
|
29151
29151
|
static async fromJsonLd(json, options = {}) {
|
|
29152
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
29152
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29153
29153
|
try {
|
|
29154
29154
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
29155
29155
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29497,7 +29497,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
29497
29497
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29498
29498
|
*/
|
|
29499
29499
|
static async fromJsonLd(json, options = {}) {
|
|
29500
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
29500
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29501
29501
|
try {
|
|
29502
29502
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
29503
29503
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29659,7 +29659,7 @@ var Image = class Image extends Document {
|
|
|
29659
29659
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29660
29660
|
*/
|
|
29661
29661
|
static async fromJsonLd(json, options = {}) {
|
|
29662
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
29662
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29663
29663
|
try {
|
|
29664
29664
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
29665
29665
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29809,7 +29809,7 @@ var Offer = class Offer extends Activity {
|
|
|
29809
29809
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29810
29810
|
*/
|
|
29811
29811
|
static async fromJsonLd(json, options = {}) {
|
|
29812
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
29812
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29813
29813
|
try {
|
|
29814
29814
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
29815
29815
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29959,7 +29959,7 @@ var Invite = class Invite extends Offer {
|
|
|
29959
29959
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29960
29960
|
*/
|
|
29961
29961
|
static async fromJsonLd(json, options = {}) {
|
|
29962
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
29962
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29963
29963
|
try {
|
|
29964
29964
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
29965
29965
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30108,7 +30108,7 @@ var Join = class Join extends Activity {
|
|
|
30108
30108
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30109
30109
|
*/
|
|
30110
30110
|
static async fromJsonLd(json, options = {}) {
|
|
30111
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
30111
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30112
30112
|
try {
|
|
30113
30113
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
30114
30114
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30257,7 +30257,7 @@ var Leave = class Leave extends Activity {
|
|
|
30257
30257
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30258
30258
|
*/
|
|
30259
30259
|
static async fromJsonLd(json, options = {}) {
|
|
30260
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
30260
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30261
30261
|
try {
|
|
30262
30262
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
30263
30263
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30410,7 +30410,7 @@ var Like = class Like extends Activity {
|
|
|
30410
30410
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30411
30411
|
*/
|
|
30412
30412
|
static async fromJsonLd(json, options = {}) {
|
|
30413
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
30413
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30414
30414
|
try {
|
|
30415
30415
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
30416
30416
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30558,7 +30558,7 @@ var Listen = class Listen extends Activity {
|
|
|
30558
30558
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30559
30559
|
*/
|
|
30560
30560
|
static async fromJsonLd(json, options = {}) {
|
|
30561
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
30561
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30562
30562
|
try {
|
|
30563
30563
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
30564
30564
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30709,7 +30709,7 @@ var Mention = class Mention extends Link {
|
|
|
30709
30709
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30710
30710
|
*/
|
|
30711
30711
|
static async fromJsonLd(json, options = {}) {
|
|
30712
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
30712
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30713
30713
|
try {
|
|
30714
30714
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
30715
30715
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30859,7 +30859,7 @@ var Move = class Move extends Activity {
|
|
|
30859
30859
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30860
30860
|
*/
|
|
30861
30861
|
static async fromJsonLd(json, options = {}) {
|
|
30862
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
30862
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30863
30863
|
try {
|
|
30864
30864
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
30865
30865
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30990,7 +30990,7 @@ var Note = class Note extends Object$1 {
|
|
|
30990
30990
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30991
30991
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30992
30992
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30993
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
30993
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30994
30994
|
let fetchResult;
|
|
30995
30995
|
try {
|
|
30996
30996
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31128,7 +31128,7 @@ var Note = class Note extends Object$1 {
|
|
|
31128
31128
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31129
31129
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31130
31130
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31131
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
31131
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31132
31132
|
let fetchResult;
|
|
31133
31133
|
try {
|
|
31134
31134
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31414,7 +31414,7 @@ var Note = class Note extends Object$1 {
|
|
|
31414
31414
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31415
31415
|
*/
|
|
31416
31416
|
static async fromJsonLd(json, options = {}) {
|
|
31417
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31417
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31418
31418
|
try {
|
|
31419
31419
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
31420
31420
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31587,7 +31587,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
31587
31587
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31588
31588
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31589
31589
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31590
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
31590
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31591
31591
|
let fetchResult;
|
|
31592
31592
|
try {
|
|
31593
31593
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31857,7 +31857,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
31857
31857
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31858
31858
|
*/
|
|
31859
31859
|
static async fromJsonLd(json, options = {}) {
|
|
31860
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31860
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31861
31861
|
try {
|
|
31862
31862
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
31863
31863
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32072,7 +32072,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
32072
32072
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32073
32073
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32074
32074
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32075
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
32075
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32076
32076
|
let fetchResult;
|
|
32077
32077
|
try {
|
|
32078
32078
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32365,7 +32365,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
32365
32365
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32366
32366
|
*/
|
|
32367
32367
|
static async fromJsonLd(json, options = {}) {
|
|
32368
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32368
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32369
32369
|
try {
|
|
32370
32370
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
32371
32371
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32868,7 +32868,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32868
32868
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32869
32869
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32870
32870
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32871
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
32871
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32872
32872
|
let fetchResult;
|
|
32873
32873
|
try {
|
|
32874
32874
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33030,7 +33030,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33030
33030
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33031
33031
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33032
33032
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33033
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33033
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33034
33034
|
let fetchResult;
|
|
33035
33035
|
try {
|
|
33036
33036
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33210,7 +33210,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33210
33210
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33211
33211
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33212
33212
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33213
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33213
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33214
33214
|
let fetchResult;
|
|
33215
33215
|
try {
|
|
33216
33216
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33352,7 +33352,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33352
33352
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33353
33353
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33354
33354
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33355
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33355
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33356
33356
|
let fetchResult;
|
|
33357
33357
|
try {
|
|
33358
33358
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33491,7 +33491,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33491
33491
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33492
33492
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33493
33493
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33494
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33494
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33495
33495
|
let fetchResult;
|
|
33496
33496
|
try {
|
|
33497
33497
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33615,7 +33615,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33615
33615
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33616
33616
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33617
33617
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33618
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33618
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33619
33619
|
let fetchResult;
|
|
33620
33620
|
try {
|
|
33621
33621
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33742,7 +33742,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33742
33742
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33743
33743
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33744
33744
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33745
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33745
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33746
33746
|
let fetchResult;
|
|
33747
33747
|
try {
|
|
33748
33748
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33867,7 +33867,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33867
33867
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33868
33868
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33869
33869
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33870
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33870
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33871
33871
|
let fetchResult;
|
|
33872
33872
|
try {
|
|
33873
33873
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33990,7 +33990,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33990
33990
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33991
33991
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33992
33992
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33993
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33993
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33994
33994
|
let fetchResult;
|
|
33995
33995
|
try {
|
|
33996
33996
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34113,7 +34113,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34113
34113
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34114
34114
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34115
34115
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34116
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34116
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34117
34117
|
let fetchResult;
|
|
34118
34118
|
try {
|
|
34119
34119
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34275,7 +34275,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34275
34275
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34276
34276
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34277
34277
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34278
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34278
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34279
34279
|
let fetchResult;
|
|
34280
34280
|
try {
|
|
34281
34281
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34441,7 +34441,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34441
34441
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34442
34442
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34443
34443
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34444
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34444
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34445
34445
|
let fetchResult;
|
|
34446
34446
|
try {
|
|
34447
34447
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34655,7 +34655,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34655
34655
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34656
34656
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34657
34657
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34658
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34658
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34659
34659
|
let fetchResult;
|
|
34660
34660
|
try {
|
|
34661
34661
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35340,7 +35340,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35340
35340
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35341
35341
|
*/
|
|
35342
35342
|
static async fromJsonLd(json, options = {}) {
|
|
35343
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
35343
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35344
35344
|
try {
|
|
35345
35345
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
35346
35346
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35940,7 +35940,7 @@ var Page = class Page extends Document {
|
|
|
35940
35940
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35941
35941
|
*/
|
|
35942
35942
|
static async fromJsonLd(json, options = {}) {
|
|
35943
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
35943
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35944
35944
|
try {
|
|
35945
35945
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
35946
35946
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36335,7 +36335,7 @@ var Person = class Person extends Object$1 {
|
|
|
36335
36335
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36336
36336
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36337
36337
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36338
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36338
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36339
36339
|
let fetchResult;
|
|
36340
36340
|
try {
|
|
36341
36341
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36497,7 +36497,7 @@ var Person = class Person extends Object$1 {
|
|
|
36497
36497
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36498
36498
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36499
36499
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36500
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36500
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36501
36501
|
let fetchResult;
|
|
36502
36502
|
try {
|
|
36503
36503
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36677,7 +36677,7 @@ var Person = class Person extends Object$1 {
|
|
|
36677
36677
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36678
36678
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36679
36679
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36680
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36680
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36681
36681
|
let fetchResult;
|
|
36682
36682
|
try {
|
|
36683
36683
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36819,7 +36819,7 @@ var Person = class Person extends Object$1 {
|
|
|
36819
36819
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36820
36820
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36821
36821
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36822
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36822
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36823
36823
|
let fetchResult;
|
|
36824
36824
|
try {
|
|
36825
36825
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36958,7 +36958,7 @@ var Person = class Person extends Object$1 {
|
|
|
36958
36958
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36959
36959
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36960
36960
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36961
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36961
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36962
36962
|
let fetchResult;
|
|
36963
36963
|
try {
|
|
36964
36964
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37082,7 +37082,7 @@ var Person = class Person extends Object$1 {
|
|
|
37082
37082
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37083
37083
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37084
37084
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37085
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
37085
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37086
37086
|
let fetchResult;
|
|
37087
37087
|
try {
|
|
37088
37088
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37209,7 +37209,7 @@ var Person = class Person extends Object$1 {
|
|
|
37209
37209
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37210
37210
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37211
37211
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37212
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
37212
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37213
37213
|
let fetchResult;
|
|
37214
37214
|
try {
|
|
37215
37215
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37334,7 +37334,7 @@ var Person = class Person extends Object$1 {
|
|
|
37334
37334
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37335
37335
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37336
37336
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37337
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
37337
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37338
37338
|
let fetchResult;
|
|
37339
37339
|
try {
|
|
37340
37340
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37457,7 +37457,7 @@ var Person = class Person extends Object$1 {
|
|
|
37457
37457
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37458
37458
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37459
37459
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37460
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
37460
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37461
37461
|
let fetchResult;
|
|
37462
37462
|
try {
|
|
37463
37463
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37580,7 +37580,7 @@ var Person = class Person extends Object$1 {
|
|
|
37580
37580
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37581
37581
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37582
37582
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37583
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
37583
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37584
37584
|
let fetchResult;
|
|
37585
37585
|
try {
|
|
37586
37586
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37742,7 +37742,7 @@ var Person = class Person extends Object$1 {
|
|
|
37742
37742
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37743
37743
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37744
37744
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37745
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
37745
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37746
37746
|
let fetchResult;
|
|
37747
37747
|
try {
|
|
37748
37748
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37908,7 +37908,7 @@ var Person = class Person extends Object$1 {
|
|
|
37908
37908
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37909
37909
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37910
37910
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37911
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
37911
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37912
37912
|
let fetchResult;
|
|
37913
37913
|
try {
|
|
37914
37914
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38122,7 +38122,7 @@ var Person = class Person extends Object$1 {
|
|
|
38122
38122
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38123
38123
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38124
38124
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38125
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38125
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38126
38126
|
let fetchResult;
|
|
38127
38127
|
try {
|
|
38128
38128
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38807,7 +38807,7 @@ var Person = class Person extends Object$1 {
|
|
|
38807
38807
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38808
38808
|
*/
|
|
38809
38809
|
static async fromJsonLd(json, options = {}) {
|
|
38810
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
38810
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38811
38811
|
try {
|
|
38812
38812
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
38813
38813
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39584,7 +39584,7 @@ var Place = class Place extends Object$1 {
|
|
|
39584
39584
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39585
39585
|
*/
|
|
39586
39586
|
static async fromJsonLd(json, options = {}) {
|
|
39587
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
39587
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39588
39588
|
try {
|
|
39589
39589
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
39590
39590
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39785,7 +39785,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
39785
39785
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39786
39786
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39787
39787
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39788
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39788
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39789
39789
|
let fetchResult;
|
|
39790
39790
|
try {
|
|
39791
39791
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39986,7 +39986,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
39986
39986
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39987
39987
|
*/
|
|
39988
39988
|
static async fromJsonLd(json, options = {}) {
|
|
39989
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
39989
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39990
39990
|
try {
|
|
39991
39991
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
39992
39992
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40183,7 +40183,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
40183
40183
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40184
40184
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40185
40185
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40186
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
40186
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40187
40187
|
let fetchResult;
|
|
40188
40188
|
try {
|
|
40189
40189
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40305,7 +40305,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
40305
40305
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40306
40306
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40307
40307
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40308
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
40308
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40309
40309
|
let fetchResult;
|
|
40310
40310
|
try {
|
|
40311
40311
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40443,7 +40443,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
40443
40443
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40444
40444
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40445
40445
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40446
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
40446
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40447
40447
|
let fetchResult;
|
|
40448
40448
|
try {
|
|
40449
40449
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40581,7 +40581,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
40581
40581
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40582
40582
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40583
40583
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40584
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
40584
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40585
40585
|
let fetchResult;
|
|
40586
40586
|
try {
|
|
40587
40587
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40833,7 +40833,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
40833
40833
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40834
40834
|
*/
|
|
40835
40835
|
static async fromJsonLd(json, options = {}) {
|
|
40836
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
40836
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40837
40837
|
try {
|
|
40838
40838
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
40839
40839
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41110,7 +41110,7 @@ var Read = class Read extends Activity {
|
|
|
41110
41110
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41111
41111
|
*/
|
|
41112
41112
|
static async fromJsonLd(json, options = {}) {
|
|
41113
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
41113
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41114
41114
|
try {
|
|
41115
41115
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
41116
41116
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41259,7 +41259,7 @@ var Reject = class Reject extends Activity {
|
|
|
41259
41259
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41260
41260
|
*/
|
|
41261
41261
|
static async fromJsonLd(json, options = {}) {
|
|
41262
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
41262
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41263
41263
|
try {
|
|
41264
41264
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
41265
41265
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41432,7 +41432,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
41432
41432
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41433
41433
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41434
41434
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41435
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
41435
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41436
41436
|
let fetchResult;
|
|
41437
41437
|
try {
|
|
41438
41438
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41555,7 +41555,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
41555
41555
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41556
41556
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41557
41557
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41558
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
41558
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41559
41559
|
let fetchResult;
|
|
41560
41560
|
try {
|
|
41561
41561
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41717,7 +41717,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
41717
41717
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41718
41718
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41719
41719
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41720
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
41720
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41721
41721
|
let fetchResult;
|
|
41722
41722
|
try {
|
|
41723
41723
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41995,7 +41995,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
41995
41995
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41996
41996
|
*/
|
|
41997
41997
|
static async fromJsonLd(json, options = {}) {
|
|
41998
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
41998
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41999
41999
|
try {
|
|
42000
42000
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
42001
42001
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42210,7 +42210,7 @@ var Remove = class Remove extends Activity {
|
|
|
42210
42210
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42211
42211
|
*/
|
|
42212
42212
|
static async fromJsonLd(json, options = {}) {
|
|
42213
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
42213
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42214
42214
|
try {
|
|
42215
42215
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
42216
42216
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42605,7 +42605,7 @@ var Service = class Service extends Object$1 {
|
|
|
42605
42605
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42606
42606
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42607
42607
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42608
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42608
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42609
42609
|
let fetchResult;
|
|
42610
42610
|
try {
|
|
42611
42611
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42767,7 +42767,7 @@ var Service = class Service extends Object$1 {
|
|
|
42767
42767
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42768
42768
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42769
42769
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42770
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42770
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42771
42771
|
let fetchResult;
|
|
42772
42772
|
try {
|
|
42773
42773
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42947,7 +42947,7 @@ var Service = class Service extends Object$1 {
|
|
|
42947
42947
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42948
42948
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42949
42949
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42950
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42950
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42951
42951
|
let fetchResult;
|
|
42952
42952
|
try {
|
|
42953
42953
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43089,7 +43089,7 @@ var Service = class Service extends Object$1 {
|
|
|
43089
43089
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43090
43090
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43091
43091
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43092
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
43092
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43093
43093
|
let fetchResult;
|
|
43094
43094
|
try {
|
|
43095
43095
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43228,7 +43228,7 @@ var Service = class Service extends Object$1 {
|
|
|
43228
43228
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43229
43229
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43230
43230
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43231
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
43231
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43232
43232
|
let fetchResult;
|
|
43233
43233
|
try {
|
|
43234
43234
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43352,7 +43352,7 @@ var Service = class Service extends Object$1 {
|
|
|
43352
43352
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43353
43353
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43354
43354
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43355
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
43355
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43356
43356
|
let fetchResult;
|
|
43357
43357
|
try {
|
|
43358
43358
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43479,7 +43479,7 @@ var Service = class Service extends Object$1 {
|
|
|
43479
43479
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43480
43480
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43481
43481
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43482
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
43482
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43483
43483
|
let fetchResult;
|
|
43484
43484
|
try {
|
|
43485
43485
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43604,7 +43604,7 @@ var Service = class Service extends Object$1 {
|
|
|
43604
43604
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43605
43605
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43606
43606
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43607
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
43607
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43608
43608
|
let fetchResult;
|
|
43609
43609
|
try {
|
|
43610
43610
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43727,7 +43727,7 @@ var Service = class Service extends Object$1 {
|
|
|
43727
43727
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43728
43728
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43729
43729
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43730
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
43730
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43731
43731
|
let fetchResult;
|
|
43732
43732
|
try {
|
|
43733
43733
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43850,7 +43850,7 @@ var Service = class Service extends Object$1 {
|
|
|
43850
43850
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43851
43851
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43852
43852
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43853
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
43853
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43854
43854
|
let fetchResult;
|
|
43855
43855
|
try {
|
|
43856
43856
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44012,7 +44012,7 @@ var Service = class Service extends Object$1 {
|
|
|
44012
44012
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44013
44013
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44014
44014
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44015
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44015
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44016
44016
|
let fetchResult;
|
|
44017
44017
|
try {
|
|
44018
44018
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44178,7 +44178,7 @@ var Service = class Service extends Object$1 {
|
|
|
44178
44178
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44179
44179
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44180
44180
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44181
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44181
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44182
44182
|
let fetchResult;
|
|
44183
44183
|
try {
|
|
44184
44184
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44392,7 +44392,7 @@ var Service = class Service extends Object$1 {
|
|
|
44392
44392
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44393
44393
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44394
44394
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44395
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44395
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44396
44396
|
let fetchResult;
|
|
44397
44397
|
try {
|
|
44398
44398
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45077,7 +45077,7 @@ var Service = class Service extends Object$1 {
|
|
|
45077
45077
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45078
45078
|
*/
|
|
45079
45079
|
static async fromJsonLd(json, options = {}) {
|
|
45080
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
45080
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45081
45081
|
try {
|
|
45082
45082
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
45083
45083
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45759,7 +45759,7 @@ var Source = class {
|
|
|
45759
45759
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45760
45760
|
*/
|
|
45761
45761
|
static async fromJsonLd(json, options = {}) {
|
|
45762
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
45762
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45763
45763
|
try {
|
|
45764
45764
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
45765
45765
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45937,7 +45937,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
45937
45937
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45938
45938
|
*/
|
|
45939
45939
|
static async fromJsonLd(json, options = {}) {
|
|
45940
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
45940
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45941
45941
|
try {
|
|
45942
45942
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
45943
45943
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46086,7 +46086,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
46086
46086
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46087
46087
|
*/
|
|
46088
46088
|
static async fromJsonLd(json, options = {}) {
|
|
46089
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
46089
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46090
46090
|
try {
|
|
46091
46091
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
46092
46092
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46324,7 +46324,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
46324
46324
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46325
46325
|
*/
|
|
46326
46326
|
static async fromJsonLd(json, options = {}) {
|
|
46327
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
46327
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46328
46328
|
try {
|
|
46329
46329
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
46330
46330
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46510,7 +46510,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
46510
46510
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46511
46511
|
*/
|
|
46512
46512
|
static async fromJsonLd(json, options = {}) {
|
|
46513
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
46513
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46514
46514
|
try {
|
|
46515
46515
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
46516
46516
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46673,7 +46673,7 @@ var Undo = class Undo extends Activity {
|
|
|
46673
46673
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46674
46674
|
*/
|
|
46675
46675
|
static async fromJsonLd(json, options = {}) {
|
|
46676
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
46676
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46677
46677
|
try {
|
|
46678
46678
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
46679
46679
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46884,7 +46884,7 @@ var Update = class Update extends Activity {
|
|
|
46884
46884
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46885
46885
|
*/
|
|
46886
46886
|
static async fromJsonLd(json, options = {}) {
|
|
46887
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
46887
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46888
46888
|
try {
|
|
46889
46889
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
46890
46890
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -47046,7 +47046,7 @@ var Video = class Video extends Document {
|
|
|
47046
47046
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47047
47047
|
*/
|
|
47048
47048
|
static async fromJsonLd(json, options = {}) {
|
|
47049
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
47049
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47050
47050
|
try {
|
|
47051
47051
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
47052
47052
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -47194,7 +47194,7 @@ var View = class View extends Activity {
|
|
|
47194
47194
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47195
47195
|
*/
|
|
47196
47196
|
static async fromJsonLd(json, options = {}) {
|
|
47197
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
47197
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47198
47198
|
try {
|
|
47199
47199
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
47200
47200
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|