@fedify/vocab 2.0.23 → 2.0.24
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 +185 -185
- package/dist/mod.js +185 -185
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/{deno-Bnxv3jIv.mjs → deno-BeHhIPgb.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-CAV_rQj3.mjs → vocab-DRq2fgYq.mjs} +184 -184
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
|
@@ -734,7 +734,7 @@ var Object$1 = class Object$1 {
|
|
|
734
734
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
735
735
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
736
736
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
737
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
737
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
738
738
|
let fetchResult;
|
|
739
739
|
try {
|
|
740
740
|
fetchResult = await documentLoader(url.href);
|
|
@@ -880,7 +880,7 @@ var Object$1 = class Object$1 {
|
|
|
880
880
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
881
881
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
882
882
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
883
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
883
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
884
884
|
let fetchResult;
|
|
885
885
|
try {
|
|
886
886
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1092,7 +1092,7 @@ var Object$1 = class Object$1 {
|
|
|
1092
1092
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1093
1093
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1094
1094
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1095
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1095
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1096
1096
|
let fetchResult;
|
|
1097
1097
|
try {
|
|
1098
1098
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1276,7 +1276,7 @@ var Object$1 = class Object$1 {
|
|
|
1276
1276
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1277
1277
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1278
1278
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1279
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1279
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1280
1280
|
let fetchResult;
|
|
1281
1281
|
try {
|
|
1282
1282
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1438,7 +1438,7 @@ var Object$1 = class Object$1 {
|
|
|
1438
1438
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1439
1439
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1440
1440
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1441
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1441
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1442
1442
|
let fetchResult;
|
|
1443
1443
|
try {
|
|
1444
1444
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1568,7 +1568,7 @@ var Object$1 = class Object$1 {
|
|
|
1568
1568
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1569
1569
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1570
1570
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1571
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1571
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1572
1572
|
let fetchResult;
|
|
1573
1573
|
try {
|
|
1574
1574
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1734,7 +1734,7 @@ var Object$1 = class Object$1 {
|
|
|
1734
1734
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1735
1735
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1736
1736
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1737
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1737
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1738
1738
|
let fetchResult;
|
|
1739
1739
|
try {
|
|
1740
1740
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1900,7 +1900,7 @@ var Object$1 = class Object$1 {
|
|
|
1900
1900
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1901
1901
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1902
1902
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1903
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1903
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1904
1904
|
let fetchResult;
|
|
1905
1905
|
try {
|
|
1906
1906
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2074,7 +2074,7 @@ var Object$1 = class Object$1 {
|
|
|
2074
2074
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2075
2075
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2076
2076
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2077
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2077
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2078
2078
|
let fetchResult;
|
|
2079
2079
|
try {
|
|
2080
2080
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2248,7 +2248,7 @@ var Object$1 = class Object$1 {
|
|
|
2248
2248
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2249
2249
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2250
2250
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2251
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2251
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2252
2252
|
let fetchResult;
|
|
2253
2253
|
try {
|
|
2254
2254
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2427,7 +2427,7 @@ var Object$1 = class Object$1 {
|
|
|
2427
2427
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2428
2428
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2429
2429
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2430
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2430
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2431
2431
|
let fetchResult;
|
|
2432
2432
|
try {
|
|
2433
2433
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2548,7 +2548,7 @@ var Object$1 = class Object$1 {
|
|
|
2548
2548
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2549
2549
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2550
2550
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2551
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2551
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2552
2552
|
let fetchResult;
|
|
2553
2553
|
try {
|
|
2554
2554
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2675,7 +2675,7 @@ var Object$1 = class Object$1 {
|
|
|
2675
2675
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2676
2676
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2677
2677
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2678
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2678
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2679
2679
|
let fetchResult;
|
|
2680
2680
|
try {
|
|
2681
2681
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2802,7 +2802,7 @@ var Object$1 = class Object$1 {
|
|
|
2802
2802
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2803
2803
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2804
2804
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2805
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2805
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2806
2806
|
let fetchResult;
|
|
2807
2807
|
try {
|
|
2808
2808
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2947,7 +2947,7 @@ var Object$1 = class Object$1 {
|
|
|
2947
2947
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2948
2948
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2949
2949
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2950
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2950
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2951
2951
|
let fetchResult;
|
|
2952
2952
|
try {
|
|
2953
2953
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3099,7 +3099,7 @@ var Object$1 = class Object$1 {
|
|
|
3099
3099
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3100
3100
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3101
3101
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3102
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3102
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3103
3103
|
let fetchResult;
|
|
3104
3104
|
try {
|
|
3105
3105
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3263,7 +3263,7 @@ var Object$1 = class Object$1 {
|
|
|
3263
3263
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3264
3264
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3265
3265
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3266
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3266
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3267
3267
|
let fetchResult;
|
|
3268
3268
|
try {
|
|
3269
3269
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3427,7 +3427,7 @@ var Object$1 = class Object$1 {
|
|
|
3427
3427
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3428
3428
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3429
3429
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3430
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3430
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3431
3431
|
let fetchResult;
|
|
3432
3432
|
try {
|
|
3433
3433
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3591,7 +3591,7 @@ var Object$1 = class Object$1 {
|
|
|
3591
3591
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3592
3592
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3593
3593
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3594
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3594
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3595
3595
|
let fetchResult;
|
|
3596
3596
|
try {
|
|
3597
3597
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3792,7 +3792,7 @@ var Object$1 = class Object$1 {
|
|
|
3792
3792
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3793
3793
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3794
3794
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3795
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3795
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3796
3796
|
let fetchResult;
|
|
3797
3797
|
try {
|
|
3798
3798
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4581,7 +4581,7 @@ var Object$1 = class Object$1 {
|
|
|
4581
4581
|
* @throws {TypeError} If the given `json` is invalid.
|
|
4582
4582
|
*/
|
|
4583
4583
|
static async fromJsonLd(json, options = {}) {
|
|
4584
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
4584
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
4585
4585
|
try {
|
|
4586
4586
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
4587
4587
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -5915,7 +5915,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
5915
5915
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5916
5916
|
*/
|
|
5917
5917
|
static async fromJsonLd(json, options = {}) {
|
|
5918
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
5918
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5919
5919
|
try {
|
|
5920
5920
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
5921
5921
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6154,7 +6154,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6154
6154
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6155
6155
|
*/
|
|
6156
6156
|
static async fromJsonLd(json, options = {}) {
|
|
6157
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
6157
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6158
6158
|
try {
|
|
6159
6159
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
6160
6160
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6439,7 +6439,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6439
6439
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6440
6440
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6441
6441
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6442
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6442
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6443
6443
|
let fetchResult;
|
|
6444
6444
|
try {
|
|
6445
6445
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6651,7 +6651,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6651
6651
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6652
6652
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6653
6653
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6654
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6654
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6655
6655
|
let fetchResult;
|
|
6656
6656
|
try {
|
|
6657
6657
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6817,7 +6817,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6817
6817
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6818
6818
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6819
6819
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6820
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6820
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6821
6821
|
let fetchResult;
|
|
6822
6822
|
try {
|
|
6823
6823
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6989,7 +6989,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6989
6989
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6990
6990
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6991
6991
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6992
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6992
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6993
6993
|
let fetchResult;
|
|
6994
6994
|
try {
|
|
6995
6995
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7155,7 +7155,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7155
7155
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7156
7156
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7157
7157
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7158
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7158
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7159
7159
|
let fetchResult;
|
|
7160
7160
|
try {
|
|
7161
7161
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7323,7 +7323,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7323
7323
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7324
7324
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7325
7325
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7326
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7326
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7327
7327
|
let fetchResult;
|
|
7328
7328
|
try {
|
|
7329
7329
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7573,7 +7573,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7573
7573
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7574
7574
|
*/
|
|
7575
7575
|
static async fromJsonLd(json, options = {}) {
|
|
7576
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
7576
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7577
7577
|
try {
|
|
7578
7578
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
7579
7579
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7907,7 +7907,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
7907
7907
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7908
7908
|
*/
|
|
7909
7909
|
static async fromJsonLd(json, options = {}) {
|
|
7910
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
7910
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7911
7911
|
try {
|
|
7912
7912
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
7913
7913
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8167,7 +8167,7 @@ var PropertyValue = class {
|
|
|
8167
8167
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8168
8168
|
*/
|
|
8169
8169
|
static async fromJsonLd(json, options = {}) {
|
|
8170
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8170
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8171
8171
|
try {
|
|
8172
8172
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
8173
8173
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8423,7 +8423,7 @@ var DidService = class {
|
|
|
8423
8423
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8424
8424
|
*/
|
|
8425
8425
|
static async fromJsonLd(json, options = {}) {
|
|
8426
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8426
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8427
8427
|
try {
|
|
8428
8428
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
8429
8429
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8581,7 +8581,7 @@ var Export = class Export extends DidService {
|
|
|
8581
8581
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8582
8582
|
*/
|
|
8583
8583
|
static async fromJsonLd(json, options = {}) {
|
|
8584
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8584
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8585
8585
|
try {
|
|
8586
8586
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
8587
8587
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8768,7 +8768,7 @@ var DataIntegrityProof = class {
|
|
|
8768
8768
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8769
8769
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8770
8770
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8771
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
8771
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8772
8772
|
let fetchResult;
|
|
8773
8773
|
try {
|
|
8774
8774
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8987,7 +8987,7 @@ var DataIntegrityProof = class {
|
|
|
8987
8987
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8988
8988
|
*/
|
|
8989
8989
|
static async fromJsonLd(json, options = {}) {
|
|
8990
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8990
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8991
8991
|
try {
|
|
8992
8992
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
8993
8993
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9225,7 +9225,7 @@ var CryptographicKey = class {
|
|
|
9225
9225
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9226
9226
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9227
9227
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9228
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
9228
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9229
9229
|
let fetchResult;
|
|
9230
9230
|
try {
|
|
9231
9231
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9487,7 +9487,7 @@ var CryptographicKey = class {
|
|
|
9487
9487
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9488
9488
|
*/
|
|
9489
9489
|
static async fromJsonLd(json, options = {}) {
|
|
9490
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9490
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9491
9491
|
try {
|
|
9492
9492
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
9493
9493
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9702,7 +9702,7 @@ var Multikey = class {
|
|
|
9702
9702
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9703
9703
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9704
9704
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9705
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
9705
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9706
9706
|
let fetchResult;
|
|
9707
9707
|
try {
|
|
9708
9708
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9970,7 +9970,7 @@ var Multikey = class {
|
|
|
9970
9970
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9971
9971
|
*/
|
|
9972
9972
|
static async fromJsonLd(json, options = {}) {
|
|
9973
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9973
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9974
9974
|
try {
|
|
9975
9975
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
9976
9976
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10172,7 +10172,7 @@ var Accept = class Accept extends Activity {
|
|
|
10172
10172
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10173
10173
|
*/
|
|
10174
10174
|
static async fromJsonLd(json, options = {}) {
|
|
10175
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10175
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10176
10176
|
try {
|
|
10177
10177
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
10178
10178
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10325,7 +10325,7 @@ var Add = class Add extends Activity {
|
|
|
10325
10325
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10326
10326
|
*/
|
|
10327
10327
|
static async fromJsonLd(json, options = {}) {
|
|
10328
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10328
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10329
10329
|
try {
|
|
10330
10330
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
10331
10331
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10495,7 +10495,7 @@ var Announce = class Announce extends Activity {
|
|
|
10495
10495
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10496
10496
|
*/
|
|
10497
10497
|
static async fromJsonLd(json, options = {}) {
|
|
10498
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10498
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10499
10499
|
try {
|
|
10500
10500
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
10501
10501
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10892,7 +10892,7 @@ var Application = class Application extends Object$1 {
|
|
|
10892
10892
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10893
10893
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10894
10894
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10895
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
10895
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10896
10896
|
let fetchResult;
|
|
10897
10897
|
try {
|
|
10898
10898
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11054,7 +11054,7 @@ var Application = class Application extends Object$1 {
|
|
|
11054
11054
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11055
11055
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11056
11056
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11057
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11057
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11058
11058
|
let fetchResult;
|
|
11059
11059
|
try {
|
|
11060
11060
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11234,7 +11234,7 @@ var Application = class Application extends Object$1 {
|
|
|
11234
11234
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11235
11235
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11236
11236
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11237
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11237
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11238
11238
|
let fetchResult;
|
|
11239
11239
|
try {
|
|
11240
11240
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11376,7 +11376,7 @@ var Application = class Application extends Object$1 {
|
|
|
11376
11376
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11377
11377
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11378
11378
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11379
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11379
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11380
11380
|
let fetchResult;
|
|
11381
11381
|
try {
|
|
11382
11382
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11515,7 +11515,7 @@ var Application = class Application extends Object$1 {
|
|
|
11515
11515
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11516
11516
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11517
11517
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11518
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11518
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11519
11519
|
let fetchResult;
|
|
11520
11520
|
try {
|
|
11521
11521
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11639,7 +11639,7 @@ var Application = class Application extends Object$1 {
|
|
|
11639
11639
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11640
11640
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11641
11641
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11642
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11642
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11643
11643
|
let fetchResult;
|
|
11644
11644
|
try {
|
|
11645
11645
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11766,7 +11766,7 @@ var Application = class Application extends Object$1 {
|
|
|
11766
11766
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11767
11767
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11768
11768
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11769
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11769
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11770
11770
|
let fetchResult;
|
|
11771
11771
|
try {
|
|
11772
11772
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11891,7 +11891,7 @@ var Application = class Application extends Object$1 {
|
|
|
11891
11891
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11892
11892
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11893
11893
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11894
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11894
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11895
11895
|
let fetchResult;
|
|
11896
11896
|
try {
|
|
11897
11897
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12014,7 +12014,7 @@ var Application = class Application extends Object$1 {
|
|
|
12014
12014
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12015
12015
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12016
12016
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12017
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12017
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12018
12018
|
let fetchResult;
|
|
12019
12019
|
try {
|
|
12020
12020
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12137,7 +12137,7 @@ var Application = class Application extends Object$1 {
|
|
|
12137
12137
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12138
12138
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12139
12139
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12140
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12140
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12141
12141
|
let fetchResult;
|
|
12142
12142
|
try {
|
|
12143
12143
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12299,7 +12299,7 @@ var Application = class Application extends Object$1 {
|
|
|
12299
12299
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12300
12300
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12301
12301
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12302
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12302
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12303
12303
|
let fetchResult;
|
|
12304
12304
|
try {
|
|
12305
12305
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12465,7 +12465,7 @@ var Application = class Application extends Object$1 {
|
|
|
12465
12465
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12466
12466
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12467
12467
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12468
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12468
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12469
12469
|
let fetchResult;
|
|
12470
12470
|
try {
|
|
12471
12471
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12679,7 +12679,7 @@ var Application = class Application extends Object$1 {
|
|
|
12679
12679
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12680
12680
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12681
12681
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12682
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12682
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12683
12683
|
let fetchResult;
|
|
12684
12684
|
try {
|
|
12685
12685
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13362,7 +13362,7 @@ var Application = class Application extends Object$1 {
|
|
|
13362
13362
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13363
13363
|
*/
|
|
13364
13364
|
static async fromJsonLd(json, options = {}) {
|
|
13365
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
13365
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13366
13366
|
try {
|
|
13367
13367
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
13368
13368
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13971,7 +13971,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
13971
13971
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13972
13972
|
*/
|
|
13973
13973
|
static async fromJsonLd(json, options = {}) {
|
|
13974
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
13974
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13975
13975
|
try {
|
|
13976
13976
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
13977
13977
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14125,7 +14125,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
14125
14125
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14126
14126
|
*/
|
|
14127
14127
|
static async fromJsonLd(json, options = {}) {
|
|
14128
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14128
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14129
14129
|
try {
|
|
14130
14130
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
14131
14131
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14362,7 +14362,7 @@ var Article = class Article extends Object$1 {
|
|
|
14362
14362
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14363
14363
|
*/
|
|
14364
14364
|
static async fromJsonLd(json, options = {}) {
|
|
14365
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14365
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14366
14366
|
try {
|
|
14367
14367
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
14368
14368
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14595,7 +14595,7 @@ var Document = class Document extends Object$1 {
|
|
|
14595
14595
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14596
14596
|
*/
|
|
14597
14597
|
static async fromJsonLd(json, options = {}) {
|
|
14598
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14598
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14599
14599
|
try {
|
|
14600
14600
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
14601
14601
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14784,7 +14784,7 @@ var Audio = class Audio extends Document {
|
|
|
14784
14784
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14785
14785
|
*/
|
|
14786
14786
|
static async fromJsonLd(json, options = {}) {
|
|
14787
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14787
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14788
14788
|
try {
|
|
14789
14789
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
14790
14790
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14934,7 +14934,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
14934
14934
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14935
14935
|
*/
|
|
14936
14936
|
static async fromJsonLd(json, options = {}) {
|
|
14937
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14937
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14938
14938
|
try {
|
|
14939
14939
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
14940
14940
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15087,7 +15087,7 @@ var Block = class Block extends Ignore {
|
|
|
15087
15087
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15088
15088
|
*/
|
|
15089
15089
|
static async fromJsonLd(json, options = {}) {
|
|
15090
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
15090
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15091
15091
|
try {
|
|
15092
15092
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
15093
15093
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15353,7 +15353,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15353
15353
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15354
15354
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15355
15355
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15356
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15356
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15357
15357
|
let fetchResult;
|
|
15358
15358
|
try {
|
|
15359
15359
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15474,7 +15474,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15474
15474
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15475
15475
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15476
15476
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15477
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15477
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15478
15478
|
let fetchResult;
|
|
15479
15479
|
try {
|
|
15480
15480
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15595,7 +15595,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15595
15595
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15596
15596
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15597
15597
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15598
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15598
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15599
15599
|
let fetchResult;
|
|
15600
15600
|
try {
|
|
15601
15601
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15716,7 +15716,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15716
15716
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15717
15717
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15718
15718
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15719
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15719
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15720
15720
|
let fetchResult;
|
|
15721
15721
|
try {
|
|
15722
15722
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15847,7 +15847,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15847
15847
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15848
15848
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15849
15849
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15850
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15850
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15851
15851
|
let fetchResult;
|
|
15852
15852
|
try {
|
|
15853
15853
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15967,7 +15967,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15967
15967
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15968
15968
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15969
15969
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15970
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15970
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15971
15971
|
let fetchResult;
|
|
15972
15972
|
try {
|
|
15973
15973
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16087,7 +16087,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16087
16087
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16088
16088
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16089
16089
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16090
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16090
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16091
16091
|
let fetchResult;
|
|
16092
16092
|
try {
|
|
16093
16093
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16207,7 +16207,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16207
16207
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16208
16208
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16209
16209
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16210
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16210
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16211
16211
|
let fetchResult;
|
|
16212
16212
|
try {
|
|
16213
16213
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16327,7 +16327,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16327
16327
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16328
16328
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16329
16329
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16330
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16330
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16331
16331
|
let fetchResult;
|
|
16332
16332
|
try {
|
|
16333
16333
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16447,7 +16447,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16447
16447
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16448
16448
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16449
16449
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16450
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16450
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16451
16451
|
let fetchResult;
|
|
16452
16452
|
try {
|
|
16453
16453
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16567,7 +16567,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16567
16567
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16568
16568
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16569
16569
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16570
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16570
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16571
16571
|
let fetchResult;
|
|
16572
16572
|
try {
|
|
16573
16573
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16687,7 +16687,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16687
16687
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16688
16688
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16689
16689
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16690
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16690
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16691
16691
|
let fetchResult;
|
|
16692
16692
|
try {
|
|
16693
16693
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17114,7 +17114,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
17114
17114
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17115
17115
|
*/
|
|
17116
17116
|
static async fromJsonLd(json, options = {}) {
|
|
17117
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
17117
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17118
17118
|
try {
|
|
17119
17119
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
17120
17120
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17591,7 +17591,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
17591
17591
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17592
17592
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17593
17593
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17594
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17594
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17595
17595
|
let fetchResult;
|
|
17596
17596
|
try {
|
|
17597
17597
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17712,7 +17712,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
17712
17712
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17713
17713
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17714
17714
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17715
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17715
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17716
17716
|
let fetchResult;
|
|
17717
17717
|
try {
|
|
17718
17718
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17832,7 +17832,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
17832
17832
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17833
17833
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17834
17834
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17835
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17835
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17836
17836
|
let fetchResult;
|
|
17837
17837
|
try {
|
|
17838
17838
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18096,7 +18096,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
18096
18096
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18097
18097
|
*/
|
|
18098
18098
|
static async fromJsonLd(json, options = {}) {
|
|
18099
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18099
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18100
18100
|
try {
|
|
18101
18101
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
18102
18102
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18330,7 +18330,7 @@ var Create = class Create extends Activity {
|
|
|
18330
18330
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18331
18331
|
*/
|
|
18332
18332
|
static async fromJsonLd(json, options = {}) {
|
|
18333
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18333
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18334
18334
|
try {
|
|
18335
18335
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
18336
18336
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18496,7 +18496,7 @@ var Delete = class Delete extends Activity {
|
|
|
18496
18496
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18497
18497
|
*/
|
|
18498
18498
|
static async fromJsonLd(json, options = {}) {
|
|
18499
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18499
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18500
18500
|
try {
|
|
18501
18501
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
18502
18502
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18649,7 +18649,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
18649
18649
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18650
18650
|
*/
|
|
18651
18651
|
static async fromJsonLd(json, options = {}) {
|
|
18652
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18652
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18653
18653
|
try {
|
|
18654
18654
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
18655
18655
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19010,7 +19010,7 @@ var Endpoints = class {
|
|
|
19010
19010
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19011
19011
|
*/
|
|
19012
19012
|
static async fromJsonLd(json, options = {}) {
|
|
19013
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19013
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19014
19014
|
try {
|
|
19015
19015
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
19016
19016
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19250,7 +19250,7 @@ var Event = class Event extends Object$1 {
|
|
|
19250
19250
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19251
19251
|
*/
|
|
19252
19252
|
static async fromJsonLd(json, options = {}) {
|
|
19253
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19253
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19254
19254
|
try {
|
|
19255
19255
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
19256
19256
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19401,7 +19401,7 @@ var Flag = class Flag extends Activity {
|
|
|
19401
19401
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19402
19402
|
*/
|
|
19403
19403
|
static async fromJsonLd(json, options = {}) {
|
|
19404
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19404
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19405
19405
|
try {
|
|
19406
19406
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
19407
19407
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19556,7 +19556,7 @@ var Follow = class Follow extends Activity {
|
|
|
19556
19556
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19557
19557
|
*/
|
|
19558
19558
|
static async fromJsonLd(json, options = {}) {
|
|
19559
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19559
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19560
19560
|
try {
|
|
19561
19561
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
19562
19562
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19953,7 +19953,7 @@ var Group = class Group extends Object$1 {
|
|
|
19953
19953
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19954
19954
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19955
19955
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19956
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
19956
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19957
19957
|
let fetchResult;
|
|
19958
19958
|
try {
|
|
19959
19959
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20115,7 +20115,7 @@ var Group = class Group extends Object$1 {
|
|
|
20115
20115
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20116
20116
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20117
20117
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20118
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20118
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20119
20119
|
let fetchResult;
|
|
20120
20120
|
try {
|
|
20121
20121
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20295,7 +20295,7 @@ var Group = class Group extends Object$1 {
|
|
|
20295
20295
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20296
20296
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20297
20297
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20298
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20298
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20299
20299
|
let fetchResult;
|
|
20300
20300
|
try {
|
|
20301
20301
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20437,7 +20437,7 @@ var Group = class Group extends Object$1 {
|
|
|
20437
20437
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20438
20438
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20439
20439
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20440
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20440
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20441
20441
|
let fetchResult;
|
|
20442
20442
|
try {
|
|
20443
20443
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20576,7 +20576,7 @@ var Group = class Group extends Object$1 {
|
|
|
20576
20576
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20577
20577
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20578
20578
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20579
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20579
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20580
20580
|
let fetchResult;
|
|
20581
20581
|
try {
|
|
20582
20582
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20700,7 +20700,7 @@ var Group = class Group extends Object$1 {
|
|
|
20700
20700
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20701
20701
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20702
20702
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20703
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20703
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20704
20704
|
let fetchResult;
|
|
20705
20705
|
try {
|
|
20706
20706
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20827,7 +20827,7 @@ var Group = class Group extends Object$1 {
|
|
|
20827
20827
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20828
20828
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20829
20829
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20830
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20830
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20831
20831
|
let fetchResult;
|
|
20832
20832
|
try {
|
|
20833
20833
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20952,7 +20952,7 @@ var Group = class Group extends Object$1 {
|
|
|
20952
20952
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20953
20953
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20954
20954
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20955
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20955
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20956
20956
|
let fetchResult;
|
|
20957
20957
|
try {
|
|
20958
20958
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21075,7 +21075,7 @@ var Group = class Group extends Object$1 {
|
|
|
21075
21075
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21076
21076
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21077
21077
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21078
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21078
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21079
21079
|
let fetchResult;
|
|
21080
21080
|
try {
|
|
21081
21081
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21198,7 +21198,7 @@ var Group = class Group extends Object$1 {
|
|
|
21198
21198
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21199
21199
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21200
21200
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21201
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21201
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21202
21202
|
let fetchResult;
|
|
21203
21203
|
try {
|
|
21204
21204
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21360,7 +21360,7 @@ var Group = class Group extends Object$1 {
|
|
|
21360
21360
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21361
21361
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21362
21362
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21363
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21363
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21364
21364
|
let fetchResult;
|
|
21365
21365
|
try {
|
|
21366
21366
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21526,7 +21526,7 @@ var Group = class Group extends Object$1 {
|
|
|
21526
21526
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21527
21527
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21528
21528
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21529
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21529
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21530
21530
|
let fetchResult;
|
|
21531
21531
|
try {
|
|
21532
21532
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21740,7 +21740,7 @@ var Group = class Group extends Object$1 {
|
|
|
21740
21740
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21741
21741
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21742
21742
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21743
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21743
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21744
21744
|
let fetchResult;
|
|
21745
21745
|
try {
|
|
21746
21746
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22423,7 +22423,7 @@ var Group = class Group extends Object$1 {
|
|
|
22423
22423
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22424
22424
|
*/
|
|
22425
22425
|
static async fromJsonLd(json, options = {}) {
|
|
22426
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
22426
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22427
22427
|
try {
|
|
22428
22428
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
22429
22429
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23183,7 +23183,7 @@ var Link = class Link {
|
|
|
23183
23183
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23184
23184
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23185
23185
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23186
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
23186
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23187
23187
|
let fetchResult;
|
|
23188
23188
|
try {
|
|
23189
23189
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23475,7 +23475,7 @@ var Link = class Link {
|
|
|
23475
23475
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23476
23476
|
*/
|
|
23477
23477
|
static async fromJsonLd(json, options = {}) {
|
|
23478
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23478
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23479
23479
|
try {
|
|
23480
23480
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
23481
23481
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23824,7 +23824,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
23824
23824
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23825
23825
|
*/
|
|
23826
23826
|
static async fromJsonLd(json, options = {}) {
|
|
23827
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23827
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23828
23828
|
try {
|
|
23829
23829
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
23830
23830
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23980,7 +23980,7 @@ var Image = class Image extends Document {
|
|
|
23980
23980
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23981
23981
|
*/
|
|
23982
23982
|
static async fromJsonLd(json, options = {}) {
|
|
23983
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23983
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23984
23984
|
try {
|
|
23985
23985
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
23986
23986
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24131,7 +24131,7 @@ var Offer = class Offer extends Activity {
|
|
|
24131
24131
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24132
24132
|
*/
|
|
24133
24133
|
static async fromJsonLd(json, options = {}) {
|
|
24134
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24134
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24135
24135
|
try {
|
|
24136
24136
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
24137
24137
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24282,7 +24282,7 @@ var Invite = class Invite extends Offer {
|
|
|
24282
24282
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24283
24283
|
*/
|
|
24284
24284
|
static async fromJsonLd(json, options = {}) {
|
|
24285
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24285
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24286
24286
|
try {
|
|
24287
24287
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
24288
24288
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24432,7 +24432,7 @@ var Join = class Join extends Activity {
|
|
|
24432
24432
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24433
24433
|
*/
|
|
24434
24434
|
static async fromJsonLd(json, options = {}) {
|
|
24435
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24435
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24436
24436
|
try {
|
|
24437
24437
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
24438
24438
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24582,7 +24582,7 @@ var Leave = class Leave extends Activity {
|
|
|
24582
24582
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24583
24583
|
*/
|
|
24584
24584
|
static async fromJsonLd(json, options = {}) {
|
|
24585
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24585
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24586
24586
|
try {
|
|
24587
24587
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
24588
24588
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24736,7 +24736,7 @@ var Like = class Like extends Activity {
|
|
|
24736
24736
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24737
24737
|
*/
|
|
24738
24738
|
static async fromJsonLd(json, options = {}) {
|
|
24739
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24739
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24740
24740
|
try {
|
|
24741
24741
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
24742
24742
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24885,7 +24885,7 @@ var Listen = class Listen extends Activity {
|
|
|
24885
24885
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24886
24886
|
*/
|
|
24887
24887
|
static async fromJsonLd(json, options = {}) {
|
|
24888
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24888
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24889
24889
|
try {
|
|
24890
24890
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
24891
24891
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25038,7 +25038,7 @@ var Mention = class Mention extends Link {
|
|
|
25038
25038
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25039
25039
|
*/
|
|
25040
25040
|
static async fromJsonLd(json, options = {}) {
|
|
25041
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25041
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25042
25042
|
try {
|
|
25043
25043
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
25044
25044
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25189,7 +25189,7 @@ var Move = class Move extends Activity {
|
|
|
25189
25189
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25190
25190
|
*/
|
|
25191
25191
|
static async fromJsonLd(json, options = {}) {
|
|
25192
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25192
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25193
25193
|
try {
|
|
25194
25194
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
25195
25195
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25427,7 +25427,7 @@ var Note = class Note extends Object$1 {
|
|
|
25427
25427
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25428
25428
|
*/
|
|
25429
25429
|
static async fromJsonLd(json, options = {}) {
|
|
25430
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25430
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25431
25431
|
try {
|
|
25432
25432
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
25433
25433
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25560,7 +25560,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
25560
25560
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25561
25561
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25562
25562
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25563
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
25563
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25564
25564
|
let fetchResult;
|
|
25565
25565
|
try {
|
|
25566
25566
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25808,7 +25808,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
25808
25808
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25809
25809
|
*/
|
|
25810
25810
|
static async fromJsonLd(json, options = {}) {
|
|
25811
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25811
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25812
25812
|
try {
|
|
25813
25813
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
25814
25814
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26020,7 +26020,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
26020
26020
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26021
26021
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26022
26022
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26023
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26023
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26024
26024
|
let fetchResult;
|
|
26025
26025
|
try {
|
|
26026
26026
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26291,7 +26291,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
26291
26291
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26292
26292
|
*/
|
|
26293
26293
|
static async fromJsonLd(json, options = {}) {
|
|
26294
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
26294
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26295
26295
|
try {
|
|
26296
26296
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
26297
26297
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26791,7 +26791,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
26791
26791
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26792
26792
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26793
26793
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26794
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26794
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26795
26795
|
let fetchResult;
|
|
26796
26796
|
try {
|
|
26797
26797
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26953,7 +26953,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
26953
26953
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26954
26954
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26955
26955
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26956
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26956
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26957
26957
|
let fetchResult;
|
|
26958
26958
|
try {
|
|
26959
26959
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27133,7 +27133,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27133
27133
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27134
27134
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27135
27135
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27136
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27136
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27137
27137
|
let fetchResult;
|
|
27138
27138
|
try {
|
|
27139
27139
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27275,7 +27275,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27275
27275
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27276
27276
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27277
27277
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27278
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27278
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27279
27279
|
let fetchResult;
|
|
27280
27280
|
try {
|
|
27281
27281
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27414,7 +27414,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27414
27414
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27415
27415
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27416
27416
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27417
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27417
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27418
27418
|
let fetchResult;
|
|
27419
27419
|
try {
|
|
27420
27420
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27538,7 +27538,7 @@ var Organization = class Organization 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.0.
|
|
27541
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27542
27542
|
let fetchResult;
|
|
27543
27543
|
try {
|
|
27544
27544
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27665,7 +27665,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27665
27665
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27666
27666
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27667
27667
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27668
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27668
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27669
27669
|
let fetchResult;
|
|
27670
27670
|
try {
|
|
27671
27671
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27790,7 +27790,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27790
27790
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27791
27791
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27792
27792
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27793
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27793
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27794
27794
|
let fetchResult;
|
|
27795
27795
|
try {
|
|
27796
27796
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27913,7 +27913,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27913
27913
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27914
27914
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27915
27915
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27916
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27916
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27917
27917
|
let fetchResult;
|
|
27918
27918
|
try {
|
|
27919
27919
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28036,7 +28036,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28036
28036
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28037
28037
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28038
28038
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28039
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28039
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28040
28040
|
let fetchResult;
|
|
28041
28041
|
try {
|
|
28042
28042
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28198,7 +28198,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28198
28198
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28199
28199
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28200
28200
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28201
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28201
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28202
28202
|
let fetchResult;
|
|
28203
28203
|
try {
|
|
28204
28204
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28364,7 +28364,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28364
28364
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28365
28365
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28366
28366
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28367
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28367
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28368
28368
|
let fetchResult;
|
|
28369
28369
|
try {
|
|
28370
28370
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28578,7 +28578,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28578
28578
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28579
28579
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28580
28580
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28581
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28581
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28582
28582
|
let fetchResult;
|
|
28583
28583
|
try {
|
|
28584
28584
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29261,7 +29261,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29261
29261
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29262
29262
|
*/
|
|
29263
29263
|
static async fromJsonLd(json, options = {}) {
|
|
29264
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
29264
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29265
29265
|
try {
|
|
29266
29266
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
29267
29267
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29875,7 +29875,7 @@ var Page = class Page extends Document {
|
|
|
29875
29875
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29876
29876
|
*/
|
|
29877
29877
|
static async fromJsonLd(json, options = {}) {
|
|
29878
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
29878
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29879
29879
|
try {
|
|
29880
29880
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
29881
29881
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30272,7 +30272,7 @@ var Person = class Person extends Object$1 {
|
|
|
30272
30272
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30273
30273
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30274
30274
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30275
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30275
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30276
30276
|
let fetchResult;
|
|
30277
30277
|
try {
|
|
30278
30278
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30434,7 +30434,7 @@ var Person = class Person extends Object$1 {
|
|
|
30434
30434
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30435
30435
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30436
30436
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30437
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30437
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30438
30438
|
let fetchResult;
|
|
30439
30439
|
try {
|
|
30440
30440
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30614,7 +30614,7 @@ var Person = class Person extends Object$1 {
|
|
|
30614
30614
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30615
30615
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30616
30616
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30617
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30617
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30618
30618
|
let fetchResult;
|
|
30619
30619
|
try {
|
|
30620
30620
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30756,7 +30756,7 @@ var Person = class Person extends Object$1 {
|
|
|
30756
30756
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30757
30757
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30758
30758
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30759
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30759
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30760
30760
|
let fetchResult;
|
|
30761
30761
|
try {
|
|
30762
30762
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30895,7 +30895,7 @@ var Person = class Person extends Object$1 {
|
|
|
30895
30895
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30896
30896
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30897
30897
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30898
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30898
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30899
30899
|
let fetchResult;
|
|
30900
30900
|
try {
|
|
30901
30901
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31019,7 +31019,7 @@ var Person = class Person extends Object$1 {
|
|
|
31019
31019
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31020
31020
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31021
31021
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31022
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31022
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31023
31023
|
let fetchResult;
|
|
31024
31024
|
try {
|
|
31025
31025
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31146,7 +31146,7 @@ var Person = class Person extends Object$1 {
|
|
|
31146
31146
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31147
31147
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31148
31148
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31149
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31149
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31150
31150
|
let fetchResult;
|
|
31151
31151
|
try {
|
|
31152
31152
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31271,7 +31271,7 @@ var Person = class Person extends Object$1 {
|
|
|
31271
31271
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31272
31272
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31273
31273
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31274
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31274
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31275
31275
|
let fetchResult;
|
|
31276
31276
|
try {
|
|
31277
31277
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31394,7 +31394,7 @@ var Person = class Person extends Object$1 {
|
|
|
31394
31394
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31395
31395
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31396
31396
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31397
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31397
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31398
31398
|
let fetchResult;
|
|
31399
31399
|
try {
|
|
31400
31400
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31517,7 +31517,7 @@ var Person = class Person extends Object$1 {
|
|
|
31517
31517
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31518
31518
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31519
31519
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31520
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31520
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31521
31521
|
let fetchResult;
|
|
31522
31522
|
try {
|
|
31523
31523
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31679,7 +31679,7 @@ var Person = class Person extends Object$1 {
|
|
|
31679
31679
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31680
31680
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31681
31681
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31682
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31682
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31683
31683
|
let fetchResult;
|
|
31684
31684
|
try {
|
|
31685
31685
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31845,7 +31845,7 @@ var Person = class Person extends Object$1 {
|
|
|
31845
31845
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31846
31846
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31847
31847
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31848
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31848
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31849
31849
|
let fetchResult;
|
|
31850
31850
|
try {
|
|
31851
31851
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32059,7 +32059,7 @@ var Person = class Person extends Object$1 {
|
|
|
32059
32059
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32060
32060
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32061
32061
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32062
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32062
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32063
32063
|
let fetchResult;
|
|
32064
32064
|
try {
|
|
32065
32065
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32742,7 +32742,7 @@ var Person = class Person extends Object$1 {
|
|
|
32742
32742
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32743
32743
|
*/
|
|
32744
32744
|
static async fromJsonLd(json, options = {}) {
|
|
32745
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
32745
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32746
32746
|
try {
|
|
32747
32747
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
32748
32748
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33533,7 +33533,7 @@ var Place = class Place extends Object$1 {
|
|
|
33533
33533
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33534
33534
|
*/
|
|
33535
33535
|
static async fromJsonLd(json, options = {}) {
|
|
33536
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
33536
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33537
33537
|
try {
|
|
33538
33538
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
33539
33539
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33740,7 +33740,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
33740
33740
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33741
33741
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33742
33742
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33743
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
33743
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33744
33744
|
let fetchResult;
|
|
33745
33745
|
try {
|
|
33746
33746
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33933,7 +33933,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
33933
33933
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33934
33934
|
*/
|
|
33935
33935
|
static async fromJsonLd(json, options = {}) {
|
|
33936
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
33936
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33937
33937
|
try {
|
|
33938
33938
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
33939
33939
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34108,7 +34108,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
34108
34108
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34109
34109
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34110
34110
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34111
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
34111
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34112
34112
|
let fetchResult;
|
|
34113
34113
|
try {
|
|
34114
34114
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34230,7 +34230,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
34230
34230
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34231
34231
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34232
34232
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34233
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
34233
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34234
34234
|
let fetchResult;
|
|
34235
34235
|
try {
|
|
34236
34236
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34493,7 +34493,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
34493
34493
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34494
34494
|
*/
|
|
34495
34495
|
static async fromJsonLd(json, options = {}) {
|
|
34496
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
34496
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34497
34497
|
try {
|
|
34498
34498
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
34499
34499
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34733,7 +34733,7 @@ var Read = class Read extends Activity {
|
|
|
34733
34733
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34734
34734
|
*/
|
|
34735
34735
|
static async fromJsonLd(json, options = {}) {
|
|
34736
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
34736
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34737
34737
|
try {
|
|
34738
34738
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
34739
34739
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34883,7 +34883,7 @@ var Reject = class Reject extends Activity {
|
|
|
34883
34883
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34884
34884
|
*/
|
|
34885
34885
|
static async fromJsonLd(json, options = {}) {
|
|
34886
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
34886
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34887
34887
|
try {
|
|
34888
34888
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
34889
34889
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35058,7 +35058,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
35058
35058
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35059
35059
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35060
35060
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35061
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35061
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35062
35062
|
let fetchResult;
|
|
35063
35063
|
try {
|
|
35064
35064
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35181,7 +35181,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
35181
35181
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35182
35182
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35183
35183
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35184
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35184
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35185
35185
|
let fetchResult;
|
|
35186
35186
|
try {
|
|
35187
35187
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35343,7 +35343,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
35343
35343
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35344
35344
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35345
35345
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35346
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35346
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35347
35347
|
let fetchResult;
|
|
35348
35348
|
try {
|
|
35349
35349
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35613,7 +35613,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
35613
35613
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35614
35614
|
*/
|
|
35615
35615
|
static async fromJsonLd(json, options = {}) {
|
|
35616
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
35616
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35617
35617
|
try {
|
|
35618
35618
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
35619
35619
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35829,7 +35829,7 @@ var Remove = class Remove extends Activity {
|
|
|
35829
35829
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35830
35830
|
*/
|
|
35831
35831
|
static async fromJsonLd(json, options = {}) {
|
|
35832
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
35832
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35833
35833
|
try {
|
|
35834
35834
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
35835
35835
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36226,7 +36226,7 @@ var Service = class Service extends Object$1 {
|
|
|
36226
36226
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36227
36227
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36228
36228
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36229
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36229
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36230
36230
|
let fetchResult;
|
|
36231
36231
|
try {
|
|
36232
36232
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36388,7 +36388,7 @@ var Service = class Service extends Object$1 {
|
|
|
36388
36388
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36389
36389
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36390
36390
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36391
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36391
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36392
36392
|
let fetchResult;
|
|
36393
36393
|
try {
|
|
36394
36394
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36568,7 +36568,7 @@ var Service = class Service extends Object$1 {
|
|
|
36568
36568
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36569
36569
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36570
36570
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36571
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36571
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36572
36572
|
let fetchResult;
|
|
36573
36573
|
try {
|
|
36574
36574
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36710,7 +36710,7 @@ var Service = class Service extends Object$1 {
|
|
|
36710
36710
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36711
36711
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36712
36712
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36713
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36713
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36714
36714
|
let fetchResult;
|
|
36715
36715
|
try {
|
|
36716
36716
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36849,7 +36849,7 @@ var Service = class Service extends Object$1 {
|
|
|
36849
36849
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36850
36850
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36851
36851
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36852
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36852
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36853
36853
|
let fetchResult;
|
|
36854
36854
|
try {
|
|
36855
36855
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36973,7 +36973,7 @@ var Service = class Service extends Object$1 {
|
|
|
36973
36973
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36974
36974
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36975
36975
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36976
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36976
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36977
36977
|
let fetchResult;
|
|
36978
36978
|
try {
|
|
36979
36979
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37100,7 +37100,7 @@ var Service = class Service extends Object$1 {
|
|
|
37100
37100
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37101
37101
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37102
37102
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37103
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37103
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37104
37104
|
let fetchResult;
|
|
37105
37105
|
try {
|
|
37106
37106
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37225,7 +37225,7 @@ var Service = class Service extends Object$1 {
|
|
|
37225
37225
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37226
37226
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37227
37227
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37228
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37228
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37229
37229
|
let fetchResult;
|
|
37230
37230
|
try {
|
|
37231
37231
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37348,7 +37348,7 @@ var Service = class Service extends Object$1 {
|
|
|
37348
37348
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37349
37349
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37350
37350
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37351
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37351
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37352
37352
|
let fetchResult;
|
|
37353
37353
|
try {
|
|
37354
37354
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37471,7 +37471,7 @@ var Service = class Service extends Object$1 {
|
|
|
37471
37471
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37472
37472
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37473
37473
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37474
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37474
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37475
37475
|
let fetchResult;
|
|
37476
37476
|
try {
|
|
37477
37477
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37633,7 +37633,7 @@ var Service = class Service extends Object$1 {
|
|
|
37633
37633
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37634
37634
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37635
37635
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37636
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37636
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37637
37637
|
let fetchResult;
|
|
37638
37638
|
try {
|
|
37639
37639
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37799,7 +37799,7 @@ var Service = class Service extends Object$1 {
|
|
|
37799
37799
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37800
37800
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37801
37801
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37802
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37802
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37803
37803
|
let fetchResult;
|
|
37804
37804
|
try {
|
|
37805
37805
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38013,7 +38013,7 @@ var Service = class Service extends Object$1 {
|
|
|
38013
38013
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38014
38014
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38015
38015
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38016
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
38016
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38017
38017
|
let fetchResult;
|
|
38018
38018
|
try {
|
|
38019
38019
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38696,7 +38696,7 @@ var Service = class Service extends Object$1 {
|
|
|
38696
38696
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38697
38697
|
*/
|
|
38698
38698
|
static async fromJsonLd(json, options = {}) {
|
|
38699
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
38699
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38700
38700
|
try {
|
|
38701
38701
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
38702
38702
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39414,7 +39414,7 @@ var Source = class {
|
|
|
39414
39414
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39415
39415
|
*/
|
|
39416
39416
|
static async fromJsonLd(json, options = {}) {
|
|
39417
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39417
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39418
39418
|
try {
|
|
39419
39419
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
39420
39420
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39597,7 +39597,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
39597
39597
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39598
39598
|
*/
|
|
39599
39599
|
static async fromJsonLd(json, options = {}) {
|
|
39600
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39600
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39601
39601
|
try {
|
|
39602
39602
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
39603
39603
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39747,7 +39747,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
39747
39747
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39748
39748
|
*/
|
|
39749
39749
|
static async fromJsonLd(json, options = {}) {
|
|
39750
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39750
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39751
39751
|
try {
|
|
39752
39752
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
39753
39753
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39936,7 +39936,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
39936
39936
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39937
39937
|
*/
|
|
39938
39938
|
static async fromJsonLd(json, options = {}) {
|
|
39939
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39939
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39940
39940
|
try {
|
|
39941
39941
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
39942
39942
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40103,7 +40103,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
40103
40103
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40104
40104
|
*/
|
|
40105
40105
|
static async fromJsonLd(json, options = {}) {
|
|
40106
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
40106
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40107
40107
|
try {
|
|
40108
40108
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
40109
40109
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40267,7 +40267,7 @@ var Undo = class Undo extends Activity {
|
|
|
40267
40267
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40268
40268
|
*/
|
|
40269
40269
|
static async fromJsonLd(json, options = {}) {
|
|
40270
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
40270
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40271
40271
|
try {
|
|
40272
40272
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
40273
40273
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40469,7 +40469,7 @@ var Update = class Update extends Activity {
|
|
|
40469
40469
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40470
40470
|
*/
|
|
40471
40471
|
static async fromJsonLd(json, options = {}) {
|
|
40472
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
40472
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40473
40473
|
try {
|
|
40474
40474
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
40475
40475
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40625,7 +40625,7 @@ var Video = class Video extends Document {
|
|
|
40625
40625
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40626
40626
|
*/
|
|
40627
40627
|
static async fromJsonLd(json, options = {}) {
|
|
40628
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
40628
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40629
40629
|
try {
|
|
40630
40630
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
40631
40631
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40774,7 +40774,7 @@ var View = class View extends Activity {
|
|
|
40774
40774
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40775
40775
|
*/
|
|
40776
40776
|
static async fromJsonLd(json, options = {}) {
|
|
40777
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
40777
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.24").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40778
40778
|
try {
|
|
40779
40779
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
40780
40780
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|