@fedify/vocab 2.2.7 → 2.2.8
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-CRnQTD9F.mjs → deno-BDmh73g3.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-FqqUyew4.mjs → vocab-KiMp-Gly.mjs} +216 -216
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
|
@@ -797,7 +797,7 @@ var Object$1 = class Object$1 {
|
|
|
797
797
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
798
798
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
799
799
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
800
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
800
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
801
801
|
let fetchResult;
|
|
802
802
|
try {
|
|
803
803
|
fetchResult = await documentLoader(url.href);
|
|
@@ -943,7 +943,7 @@ var Object$1 = class Object$1 {
|
|
|
943
943
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
944
944
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
945
945
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
946
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
946
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
947
947
|
let fetchResult;
|
|
948
948
|
try {
|
|
949
949
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1155,7 +1155,7 @@ var Object$1 = class Object$1 {
|
|
|
1155
1155
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1156
1156
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1157
1157
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1158
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
1158
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1159
1159
|
let fetchResult;
|
|
1160
1160
|
try {
|
|
1161
1161
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1339,7 +1339,7 @@ var Object$1 = class Object$1 {
|
|
|
1339
1339
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1340
1340
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1341
1341
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1342
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
1342
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1343
1343
|
let fetchResult;
|
|
1344
1344
|
try {
|
|
1345
1345
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1501,7 +1501,7 @@ var Object$1 = class Object$1 {
|
|
|
1501
1501
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1502
1502
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1503
1503
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1504
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
1504
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1505
1505
|
let fetchResult;
|
|
1506
1506
|
try {
|
|
1507
1507
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1631,7 +1631,7 @@ var Object$1 = class Object$1 {
|
|
|
1631
1631
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1632
1632
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1633
1633
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1634
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
1634
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1635
1635
|
let fetchResult;
|
|
1636
1636
|
try {
|
|
1637
1637
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1797,7 +1797,7 @@ var Object$1 = class Object$1 {
|
|
|
1797
1797
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1798
1798
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1799
1799
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1800
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
1800
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1801
1801
|
let fetchResult;
|
|
1802
1802
|
try {
|
|
1803
1803
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1963,7 +1963,7 @@ var Object$1 = class Object$1 {
|
|
|
1963
1963
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1964
1964
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1965
1965
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1966
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
1966
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1967
1967
|
let fetchResult;
|
|
1968
1968
|
try {
|
|
1969
1969
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2137,7 +2137,7 @@ var Object$1 = class Object$1 {
|
|
|
2137
2137
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2138
2138
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2139
2139
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2140
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
2140
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2141
2141
|
let fetchResult;
|
|
2142
2142
|
try {
|
|
2143
2143
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2311,7 +2311,7 @@ var Object$1 = class Object$1 {
|
|
|
2311
2311
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2312
2312
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2313
2313
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2314
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
2314
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2315
2315
|
let fetchResult;
|
|
2316
2316
|
try {
|
|
2317
2317
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2490,7 +2490,7 @@ var Object$1 = class Object$1 {
|
|
|
2490
2490
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2491
2491
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2492
2492
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2493
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
2493
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2494
2494
|
let fetchResult;
|
|
2495
2495
|
try {
|
|
2496
2496
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2611,7 +2611,7 @@ var Object$1 = class Object$1 {
|
|
|
2611
2611
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2612
2612
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2613
2613
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2614
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
2614
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2615
2615
|
let fetchResult;
|
|
2616
2616
|
try {
|
|
2617
2617
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2738,7 +2738,7 @@ var Object$1 = class Object$1 {
|
|
|
2738
2738
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2739
2739
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2740
2740
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2741
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
2741
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2742
2742
|
let fetchResult;
|
|
2743
2743
|
try {
|
|
2744
2744
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2865,7 +2865,7 @@ var Object$1 = class Object$1 {
|
|
|
2865
2865
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2866
2866
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2867
2867
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2868
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
2868
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2869
2869
|
let fetchResult;
|
|
2870
2870
|
try {
|
|
2871
2871
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3010,7 +3010,7 @@ var Object$1 = class Object$1 {
|
|
|
3010
3010
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3011
3011
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3012
3012
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3013
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
3013
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3014
3014
|
let fetchResult;
|
|
3015
3015
|
try {
|
|
3016
3016
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3162,7 +3162,7 @@ var Object$1 = class Object$1 {
|
|
|
3162
3162
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3163
3163
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3164
3164
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3165
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
3165
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3166
3166
|
let fetchResult;
|
|
3167
3167
|
try {
|
|
3168
3168
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3326,7 +3326,7 @@ var Object$1 = class Object$1 {
|
|
|
3326
3326
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3327
3327
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3328
3328
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3329
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
3329
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3330
3330
|
let fetchResult;
|
|
3331
3331
|
try {
|
|
3332
3332
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3490,7 +3490,7 @@ var Object$1 = class Object$1 {
|
|
|
3490
3490
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3491
3491
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3492
3492
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3493
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
3493
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3494
3494
|
let fetchResult;
|
|
3495
3495
|
try {
|
|
3496
3496
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3654,7 +3654,7 @@ var Object$1 = class Object$1 {
|
|
|
3654
3654
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3655
3655
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3656
3656
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3657
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
3657
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3658
3658
|
let fetchResult;
|
|
3659
3659
|
try {
|
|
3660
3660
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3855,7 +3855,7 @@ var Object$1 = class Object$1 {
|
|
|
3855
3855
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3856
3856
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3857
3857
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3858
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
3858
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3859
3859
|
let fetchResult;
|
|
3860
3860
|
try {
|
|
3861
3861
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4042,7 +4042,7 @@ var Object$1 = class Object$1 {
|
|
|
4042
4042
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4043
4043
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4044
4044
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4045
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
4045
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4046
4046
|
let fetchResult;
|
|
4047
4047
|
try {
|
|
4048
4048
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4163,7 +4163,7 @@ var Object$1 = class Object$1 {
|
|
|
4163
4163
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4164
4164
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4165
4165
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4166
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
4166
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4167
4167
|
let fetchResult;
|
|
4168
4168
|
try {
|
|
4169
4169
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4284,7 +4284,7 @@ var Object$1 = class Object$1 {
|
|
|
4284
4284
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4285
4285
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4286
4286
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4287
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
4287
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4288
4288
|
let fetchResult;
|
|
4289
4289
|
try {
|
|
4290
4290
|
fetchResult = await documentLoader(url.href);
|
|
@@ -5111,7 +5111,7 @@ var Object$1 = class Object$1 {
|
|
|
5111
5111
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5112
5112
|
*/
|
|
5113
5113
|
static async fromJsonLd(json, options = {}) {
|
|
5114
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
5114
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5115
5115
|
try {
|
|
5116
5116
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
5117
5117
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6711,7 +6711,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
6711
6711
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6712
6712
|
*/
|
|
6713
6713
|
static async fromJsonLd(json, options = {}) {
|
|
6714
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
6714
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6715
6715
|
try {
|
|
6716
6716
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
6717
6717
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6847,7 +6847,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6847
6847
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6848
6848
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6849
6849
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6850
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
6850
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6851
6851
|
let fetchResult;
|
|
6852
6852
|
try {
|
|
6853
6853
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6985,7 +6985,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6985
6985
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6986
6986
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6987
6987
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6988
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
6988
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6989
6989
|
let fetchResult;
|
|
6990
6990
|
try {
|
|
6991
6991
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7269,7 +7269,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7269
7269
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7270
7270
|
*/
|
|
7271
7271
|
static async fromJsonLd(json, options = {}) {
|
|
7272
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
7272
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7273
7273
|
try {
|
|
7274
7274
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
7275
7275
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7608,7 +7608,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7608
7608
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7609
7609
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7610
7610
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7611
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
7611
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7612
7612
|
let fetchResult;
|
|
7613
7613
|
try {
|
|
7614
7614
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7820,7 +7820,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7820
7820
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7821
7821
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7822
7822
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7823
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
7823
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7824
7824
|
let fetchResult;
|
|
7825
7825
|
try {
|
|
7826
7826
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7986,7 +7986,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7986
7986
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7987
7987
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7988
7988
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7989
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
7989
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7990
7990
|
let fetchResult;
|
|
7991
7991
|
try {
|
|
7992
7992
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8158,7 +8158,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8158
8158
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8159
8159
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8160
8160
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8161
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8161
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8162
8162
|
let fetchResult;
|
|
8163
8163
|
try {
|
|
8164
8164
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8324,7 +8324,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8324
8324
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8325
8325
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8326
8326
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8327
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8327
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8328
8328
|
let fetchResult;
|
|
8329
8329
|
try {
|
|
8330
8330
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8492,7 +8492,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8492
8492
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8493
8493
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8494
8494
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8495
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8495
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8496
8496
|
let fetchResult;
|
|
8497
8497
|
try {
|
|
8498
8498
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8743,7 +8743,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8743
8743
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8744
8744
|
*/
|
|
8745
8745
|
static async fromJsonLd(json, options = {}) {
|
|
8746
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
8746
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8747
8747
|
try {
|
|
8748
8748
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
8749
8749
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9102,7 +9102,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
9102
9102
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9103
9103
|
*/
|
|
9104
9104
|
static async fromJsonLd(json, options = {}) {
|
|
9105
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
9105
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9106
9106
|
try {
|
|
9107
9107
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
9108
9108
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9362,7 +9362,7 @@ var PropertyValue = class {
|
|
|
9362
9362
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9363
9363
|
*/
|
|
9364
9364
|
static async fromJsonLd(json, options = {}) {
|
|
9365
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
9365
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9366
9366
|
try {
|
|
9367
9367
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
9368
9368
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9649,7 +9649,7 @@ var Measure = class {
|
|
|
9649
9649
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9650
9650
|
*/
|
|
9651
9651
|
static async fromJsonLd(json, options = {}) {
|
|
9652
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
9652
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9653
9653
|
try {
|
|
9654
9654
|
const object = await this.__fromJsonLd__Measure__(json, span, options);
|
|
9655
9655
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9819,7 +9819,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9819
9819
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9820
9820
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9821
9821
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9822
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
9822
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9823
9823
|
let fetchResult;
|
|
9824
9824
|
try {
|
|
9825
9825
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9940,7 +9940,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9940
9940
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9941
9941
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9942
9942
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9943
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
9943
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9944
9944
|
let fetchResult;
|
|
9945
9945
|
try {
|
|
9946
9946
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10156,7 +10156,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10156
10156
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10157
10157
|
*/
|
|
10158
10158
|
static async fromJsonLd(json, options = {}) {
|
|
10159
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
10159
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10160
10160
|
try {
|
|
10161
10161
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
10162
10162
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10367,7 +10367,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
10367
10367
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10368
10368
|
*/
|
|
10369
10369
|
static async fromJsonLd(json, options = {}) {
|
|
10370
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
10370
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10371
10371
|
try {
|
|
10372
10372
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
10373
10373
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10645,7 +10645,7 @@ var InteractionPolicy = class {
|
|
|
10645
10645
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10646
10646
|
*/
|
|
10647
10647
|
static async fromJsonLd(json, options = {}) {
|
|
10648
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
10648
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10649
10649
|
try {
|
|
10650
10650
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
10651
10651
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11000,7 +11000,7 @@ var InteractionRule = class {
|
|
|
11000
11000
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11001
11001
|
*/
|
|
11002
11002
|
static async fromJsonLd(json, options = {}) {
|
|
11003
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
11003
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11004
11004
|
try {
|
|
11005
11005
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
11006
11006
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11171,7 +11171,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11171
11171
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11172
11172
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11173
11173
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11174
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
11174
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11175
11175
|
let fetchResult;
|
|
11176
11176
|
try {
|
|
11177
11177
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11292,7 +11292,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11292
11292
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11293
11293
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11294
11294
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11295
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
11295
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11296
11296
|
let fetchResult;
|
|
11297
11297
|
try {
|
|
11298
11298
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11508,7 +11508,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11508
11508
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11509
11509
|
*/
|
|
11510
11510
|
static async fromJsonLd(json, options = {}) {
|
|
11511
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
11511
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11512
11512
|
try {
|
|
11513
11513
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
11514
11514
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11718,7 +11718,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
11718
11718
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11719
11719
|
*/
|
|
11720
11720
|
static async fromJsonLd(json, options = {}) {
|
|
11721
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
11721
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11722
11722
|
try {
|
|
11723
11723
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
11724
11724
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11851,7 +11851,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11851
11851
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11852
11852
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11853
11853
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11854
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
11854
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11855
11855
|
let fetchResult;
|
|
11856
11856
|
try {
|
|
11857
11857
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11972,7 +11972,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11972
11972
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11973
11973
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11974
11974
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11975
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
11975
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11976
11976
|
let fetchResult;
|
|
11977
11977
|
try {
|
|
11978
11978
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12188,7 +12188,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12188
12188
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12189
12189
|
*/
|
|
12190
12190
|
static async fromJsonLd(json, options = {}) {
|
|
12191
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12191
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12192
12192
|
try {
|
|
12193
12193
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
12194
12194
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12398,7 +12398,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
12398
12398
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12399
12399
|
*/
|
|
12400
12400
|
static async fromJsonLd(json, options = {}) {
|
|
12401
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12401
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12402
12402
|
try {
|
|
12403
12403
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
12404
12404
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12531,7 +12531,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
12531
12531
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12532
12532
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12533
12533
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12534
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
12534
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12535
12535
|
let fetchResult;
|
|
12536
12536
|
try {
|
|
12537
12537
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12651,7 +12651,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
12651
12651
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12652
12652
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12653
12653
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12654
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
12654
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12655
12655
|
let fetchResult;
|
|
12656
12656
|
try {
|
|
12657
12657
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12869,7 +12869,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
12869
12869
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12870
12870
|
*/
|
|
12871
12871
|
static async fromJsonLd(json, options = {}) {
|
|
12872
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12872
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12873
12873
|
try {
|
|
12874
12874
|
const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
|
|
12875
12875
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13109,7 +13109,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
|
|
|
13109
13109
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13110
13110
|
*/
|
|
13111
13111
|
static async fromJsonLd(json, options = {}) {
|
|
13112
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13112
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13113
13113
|
try {
|
|
13114
13114
|
const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
|
|
13115
13115
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13329,7 +13329,7 @@ var DidService = class {
|
|
|
13329
13329
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13330
13330
|
*/
|
|
13331
13331
|
static async fromJsonLd(json, options = {}) {
|
|
13332
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13332
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13333
13333
|
try {
|
|
13334
13334
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
13335
13335
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13491,7 +13491,7 @@ var Export = class Export extends DidService {
|
|
|
13491
13491
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13492
13492
|
*/
|
|
13493
13493
|
static async fromJsonLd(json, options = {}) {
|
|
13494
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13494
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13495
13495
|
try {
|
|
13496
13496
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
13497
13497
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13678,7 +13678,7 @@ var DataIntegrityProof = class {
|
|
|
13678
13678
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13679
13679
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13680
13680
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13681
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
13681
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13682
13682
|
let fetchResult;
|
|
13683
13683
|
try {
|
|
13684
13684
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13897,7 +13897,7 @@ var DataIntegrityProof = class {
|
|
|
13897
13897
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13898
13898
|
*/
|
|
13899
13899
|
static async fromJsonLd(json, options = {}) {
|
|
13900
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13900
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13901
13901
|
try {
|
|
13902
13902
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
13903
13903
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14155,7 +14155,7 @@ var CryptographicKey = class {
|
|
|
14155
14155
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14156
14156
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14157
14157
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14158
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
14158
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14159
14159
|
let fetchResult;
|
|
14160
14160
|
try {
|
|
14161
14161
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14417,7 +14417,7 @@ var CryptographicKey = class {
|
|
|
14417
14417
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14418
14418
|
*/
|
|
14419
14419
|
static async fromJsonLd(json, options = {}) {
|
|
14420
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
14420
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14421
14421
|
try {
|
|
14422
14422
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
14423
14423
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14636,7 +14636,7 @@ var Multikey = class {
|
|
|
14636
14636
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14637
14637
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14638
14638
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14639
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
14639
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14640
14640
|
let fetchResult;
|
|
14641
14641
|
try {
|
|
14642
14642
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14904,7 +14904,7 @@ var Multikey = class {
|
|
|
14904
14904
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14905
14905
|
*/
|
|
14906
14906
|
static async fromJsonLd(json, options = {}) {
|
|
14907
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
14907
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14908
14908
|
try {
|
|
14909
14909
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
14910
14910
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15314,7 +15314,7 @@ var Intent = class {
|
|
|
15314
15314
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15315
15315
|
*/
|
|
15316
15316
|
static async fromJsonLd(json, options = {}) {
|
|
15317
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
15317
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15318
15318
|
try {
|
|
15319
15319
|
const object = await this.__fromJsonLd__Intent__(json, span, options);
|
|
15320
15320
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15753,7 +15753,7 @@ var Proposal = class Proposal extends Object$1 {
|
|
|
15753
15753
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15754
15754
|
*/
|
|
15755
15755
|
static async fromJsonLd(json, options = {}) {
|
|
15756
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
15756
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15757
15757
|
try {
|
|
15758
15758
|
const object = await this.__fromJsonLd__Proposal__(json, span, options);
|
|
15759
15759
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15984,7 +15984,7 @@ var Accept = class Accept extends Activity {
|
|
|
15984
15984
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15985
15985
|
*/
|
|
15986
15986
|
static async fromJsonLd(json, options = {}) {
|
|
15987
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
15987
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15988
15988
|
try {
|
|
15989
15989
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
15990
15990
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16138,7 +16138,7 @@ var Add = class Add extends Activity {
|
|
|
16138
16138
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16139
16139
|
*/
|
|
16140
16140
|
static async fromJsonLd(json, options = {}) {
|
|
16141
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
16141
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16142
16142
|
try {
|
|
16143
16143
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
16144
16144
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16319,7 +16319,7 @@ var Announce = class Announce extends Activity {
|
|
|
16319
16319
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16320
16320
|
*/
|
|
16321
16321
|
static async fromJsonLd(json, options = {}) {
|
|
16322
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
16322
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16323
16323
|
try {
|
|
16324
16324
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
16325
16325
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16716,7 +16716,7 @@ var Application = class Application extends Object$1 {
|
|
|
16716
16716
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16717
16717
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16718
16718
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16719
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
16719
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16720
16720
|
let fetchResult;
|
|
16721
16721
|
try {
|
|
16722
16722
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16878,7 +16878,7 @@ var Application = class Application extends Object$1 {
|
|
|
16878
16878
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16879
16879
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16880
16880
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16881
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
16881
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16882
16882
|
let fetchResult;
|
|
16883
16883
|
try {
|
|
16884
16884
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17058,7 +17058,7 @@ var Application = class Application extends Object$1 {
|
|
|
17058
17058
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17059
17059
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17060
17060
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17061
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17061
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17062
17062
|
let fetchResult;
|
|
17063
17063
|
try {
|
|
17064
17064
|
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.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17204
17204
|
let fetchResult;
|
|
17205
17205
|
try {
|
|
17206
17206
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17339,7 +17339,7 @@ var Application = class Application extends Object$1 {
|
|
|
17339
17339
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17340
17340
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17341
17341
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17342
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17342
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17343
17343
|
let fetchResult;
|
|
17344
17344
|
try {
|
|
17345
17345
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17463,7 +17463,7 @@ var Application = class Application extends Object$1 {
|
|
|
17463
17463
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17464
17464
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17465
17465
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17466
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17466
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17467
17467
|
let fetchResult;
|
|
17468
17468
|
try {
|
|
17469
17469
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17590,7 +17590,7 @@ var Application = class Application extends Object$1 {
|
|
|
17590
17590
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17591
17591
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17592
17592
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17593
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17593
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17594
17594
|
let fetchResult;
|
|
17595
17595
|
try {
|
|
17596
17596
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17715,7 +17715,7 @@ var Application = class Application extends Object$1 {
|
|
|
17715
17715
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17716
17716
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17717
17717
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17718
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17718
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17719
17719
|
let fetchResult;
|
|
17720
17720
|
try {
|
|
17721
17721
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17838,7 +17838,7 @@ var Application = class Application extends Object$1 {
|
|
|
17838
17838
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17839
17839
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17840
17840
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17841
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17841
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17842
17842
|
let fetchResult;
|
|
17843
17843
|
try {
|
|
17844
17844
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17961,7 +17961,7 @@ var Application = class Application extends Object$1 {
|
|
|
17961
17961
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17962
17962
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17963
17963
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17964
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17964
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17965
17965
|
let fetchResult;
|
|
17966
17966
|
try {
|
|
17967
17967
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18123,7 +18123,7 @@ var Application = class Application extends Object$1 {
|
|
|
18123
18123
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18124
18124
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18125
18125
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18126
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18126
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18127
18127
|
let fetchResult;
|
|
18128
18128
|
try {
|
|
18129
18129
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18289,7 +18289,7 @@ var Application = class Application extends Object$1 {
|
|
|
18289
18289
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18290
18290
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18291
18291
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18292
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18292
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18293
18293
|
let fetchResult;
|
|
18294
18294
|
try {
|
|
18295
18295
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18503,7 +18503,7 @@ var Application = class Application extends Object$1 {
|
|
|
18503
18503
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18504
18504
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18505
18505
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18506
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18506
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18507
18507
|
let fetchResult;
|
|
18508
18508
|
try {
|
|
18509
18509
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19188,7 +19188,7 @@ var Application = class Application extends Object$1 {
|
|
|
19188
19188
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19189
19189
|
*/
|
|
19190
19190
|
static async fromJsonLd(json, options = {}) {
|
|
19191
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
19191
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19192
19192
|
try {
|
|
19193
19193
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
19194
19194
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19866,7 +19866,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
19866
19866
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19867
19867
|
*/
|
|
19868
19868
|
static async fromJsonLd(json, options = {}) {
|
|
19869
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
19869
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19870
19870
|
try {
|
|
19871
19871
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
19872
19872
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20021,7 +20021,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
20021
20021
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20022
20022
|
*/
|
|
20023
20023
|
static async fromJsonLd(json, options = {}) {
|
|
20024
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
20024
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20025
20025
|
try {
|
|
20026
20026
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
20027
20027
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20153,7 +20153,7 @@ var Article = class Article extends Object$1 {
|
|
|
20153
20153
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20154
20154
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20155
20155
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20156
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
20156
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20157
20157
|
let fetchResult;
|
|
20158
20158
|
try {
|
|
20159
20159
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20291,7 +20291,7 @@ var Article = class Article extends Object$1 {
|
|
|
20291
20291
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20292
20292
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20293
20293
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20294
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
20294
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20295
20295
|
let fetchResult;
|
|
20296
20296
|
try {
|
|
20297
20297
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20577,7 +20577,7 @@ var Article = class Article extends Object$1 {
|
|
|
20577
20577
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20578
20578
|
*/
|
|
20579
20579
|
static async fromJsonLd(json, options = {}) {
|
|
20580
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
20580
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20581
20581
|
try {
|
|
20582
20582
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
20583
20583
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20872,7 +20872,7 @@ var Document = class Document extends Object$1 {
|
|
|
20872
20872
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20873
20873
|
*/
|
|
20874
20874
|
static async fromJsonLd(json, options = {}) {
|
|
20875
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
20875
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20876
20876
|
try {
|
|
20877
20877
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
20878
20878
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21077,7 +21077,7 @@ var Audio = class Audio extends Document {
|
|
|
21077
21077
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21078
21078
|
*/
|
|
21079
21079
|
static async fromJsonLd(json, options = {}) {
|
|
21080
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
21080
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21081
21081
|
try {
|
|
21082
21082
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
21083
21083
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21228,7 +21228,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
21228
21228
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21229
21229
|
*/
|
|
21230
21230
|
static async fromJsonLd(json, options = {}) {
|
|
21231
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
21231
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21232
21232
|
try {
|
|
21233
21233
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
21234
21234
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21382,7 +21382,7 @@ var Block = class Block extends Ignore {
|
|
|
21382
21382
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21383
21383
|
*/
|
|
21384
21384
|
static async fromJsonLd(json, options = {}) {
|
|
21385
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
21385
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21386
21386
|
try {
|
|
21387
21387
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
21388
21388
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21648,7 +21648,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21648
21648
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21649
21649
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21650
21650
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21651
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
21651
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21652
21652
|
let fetchResult;
|
|
21653
21653
|
try {
|
|
21654
21654
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21769,7 +21769,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21769
21769
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21770
21770
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21771
21771
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21772
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
21772
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21773
21773
|
let fetchResult;
|
|
21774
21774
|
try {
|
|
21775
21775
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21890,7 +21890,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21890
21890
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21891
21891
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21892
21892
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21893
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
21893
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21894
21894
|
let fetchResult;
|
|
21895
21895
|
try {
|
|
21896
21896
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22011,7 +22011,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22011
22011
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22012
22012
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22013
22013
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22014
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22014
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22015
22015
|
let fetchResult;
|
|
22016
22016
|
try {
|
|
22017
22017
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22142,7 +22142,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22142
22142
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22143
22143
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22144
22144
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22145
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22145
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22146
22146
|
let fetchResult;
|
|
22147
22147
|
try {
|
|
22148
22148
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22262,7 +22262,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22262
22262
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22263
22263
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22264
22264
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22265
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22265
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22266
22266
|
let fetchResult;
|
|
22267
22267
|
try {
|
|
22268
22268
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22382,7 +22382,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22382
22382
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22383
22383
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22384
22384
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22385
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22385
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22386
22386
|
let fetchResult;
|
|
22387
22387
|
try {
|
|
22388
22388
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22502,7 +22502,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22502
22502
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22503
22503
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22504
22504
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22505
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22505
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22506
22506
|
let fetchResult;
|
|
22507
22507
|
try {
|
|
22508
22508
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22622,7 +22622,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22622
22622
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22623
22623
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22624
22624
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22625
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22625
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22626
22626
|
let fetchResult;
|
|
22627
22627
|
try {
|
|
22628
22628
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22742,7 +22742,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22742
22742
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22743
22743
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22744
22744
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22745
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22745
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22746
22746
|
let fetchResult;
|
|
22747
22747
|
try {
|
|
22748
22748
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22862,7 +22862,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22862
22862
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22863
22863
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22864
22864
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22865
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22865
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22866
22866
|
let fetchResult;
|
|
22867
22867
|
try {
|
|
22868
22868
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22982,7 +22982,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22982
22982
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22983
22983
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22984
22984
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22985
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22985
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22986
22986
|
let fetchResult;
|
|
22987
22987
|
try {
|
|
22988
22988
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23431,7 +23431,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23431
23431
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23432
23432
|
*/
|
|
23433
23433
|
static async fromJsonLd(json, options = {}) {
|
|
23434
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
23434
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23435
23435
|
try {
|
|
23436
23436
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
23437
23437
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23965,7 +23965,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
23965
23965
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23966
23966
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23967
23967
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23968
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23968
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23969
23969
|
let fetchResult;
|
|
23970
23970
|
try {
|
|
23971
23971
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24086,7 +24086,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
24086
24086
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24087
24087
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24088
24088
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24089
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
24089
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24090
24090
|
let fetchResult;
|
|
24091
24091
|
try {
|
|
24092
24092
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24206,7 +24206,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
24206
24206
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24207
24207
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24208
24208
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24209
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
24209
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24210
24210
|
let fetchResult;
|
|
24211
24211
|
try {
|
|
24212
24212
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24492,7 +24492,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
24492
24492
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24493
24493
|
*/
|
|
24494
24494
|
static async fromJsonLd(json, options = {}) {
|
|
24495
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
24495
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24496
24496
|
try {
|
|
24497
24497
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
24498
24498
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24749,7 +24749,7 @@ var Create = class Create extends Activity {
|
|
|
24749
24749
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24750
24750
|
*/
|
|
24751
24751
|
static async fromJsonLd(json, options = {}) {
|
|
24752
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
24752
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24753
24753
|
try {
|
|
24754
24754
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
24755
24755
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24926,7 +24926,7 @@ var Delete = class Delete extends Activity {
|
|
|
24926
24926
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24927
24927
|
*/
|
|
24928
24928
|
static async fromJsonLd(json, options = {}) {
|
|
24929
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
24929
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24930
24930
|
try {
|
|
24931
24931
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
24932
24932
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25080,7 +25080,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
25080
25080
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25081
25081
|
*/
|
|
25082
25082
|
static async fromJsonLd(json, options = {}) {
|
|
25083
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25083
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25084
25084
|
try {
|
|
25085
25085
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
25086
25086
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25439,7 +25439,7 @@ var Endpoints = class {
|
|
|
25439
25439
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25440
25440
|
*/
|
|
25441
25441
|
static async fromJsonLd(json, options = {}) {
|
|
25442
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25442
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25443
25443
|
try {
|
|
25444
25444
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
25445
25445
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25711,7 +25711,7 @@ var Event = class Event extends Object$1 {
|
|
|
25711
25711
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25712
25712
|
*/
|
|
25713
25713
|
static async fromJsonLd(json, options = {}) {
|
|
25714
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25714
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25715
25715
|
try {
|
|
25716
25716
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
25717
25717
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25863,7 +25863,7 @@ var Flag = class Flag extends Activity {
|
|
|
25863
25863
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25864
25864
|
*/
|
|
25865
25865
|
static async fromJsonLd(json, options = {}) {
|
|
25866
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25866
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25867
25867
|
try {
|
|
25868
25868
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
25869
25869
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26019,7 +26019,7 @@ var Follow = class Follow extends Activity {
|
|
|
26019
26019
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26020
26020
|
*/
|
|
26021
26021
|
static async fromJsonLd(json, options = {}) {
|
|
26022
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
26022
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26023
26023
|
try {
|
|
26024
26024
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
26025
26025
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26416,7 +26416,7 @@ var Group = class Group extends Object$1 {
|
|
|
26416
26416
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26417
26417
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26418
26418
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26419
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
26419
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26420
26420
|
let fetchResult;
|
|
26421
26421
|
try {
|
|
26422
26422
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26578,7 +26578,7 @@ var Group = class Group extends Object$1 {
|
|
|
26578
26578
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26579
26579
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26580
26580
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26581
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
26581
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26582
26582
|
let fetchResult;
|
|
26583
26583
|
try {
|
|
26584
26584
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26758,7 +26758,7 @@ var Group = class Group extends Object$1 {
|
|
|
26758
26758
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26759
26759
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26760
26760
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26761
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
26761
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26762
26762
|
let fetchResult;
|
|
26763
26763
|
try {
|
|
26764
26764
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26900,7 +26900,7 @@ var Group = class Group extends Object$1 {
|
|
|
26900
26900
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26901
26901
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26902
26902
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26903
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
26903
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26904
26904
|
let fetchResult;
|
|
26905
26905
|
try {
|
|
26906
26906
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27039,7 +27039,7 @@ var Group = class Group extends Object$1 {
|
|
|
27039
27039
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27040
27040
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27041
27041
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27042
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27042
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27043
27043
|
let fetchResult;
|
|
27044
27044
|
try {
|
|
27045
27045
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27163,7 +27163,7 @@ var Group = class Group extends Object$1 {
|
|
|
27163
27163
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27164
27164
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27165
27165
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27166
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27166
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27167
27167
|
let fetchResult;
|
|
27168
27168
|
try {
|
|
27169
27169
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27290,7 +27290,7 @@ var Group = class Group extends Object$1 {
|
|
|
27290
27290
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27291
27291
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27292
27292
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27293
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27293
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27294
27294
|
let fetchResult;
|
|
27295
27295
|
try {
|
|
27296
27296
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27415,7 +27415,7 @@ var Group = class Group extends Object$1 {
|
|
|
27415
27415
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27416
27416
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27417
27417
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27418
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27418
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27419
27419
|
let fetchResult;
|
|
27420
27420
|
try {
|
|
27421
27421
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27538,7 +27538,7 @@ var Group = class Group extends Object$1 {
|
|
|
27538
27538
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27539
27539
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27540
27540
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27541
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27541
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27542
27542
|
let fetchResult;
|
|
27543
27543
|
try {
|
|
27544
27544
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27661,7 +27661,7 @@ var Group = class Group extends Object$1 {
|
|
|
27661
27661
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27662
27662
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27663
27663
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27664
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27664
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27665
27665
|
let fetchResult;
|
|
27666
27666
|
try {
|
|
27667
27667
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27823,7 +27823,7 @@ var Group = class Group extends Object$1 {
|
|
|
27823
27823
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27824
27824
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27825
27825
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27826
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27826
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27827
27827
|
let fetchResult;
|
|
27828
27828
|
try {
|
|
27829
27829
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27989,7 +27989,7 @@ var Group = class Group extends Object$1 {
|
|
|
27989
27989
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27990
27990
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27991
27991
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27992
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27992
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27993
27993
|
let fetchResult;
|
|
27994
27994
|
try {
|
|
27995
27995
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28203,7 +28203,7 @@ var Group = class Group extends Object$1 {
|
|
|
28203
28203
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28204
28204
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28205
28205
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28206
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28206
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28207
28207
|
let fetchResult;
|
|
28208
28208
|
try {
|
|
28209
28209
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28888,7 +28888,7 @@ var Group = class Group extends Object$1 {
|
|
|
28888
28888
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28889
28889
|
*/
|
|
28890
28890
|
static async fromJsonLd(json, options = {}) {
|
|
28891
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
28891
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28892
28892
|
try {
|
|
28893
28893
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
28894
28894
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29716,7 +29716,7 @@ var Link = class Link {
|
|
|
29716
29716
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29717
29717
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29718
29718
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29719
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
29719
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29720
29720
|
let fetchResult;
|
|
29721
29721
|
try {
|
|
29722
29722
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30008,7 +30008,7 @@ var Link = class Link {
|
|
|
30008
30008
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30009
30009
|
*/
|
|
30010
30010
|
static async fromJsonLd(json, options = {}) {
|
|
30011
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
30011
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30012
30012
|
try {
|
|
30013
30013
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
30014
30014
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30390,7 +30390,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
30390
30390
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30391
30391
|
*/
|
|
30392
30392
|
static async fromJsonLd(json, options = {}) {
|
|
30393
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
30393
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30394
30394
|
try {
|
|
30395
30395
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
30396
30396
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30554,7 +30554,7 @@ var Image = class Image extends Document {
|
|
|
30554
30554
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30555
30555
|
*/
|
|
30556
30556
|
static async fromJsonLd(json, options = {}) {
|
|
30557
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
30557
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30558
30558
|
try {
|
|
30559
30559
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
30560
30560
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30706,7 +30706,7 @@ var Offer = class Offer extends Activity {
|
|
|
30706
30706
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30707
30707
|
*/
|
|
30708
30708
|
static async fromJsonLd(json, options = {}) {
|
|
30709
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
30709
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30710
30710
|
try {
|
|
30711
30711
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
30712
30712
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30858,7 +30858,7 @@ var Invite = class Invite extends Offer {
|
|
|
30858
30858
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30859
30859
|
*/
|
|
30860
30860
|
static async fromJsonLd(json, options = {}) {
|
|
30861
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
30861
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30862
30862
|
try {
|
|
30863
30863
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
30864
30864
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31009,7 +31009,7 @@ var Join = class Join extends Activity {
|
|
|
31009
31009
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31010
31010
|
*/
|
|
31011
31011
|
static async fromJsonLd(json, options = {}) {
|
|
31012
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31012
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31013
31013
|
try {
|
|
31014
31014
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
31015
31015
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31160,7 +31160,7 @@ var Leave = class Leave extends Activity {
|
|
|
31160
31160
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31161
31161
|
*/
|
|
31162
31162
|
static async fromJsonLd(json, options = {}) {
|
|
31163
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31163
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31164
31164
|
try {
|
|
31165
31165
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
31166
31166
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31315,7 +31315,7 @@ var Like = class Like extends Activity {
|
|
|
31315
31315
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31316
31316
|
*/
|
|
31317
31317
|
static async fromJsonLd(json, options = {}) {
|
|
31318
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31318
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31319
31319
|
try {
|
|
31320
31320
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
31321
31321
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31465,7 +31465,7 @@ var Listen = class Listen extends Activity {
|
|
|
31465
31465
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31466
31466
|
*/
|
|
31467
31467
|
static async fromJsonLd(json, options = {}) {
|
|
31468
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31468
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31469
31469
|
try {
|
|
31470
31470
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
31471
31471
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31618,7 +31618,7 @@ var Mention = class Mention extends Link {
|
|
|
31618
31618
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31619
31619
|
*/
|
|
31620
31620
|
static async fromJsonLd(json, options = {}) {
|
|
31621
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31621
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31622
31622
|
try {
|
|
31623
31623
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
31624
31624
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31770,7 +31770,7 @@ var Move = class Move extends Activity {
|
|
|
31770
31770
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31771
31771
|
*/
|
|
31772
31772
|
static async fromJsonLd(json, options = {}) {
|
|
31773
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31773
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31774
31774
|
try {
|
|
31775
31775
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
31776
31776
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31903,7 +31903,7 @@ var Note = class Note extends Object$1 {
|
|
|
31903
31903
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31904
31904
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31905
31905
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31906
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
31906
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31907
31907
|
let fetchResult;
|
|
31908
31908
|
try {
|
|
31909
31909
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32041,7 +32041,7 @@ var Note = class Note extends Object$1 {
|
|
|
32041
32041
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32042
32042
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32043
32043
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32044
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
32044
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32045
32045
|
let fetchResult;
|
|
32046
32046
|
try {
|
|
32047
32047
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32327,7 +32327,7 @@ var Note = class Note extends Object$1 {
|
|
|
32327
32327
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32328
32328
|
*/
|
|
32329
32329
|
static async fromJsonLd(json, options = {}) {
|
|
32330
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32330
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32331
32331
|
try {
|
|
32332
32332
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
32333
32333
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32514,7 +32514,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
32514
32514
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32515
32515
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32516
32516
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32517
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
32517
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32518
32518
|
let fetchResult;
|
|
32519
32519
|
try {
|
|
32520
32520
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32784,7 +32784,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
32784
32784
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32785
32785
|
*/
|
|
32786
32786
|
static async fromJsonLd(json, options = {}) {
|
|
32787
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32787
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32788
32788
|
try {
|
|
32789
32789
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
32790
32790
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33005,7 +33005,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
33005
33005
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33006
33006
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33007
33007
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33008
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33008
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33009
33009
|
let fetchResult;
|
|
33010
33010
|
try {
|
|
33011
33011
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33298,7 +33298,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
33298
33298
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33299
33299
|
*/
|
|
33300
33300
|
static async fromJsonLd(json, options = {}) {
|
|
33301
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
33301
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33302
33302
|
try {
|
|
33303
33303
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
33304
33304
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33811,7 +33811,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33811
33811
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33812
33812
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33813
33813
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33814
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33814
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33815
33815
|
let fetchResult;
|
|
33816
33816
|
try {
|
|
33817
33817
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33973,7 +33973,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33973
33973
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33974
33974
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33975
33975
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33976
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33976
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33977
33977
|
let fetchResult;
|
|
33978
33978
|
try {
|
|
33979
33979
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34153,7 +34153,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34153
34153
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34154
34154
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34155
34155
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34156
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34156
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34157
34157
|
let fetchResult;
|
|
34158
34158
|
try {
|
|
34159
34159
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34295,7 +34295,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34295
34295
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34296
34296
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34297
34297
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34298
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34298
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34299
34299
|
let fetchResult;
|
|
34300
34300
|
try {
|
|
34301
34301
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34434,7 +34434,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34434
34434
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34435
34435
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34436
34436
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34437
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34437
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34438
34438
|
let fetchResult;
|
|
34439
34439
|
try {
|
|
34440
34440
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34558,7 +34558,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34558
34558
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34559
34559
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34560
34560
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34561
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34561
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34562
34562
|
let fetchResult;
|
|
34563
34563
|
try {
|
|
34564
34564
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34685,7 +34685,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34685
34685
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34686
34686
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34687
34687
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34688
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34688
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34689
34689
|
let fetchResult;
|
|
34690
34690
|
try {
|
|
34691
34691
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34810,7 +34810,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34810
34810
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34811
34811
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34812
34812
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34813
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34813
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34814
34814
|
let fetchResult;
|
|
34815
34815
|
try {
|
|
34816
34816
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34933,7 +34933,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34933
34933
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34934
34934
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34935
34935
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34936
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34936
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34937
34937
|
let fetchResult;
|
|
34938
34938
|
try {
|
|
34939
34939
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35056,7 +35056,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35056
35056
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35057
35057
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35058
35058
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35059
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35059
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35060
35060
|
let fetchResult;
|
|
35061
35061
|
try {
|
|
35062
35062
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35218,7 +35218,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35218
35218
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35219
35219
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35220
35220
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35221
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35221
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35222
35222
|
let fetchResult;
|
|
35223
35223
|
try {
|
|
35224
35224
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35384,7 +35384,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35384
35384
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35385
35385
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35386
35386
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35387
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35387
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35388
35388
|
let fetchResult;
|
|
35389
35389
|
try {
|
|
35390
35390
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35598,7 +35598,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35598
35598
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35599
35599
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35600
35600
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35601
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35601
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35602
35602
|
let fetchResult;
|
|
35603
35603
|
try {
|
|
35604
35604
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36283,7 +36283,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36283
36283
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36284
36284
|
*/
|
|
36285
36285
|
static async fromJsonLd(json, options = {}) {
|
|
36286
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
36286
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36287
36287
|
try {
|
|
36288
36288
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
36289
36289
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36973,7 +36973,7 @@ var Page = class Page extends Document {
|
|
|
36973
36973
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36974
36974
|
*/
|
|
36975
36975
|
static async fromJsonLd(json, options = {}) {
|
|
36976
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
36976
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36977
36977
|
try {
|
|
36978
36978
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
36979
36979
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37370,7 +37370,7 @@ var Person = class Person extends Object$1 {
|
|
|
37370
37370
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37371
37371
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37372
37372
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37373
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
37373
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37374
37374
|
let fetchResult;
|
|
37375
37375
|
try {
|
|
37376
37376
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37532,7 +37532,7 @@ var Person = class Person extends Object$1 {
|
|
|
37532
37532
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37533
37533
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37534
37534
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37535
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
37535
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37536
37536
|
let fetchResult;
|
|
37537
37537
|
try {
|
|
37538
37538
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37712,7 +37712,7 @@ var Person = class Person extends Object$1 {
|
|
|
37712
37712
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37713
37713
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37714
37714
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37715
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
37715
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37716
37716
|
let fetchResult;
|
|
37717
37717
|
try {
|
|
37718
37718
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37854,7 +37854,7 @@ var Person = class Person extends Object$1 {
|
|
|
37854
37854
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37855
37855
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37856
37856
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37857
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
37857
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37858
37858
|
let fetchResult;
|
|
37859
37859
|
try {
|
|
37860
37860
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37993,7 +37993,7 @@ var Person = class Person extends Object$1 {
|
|
|
37993
37993
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37994
37994
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37995
37995
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37996
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
37996
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37997
37997
|
let fetchResult;
|
|
37998
37998
|
try {
|
|
37999
37999
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38117,7 +38117,7 @@ var Person = class Person extends Object$1 {
|
|
|
38117
38117
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38118
38118
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38119
38119
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38120
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38120
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38121
38121
|
let fetchResult;
|
|
38122
38122
|
try {
|
|
38123
38123
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38244,7 +38244,7 @@ var Person = class Person extends Object$1 {
|
|
|
38244
38244
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38245
38245
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38246
38246
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38247
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38247
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38248
38248
|
let fetchResult;
|
|
38249
38249
|
try {
|
|
38250
38250
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38369,7 +38369,7 @@ var Person = class Person extends Object$1 {
|
|
|
38369
38369
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38370
38370
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38371
38371
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38372
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38372
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38373
38373
|
let fetchResult;
|
|
38374
38374
|
try {
|
|
38375
38375
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38492,7 +38492,7 @@ var Person = class Person extends Object$1 {
|
|
|
38492
38492
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38493
38493
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38494
38494
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38495
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38495
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38496
38496
|
let fetchResult;
|
|
38497
38497
|
try {
|
|
38498
38498
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38615,7 +38615,7 @@ var Person = class Person extends Object$1 {
|
|
|
38615
38615
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38616
38616
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38617
38617
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38618
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38618
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38619
38619
|
let fetchResult;
|
|
38620
38620
|
try {
|
|
38621
38621
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38777,7 +38777,7 @@ var Person = class Person extends Object$1 {
|
|
|
38777
38777
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38778
38778
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38779
38779
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38780
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38780
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38781
38781
|
let fetchResult;
|
|
38782
38782
|
try {
|
|
38783
38783
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38943,7 +38943,7 @@ var Person = class Person extends Object$1 {
|
|
|
38943
38943
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38944
38944
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38945
38945
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38946
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38946
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38947
38947
|
let fetchResult;
|
|
38948
38948
|
try {
|
|
38949
38949
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39157,7 +39157,7 @@ var Person = class Person extends Object$1 {
|
|
|
39157
39157
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39158
39158
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39159
39159
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39160
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39160
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39161
39161
|
let fetchResult;
|
|
39162
39162
|
try {
|
|
39163
39163
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39842,7 +39842,7 @@ var Person = class Person extends Object$1 {
|
|
|
39842
39842
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39843
39843
|
*/
|
|
39844
39844
|
static async fromJsonLd(json, options = {}) {
|
|
39845
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
39845
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39846
39846
|
try {
|
|
39847
39847
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
39848
39848
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40709,7 +40709,7 @@ var Place = class Place extends Object$1 {
|
|
|
40709
40709
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40710
40710
|
*/
|
|
40711
40711
|
static async fromJsonLd(json, options = {}) {
|
|
40712
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
40712
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40713
40713
|
try {
|
|
40714
40714
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
40715
40715
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40936,7 +40936,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
40936
40936
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40937
40937
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40938
40938
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40939
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
40939
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40940
40940
|
let fetchResult;
|
|
40941
40941
|
try {
|
|
40942
40942
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41137,7 +41137,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
41137
41137
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41138
41138
|
*/
|
|
41139
41139
|
static async fromJsonLd(json, options = {}) {
|
|
41140
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
41140
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41141
41141
|
try {
|
|
41142
41142
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
41143
41143
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41340,7 +41340,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
41340
41340
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41341
41341
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41342
41342
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41343
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
41343
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41344
41344
|
let fetchResult;
|
|
41345
41345
|
try {
|
|
41346
41346
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41462,7 +41462,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
41462
41462
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41463
41463
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41464
41464
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41465
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
41465
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41466
41466
|
let fetchResult;
|
|
41467
41467
|
try {
|
|
41468
41468
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41600,7 +41600,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
41600
41600
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41601
41601
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41602
41602
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41603
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
41603
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41604
41604
|
let fetchResult;
|
|
41605
41605
|
try {
|
|
41606
41606
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41738,7 +41738,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
41738
41738
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41739
41739
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41740
41740
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41741
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
41741
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41742
41742
|
let fetchResult;
|
|
41743
41743
|
try {
|
|
41744
41744
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41990,7 +41990,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
41990
41990
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41991
41991
|
*/
|
|
41992
41992
|
static async fromJsonLd(json, options = {}) {
|
|
41993
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
41993
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41994
41994
|
try {
|
|
41995
41995
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
41996
41996
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42297,7 +42297,7 @@ var Read = class Read extends Activity {
|
|
|
42297
42297
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42298
42298
|
*/
|
|
42299
42299
|
static async fromJsonLd(json, options = {}) {
|
|
42300
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
42300
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42301
42301
|
try {
|
|
42302
42302
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
42303
42303
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42448,7 +42448,7 @@ var Reject = class Reject extends Activity {
|
|
|
42448
42448
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42449
42449
|
*/
|
|
42450
42450
|
static async fromJsonLd(json, options = {}) {
|
|
42451
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
42451
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42452
42452
|
try {
|
|
42453
42453
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
42454
42454
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42623,7 +42623,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
42623
42623
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42624
42624
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42625
42625
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42626
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42626
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42627
42627
|
let fetchResult;
|
|
42628
42628
|
try {
|
|
42629
42629
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42746,7 +42746,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
42746
42746
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42747
42747
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42748
42748
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42749
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42749
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42750
42750
|
let fetchResult;
|
|
42751
42751
|
try {
|
|
42752
42752
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42908,7 +42908,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
42908
42908
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42909
42909
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42910
42910
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42911
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42911
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42912
42912
|
let fetchResult;
|
|
42913
42913
|
try {
|
|
42914
42914
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43186,7 +43186,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
43186
43186
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43187
43187
|
*/
|
|
43188
43188
|
static async fromJsonLd(json, options = {}) {
|
|
43189
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
43189
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43190
43190
|
try {
|
|
43191
43191
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
43192
43192
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43415,7 +43415,7 @@ var Remove = class Remove extends Activity {
|
|
|
43415
43415
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43416
43416
|
*/
|
|
43417
43417
|
static async fromJsonLd(json, options = {}) {
|
|
43418
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
43418
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43419
43419
|
try {
|
|
43420
43420
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
43421
43421
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43812,7 +43812,7 @@ var Service = class Service extends Object$1 {
|
|
|
43812
43812
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43813
43813
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43814
43814
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43815
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
43815
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43816
43816
|
let fetchResult;
|
|
43817
43817
|
try {
|
|
43818
43818
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43974,7 +43974,7 @@ var Service = class Service extends Object$1 {
|
|
|
43974
43974
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43975
43975
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43976
43976
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43977
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
43977
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43978
43978
|
let fetchResult;
|
|
43979
43979
|
try {
|
|
43980
43980
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44154,7 +44154,7 @@ var Service = class Service extends Object$1 {
|
|
|
44154
44154
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44155
44155
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44156
44156
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44157
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44157
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44158
44158
|
let fetchResult;
|
|
44159
44159
|
try {
|
|
44160
44160
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44296,7 +44296,7 @@ var Service = class Service extends Object$1 {
|
|
|
44296
44296
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44297
44297
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44298
44298
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44299
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44299
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44300
44300
|
let fetchResult;
|
|
44301
44301
|
try {
|
|
44302
44302
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44435,7 +44435,7 @@ var Service = class Service extends Object$1 {
|
|
|
44435
44435
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44436
44436
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44437
44437
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44438
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44438
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44439
44439
|
let fetchResult;
|
|
44440
44440
|
try {
|
|
44441
44441
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44559,7 +44559,7 @@ var Service = class Service extends Object$1 {
|
|
|
44559
44559
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44560
44560
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44561
44561
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44562
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44562
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44563
44563
|
let fetchResult;
|
|
44564
44564
|
try {
|
|
44565
44565
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44686,7 +44686,7 @@ var Service = class Service extends Object$1 {
|
|
|
44686
44686
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44687
44687
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44688
44688
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44689
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44689
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44690
44690
|
let fetchResult;
|
|
44691
44691
|
try {
|
|
44692
44692
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44811,7 +44811,7 @@ var Service = class Service extends Object$1 {
|
|
|
44811
44811
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44812
44812
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44813
44813
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44814
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44814
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44815
44815
|
let fetchResult;
|
|
44816
44816
|
try {
|
|
44817
44817
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44934,7 +44934,7 @@ var Service = class Service extends Object$1 {
|
|
|
44934
44934
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44935
44935
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44936
44936
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44937
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44937
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44938
44938
|
let fetchResult;
|
|
44939
44939
|
try {
|
|
44940
44940
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45057,7 +45057,7 @@ var Service = class Service extends Object$1 {
|
|
|
45057
45057
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45058
45058
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45059
45059
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45060
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
45060
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45061
45061
|
let fetchResult;
|
|
45062
45062
|
try {
|
|
45063
45063
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45219,7 +45219,7 @@ var Service = class Service extends Object$1 {
|
|
|
45219
45219
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45220
45220
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45221
45221
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45222
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
45222
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45223
45223
|
let fetchResult;
|
|
45224
45224
|
try {
|
|
45225
45225
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45385,7 +45385,7 @@ var Service = class Service extends Object$1 {
|
|
|
45385
45385
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45386
45386
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45387
45387
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45388
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
45388
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45389
45389
|
let fetchResult;
|
|
45390
45390
|
try {
|
|
45391
45391
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45599,7 +45599,7 @@ var Service = class Service extends Object$1 {
|
|
|
45599
45599
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45600
45600
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45601
45601
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45602
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
45602
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45603
45603
|
let fetchResult;
|
|
45604
45604
|
try {
|
|
45605
45605
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46284,7 +46284,7 @@ var Service = class Service extends Object$1 {
|
|
|
46284
46284
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46285
46285
|
*/
|
|
46286
46286
|
static async fromJsonLd(json, options = {}) {
|
|
46287
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
46287
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46288
46288
|
try {
|
|
46289
46289
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
46290
46290
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -47068,7 +47068,7 @@ var Source = class {
|
|
|
47068
47068
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47069
47069
|
*/
|
|
47070
47070
|
static async fromJsonLd(json, options = {}) {
|
|
47071
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
47071
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47072
47072
|
try {
|
|
47073
47073
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
47074
47074
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -47256,7 +47256,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
47256
47256
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47257
47257
|
*/
|
|
47258
47258
|
static async fromJsonLd(json, options = {}) {
|
|
47259
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
47259
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47260
47260
|
try {
|
|
47261
47261
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
47262
47262
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -47407,7 +47407,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
47407
47407
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47408
47408
|
*/
|
|
47409
47409
|
static async fromJsonLd(json, options = {}) {
|
|
47410
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
47410
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47411
47411
|
try {
|
|
47412
47412
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
47413
47413
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -47647,7 +47647,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
47647
47647
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47648
47648
|
*/
|
|
47649
47649
|
static async fromJsonLd(json, options = {}) {
|
|
47650
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
47650
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47651
47651
|
try {
|
|
47652
47652
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
47653
47653
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -47843,7 +47843,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
47843
47843
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47844
47844
|
*/
|
|
47845
47845
|
static async fromJsonLd(json, options = {}) {
|
|
47846
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
47846
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47847
47847
|
try {
|
|
47848
47848
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
47849
47849
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48008,7 +48008,7 @@ var Undo = class Undo extends Activity {
|
|
|
48008
48008
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48009
48009
|
*/
|
|
48010
48010
|
static async fromJsonLd(json, options = {}) {
|
|
48011
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
48011
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48012
48012
|
try {
|
|
48013
48013
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
48014
48014
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48221,7 +48221,7 @@ var Update = class Update extends Activity {
|
|
|
48221
48221
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48222
48222
|
*/
|
|
48223
48223
|
static async fromJsonLd(json, options = {}) {
|
|
48224
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
48224
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48225
48225
|
try {
|
|
48226
48226
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
48227
48227
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48385,7 +48385,7 @@ var Video = class Video extends Document {
|
|
|
48385
48385
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48386
48386
|
*/
|
|
48387
48387
|
static async fromJsonLd(json, options = {}) {
|
|
48388
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
48388
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48389
48389
|
try {
|
|
48390
48390
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
48391
48391
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48535,7 +48535,7 @@ var View = class View extends Activity {
|
|
|
48535
48535
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48536
48536
|
*/
|
|
48537
48537
|
static async fromJsonLd(json, options = {}) {
|
|
48538
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
48538
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.8").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48539
48539
|
try {
|
|
48540
48540
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
48541
48541
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|