@fedify/vocab 2.0.9 → 2.0.10
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--vowmj74.mjs → deno-CToCOpwi.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-B2Bh5Rdt.mjs → vocab-D3NJe4Ki.mjs} +184 -184
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
package/dist/mod.js
CHANGED
|
@@ -8,7 +8,7 @@ import { LanguageString, LanguageString as LanguageString$1, decodeMultibase, en
|
|
|
8
8
|
import { delay } from "es-toolkit";
|
|
9
9
|
//#region deno.json
|
|
10
10
|
var name = "@fedify/vocab";
|
|
11
|
-
var version = "2.0.
|
|
11
|
+
var version = "2.0.10";
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/type.ts
|
|
14
14
|
function getTypeId(object) {
|
|
@@ -624,7 +624,7 @@ var Object$1 = class Object$1 {
|
|
|
624
624
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
625
625
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
626
626
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
627
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
627
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
628
628
|
let fetchResult;
|
|
629
629
|
try {
|
|
630
630
|
fetchResult = await documentLoader(url.href);
|
|
@@ -770,7 +770,7 @@ var Object$1 = class Object$1 {
|
|
|
770
770
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
771
771
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
772
772
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
773
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
773
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
774
774
|
let fetchResult;
|
|
775
775
|
try {
|
|
776
776
|
fetchResult = await documentLoader(url.href);
|
|
@@ -982,7 +982,7 @@ var Object$1 = class Object$1 {
|
|
|
982
982
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
983
983
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
984
984
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
985
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
985
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
986
986
|
let fetchResult;
|
|
987
987
|
try {
|
|
988
988
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1166,7 +1166,7 @@ var Object$1 = class Object$1 {
|
|
|
1166
1166
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1167
1167
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1168
1168
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1169
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1169
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1170
1170
|
let fetchResult;
|
|
1171
1171
|
try {
|
|
1172
1172
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1328,7 +1328,7 @@ var Object$1 = class Object$1 {
|
|
|
1328
1328
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1329
1329
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1330
1330
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1331
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1331
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1332
1332
|
let fetchResult;
|
|
1333
1333
|
try {
|
|
1334
1334
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1458,7 +1458,7 @@ var Object$1 = class Object$1 {
|
|
|
1458
1458
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1459
1459
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1460
1460
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1461
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1461
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1462
1462
|
let fetchResult;
|
|
1463
1463
|
try {
|
|
1464
1464
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1624,7 +1624,7 @@ var Object$1 = class Object$1 {
|
|
|
1624
1624
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1625
1625
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1626
1626
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1627
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1627
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1628
1628
|
let fetchResult;
|
|
1629
1629
|
try {
|
|
1630
1630
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1790,7 +1790,7 @@ var Object$1 = class Object$1 {
|
|
|
1790
1790
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1791
1791
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1792
1792
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1793
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1793
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1794
1794
|
let fetchResult;
|
|
1795
1795
|
try {
|
|
1796
1796
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1964,7 +1964,7 @@ var Object$1 = class Object$1 {
|
|
|
1964
1964
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1965
1965
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1966
1966
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1967
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1967
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1968
1968
|
let fetchResult;
|
|
1969
1969
|
try {
|
|
1970
1970
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2138,7 +2138,7 @@ var Object$1 = class Object$1 {
|
|
|
2138
2138
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2139
2139
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2140
2140
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2141
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2141
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2142
2142
|
let fetchResult;
|
|
2143
2143
|
try {
|
|
2144
2144
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2317,7 +2317,7 @@ var Object$1 = class Object$1 {
|
|
|
2317
2317
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2318
2318
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2319
2319
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2320
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2320
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2321
2321
|
let fetchResult;
|
|
2322
2322
|
try {
|
|
2323
2323
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2438,7 +2438,7 @@ var Object$1 = class Object$1 {
|
|
|
2438
2438
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2439
2439
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2440
2440
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2441
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2441
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2442
2442
|
let fetchResult;
|
|
2443
2443
|
try {
|
|
2444
2444
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2565,7 +2565,7 @@ var Object$1 = class Object$1 {
|
|
|
2565
2565
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2566
2566
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2567
2567
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2568
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2568
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2569
2569
|
let fetchResult;
|
|
2570
2570
|
try {
|
|
2571
2571
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2692,7 +2692,7 @@ var Object$1 = class Object$1 {
|
|
|
2692
2692
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2693
2693
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2694
2694
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2695
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2695
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2696
2696
|
let fetchResult;
|
|
2697
2697
|
try {
|
|
2698
2698
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2837,7 +2837,7 @@ var Object$1 = class Object$1 {
|
|
|
2837
2837
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2838
2838
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2839
2839
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2840
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2840
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2841
2841
|
let fetchResult;
|
|
2842
2842
|
try {
|
|
2843
2843
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2989,7 +2989,7 @@ var Object$1 = class Object$1 {
|
|
|
2989
2989
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2990
2990
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2991
2991
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2992
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2992
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2993
2993
|
let fetchResult;
|
|
2994
2994
|
try {
|
|
2995
2995
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3153,7 +3153,7 @@ var Object$1 = class Object$1 {
|
|
|
3153
3153
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3154
3154
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3155
3155
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3156
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3156
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3157
3157
|
let fetchResult;
|
|
3158
3158
|
try {
|
|
3159
3159
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3317,7 +3317,7 @@ var Object$1 = class Object$1 {
|
|
|
3317
3317
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3318
3318
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3319
3319
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3320
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3320
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3321
3321
|
let fetchResult;
|
|
3322
3322
|
try {
|
|
3323
3323
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3481,7 +3481,7 @@ var Object$1 = class Object$1 {
|
|
|
3481
3481
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3482
3482
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3483
3483
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3484
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3484
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3485
3485
|
let fetchResult;
|
|
3486
3486
|
try {
|
|
3487
3487
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3682,7 +3682,7 @@ var Object$1 = class Object$1 {
|
|
|
3682
3682
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3683
3683
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3684
3684
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3685
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3685
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3686
3686
|
let fetchResult;
|
|
3687
3687
|
try {
|
|
3688
3688
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4471,7 +4471,7 @@ var Object$1 = class Object$1 {
|
|
|
4471
4471
|
* @throws {TypeError} If the given `json` is invalid.
|
|
4472
4472
|
*/
|
|
4473
4473
|
static async fromJsonLd(json, options = {}) {
|
|
4474
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
4474
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
4475
4475
|
try {
|
|
4476
4476
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
4477
4477
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -5715,7 +5715,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
5715
5715
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5716
5716
|
*/
|
|
5717
5717
|
static async fromJsonLd(json, options = {}) {
|
|
5718
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
5718
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5719
5719
|
try {
|
|
5720
5720
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
5721
5721
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -5952,7 +5952,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
5952
5952
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5953
5953
|
*/
|
|
5954
5954
|
static async fromJsonLd(json, options = {}) {
|
|
5955
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
5955
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5956
5956
|
try {
|
|
5957
5957
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
5958
5958
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6233,7 +6233,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6233
6233
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6234
6234
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6235
6235
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6236
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6236
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6237
6237
|
let fetchResult;
|
|
6238
6238
|
try {
|
|
6239
6239
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6445,7 +6445,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6445
6445
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6446
6446
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6447
6447
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6448
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6448
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6449
6449
|
let fetchResult;
|
|
6450
6450
|
try {
|
|
6451
6451
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6611,7 +6611,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6611
6611
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6612
6612
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6613
6613
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6614
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6614
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6615
6615
|
let fetchResult;
|
|
6616
6616
|
try {
|
|
6617
6617
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6783,7 +6783,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6783
6783
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6784
6784
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6785
6785
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6786
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6786
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6787
6787
|
let fetchResult;
|
|
6788
6788
|
try {
|
|
6789
6789
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6949,7 +6949,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6949
6949
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6950
6950
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6951
6951
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6952
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6952
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6953
6953
|
let fetchResult;
|
|
6954
6954
|
try {
|
|
6955
6955
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7117,7 +7117,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7117
7117
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7118
7118
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7119
7119
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7120
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7120
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7121
7121
|
let fetchResult;
|
|
7122
7122
|
try {
|
|
7123
7123
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7367,7 +7367,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7367
7367
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7368
7368
|
*/
|
|
7369
7369
|
static async fromJsonLd(json, options = {}) {
|
|
7370
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
7370
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7371
7371
|
try {
|
|
7372
7372
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
7373
7373
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7685,7 +7685,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
7685
7685
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7686
7686
|
*/
|
|
7687
7687
|
static async fromJsonLd(json, options = {}) {
|
|
7688
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
7688
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7689
7689
|
try {
|
|
7690
7690
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
7691
7691
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7931,7 +7931,7 @@ var PropertyValue = class {
|
|
|
7931
7931
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7932
7932
|
*/
|
|
7933
7933
|
static async fromJsonLd(json, options = {}) {
|
|
7934
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
7934
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7935
7935
|
try {
|
|
7936
7936
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
7937
7937
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8165,7 +8165,7 @@ var DidService = class {
|
|
|
8165
8165
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8166
8166
|
*/
|
|
8167
8167
|
static async fromJsonLd(json, options = {}) {
|
|
8168
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8168
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8169
8169
|
try {
|
|
8170
8170
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
8171
8171
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8319,7 +8319,7 @@ var Export = class Export extends DidService {
|
|
|
8319
8319
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8320
8320
|
*/
|
|
8321
8321
|
static async fromJsonLd(json, options = {}) {
|
|
8322
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8322
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8323
8323
|
try {
|
|
8324
8324
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
8325
8325
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8492,7 +8492,7 @@ var DataIntegrityProof = class {
|
|
|
8492
8492
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8493
8493
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8494
8494
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8495
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
8495
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8496
8496
|
let fetchResult;
|
|
8497
8497
|
try {
|
|
8498
8498
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8711,7 +8711,7 @@ var DataIntegrityProof = class {
|
|
|
8711
8711
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8712
8712
|
*/
|
|
8713
8713
|
static async fromJsonLd(json, options = {}) {
|
|
8714
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8714
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8715
8715
|
try {
|
|
8716
8716
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
8717
8717
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8925,7 +8925,7 @@ var CryptographicKey = class {
|
|
|
8925
8925
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8926
8926
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8927
8927
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8928
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
8928
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8929
8929
|
let fetchResult;
|
|
8930
8930
|
try {
|
|
8931
8931
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9187,7 +9187,7 @@ var CryptographicKey = class {
|
|
|
9187
9187
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9188
9188
|
*/
|
|
9189
9189
|
static async fromJsonLd(json, options = {}) {
|
|
9190
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9190
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9191
9191
|
try {
|
|
9192
9192
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
9193
9193
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9382,7 +9382,7 @@ var Multikey = class {
|
|
|
9382
9382
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9383
9383
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9384
9384
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9385
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
9385
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9386
9386
|
let fetchResult;
|
|
9387
9387
|
try {
|
|
9388
9388
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9650,7 +9650,7 @@ var Multikey = class {
|
|
|
9650
9650
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9651
9651
|
*/
|
|
9652
9652
|
static async fromJsonLd(json, options = {}) {
|
|
9653
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9653
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9654
9654
|
try {
|
|
9655
9655
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
9656
9656
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9844,7 +9844,7 @@ var Accept = class Accept extends Activity {
|
|
|
9844
9844
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9845
9845
|
*/
|
|
9846
9846
|
static async fromJsonLd(json, options = {}) {
|
|
9847
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9847
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9848
9848
|
try {
|
|
9849
9849
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
9850
9850
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9995,7 +9995,7 @@ var Add = class Add extends Activity {
|
|
|
9995
9995
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9996
9996
|
*/
|
|
9997
9997
|
static async fromJsonLd(json, options = {}) {
|
|
9998
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9998
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9999
9999
|
try {
|
|
10000
10000
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
10001
10001
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10163,7 +10163,7 @@ var Announce = class Announce extends Activity {
|
|
|
10163
10163
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10164
10164
|
*/
|
|
10165
10165
|
static async fromJsonLd(json, options = {}) {
|
|
10166
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10166
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10167
10167
|
try {
|
|
10168
10168
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
10169
10169
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10558,7 +10558,7 @@ var Application = class Application extends Object$1 {
|
|
|
10558
10558
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10559
10559
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10560
10560
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10561
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
10561
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10562
10562
|
let fetchResult;
|
|
10563
10563
|
try {
|
|
10564
10564
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10720,7 +10720,7 @@ var Application = class Application extends Object$1 {
|
|
|
10720
10720
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10721
10721
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10722
10722
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10723
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
10723
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10724
10724
|
let fetchResult;
|
|
10725
10725
|
try {
|
|
10726
10726
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10900,7 +10900,7 @@ var Application = class Application extends Object$1 {
|
|
|
10900
10900
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10901
10901
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10902
10902
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10903
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
10903
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10904
10904
|
let fetchResult;
|
|
10905
10905
|
try {
|
|
10906
10906
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11042,7 +11042,7 @@ var Application = class Application extends Object$1 {
|
|
|
11042
11042
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11043
11043
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11044
11044
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11045
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11045
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11046
11046
|
let fetchResult;
|
|
11047
11047
|
try {
|
|
11048
11048
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11181,7 +11181,7 @@ var Application = class Application extends Object$1 {
|
|
|
11181
11181
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11182
11182
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11183
11183
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11184
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11184
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11185
11185
|
let fetchResult;
|
|
11186
11186
|
try {
|
|
11187
11187
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11305,7 +11305,7 @@ var Application = class Application extends Object$1 {
|
|
|
11305
11305
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11306
11306
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11307
11307
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11308
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11308
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11309
11309
|
let fetchResult;
|
|
11310
11310
|
try {
|
|
11311
11311
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11432,7 +11432,7 @@ var Application = class Application extends Object$1 {
|
|
|
11432
11432
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11433
11433
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11434
11434
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11435
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11435
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11436
11436
|
let fetchResult;
|
|
11437
11437
|
try {
|
|
11438
11438
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11557,7 +11557,7 @@ var Application = class Application extends Object$1 {
|
|
|
11557
11557
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11558
11558
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11559
11559
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11560
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11560
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11561
11561
|
let fetchResult;
|
|
11562
11562
|
try {
|
|
11563
11563
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11680,7 +11680,7 @@ var Application = class Application extends Object$1 {
|
|
|
11680
11680
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11681
11681
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11682
11682
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11683
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11683
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11684
11684
|
let fetchResult;
|
|
11685
11685
|
try {
|
|
11686
11686
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11803,7 +11803,7 @@ var Application = class Application extends Object$1 {
|
|
|
11803
11803
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11804
11804
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11805
11805
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11806
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11806
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11807
11807
|
let fetchResult;
|
|
11808
11808
|
try {
|
|
11809
11809
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11965,7 +11965,7 @@ var Application = class Application extends Object$1 {
|
|
|
11965
11965
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11966
11966
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11967
11967
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11968
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11968
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11969
11969
|
let fetchResult;
|
|
11970
11970
|
try {
|
|
11971
11971
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12131,7 +12131,7 @@ var Application = class Application extends Object$1 {
|
|
|
12131
12131
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12132
12132
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12133
12133
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12134
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12134
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12135
12135
|
let fetchResult;
|
|
12136
12136
|
try {
|
|
12137
12137
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12345,7 +12345,7 @@ var Application = class Application extends Object$1 {
|
|
|
12345
12345
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12346
12346
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12347
12347
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12348
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12348
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12349
12349
|
let fetchResult;
|
|
12350
12350
|
try {
|
|
12351
12351
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13028,7 +13028,7 @@ var Application = class Application extends Object$1 {
|
|
|
13028
13028
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13029
13029
|
*/
|
|
13030
13030
|
static async fromJsonLd(json, options = {}) {
|
|
13031
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
13031
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13032
13032
|
try {
|
|
13033
13033
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
13034
13034
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13581,7 +13581,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
13581
13581
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13582
13582
|
*/
|
|
13583
13583
|
static async fromJsonLd(json, options = {}) {
|
|
13584
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
13584
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13585
13585
|
try {
|
|
13586
13586
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
13587
13587
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13733,7 +13733,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
13733
13733
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13734
13734
|
*/
|
|
13735
13735
|
static async fromJsonLd(json, options = {}) {
|
|
13736
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
13736
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13737
13737
|
try {
|
|
13738
13738
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
13739
13739
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13968,7 +13968,7 @@ var Article = class Article extends Object$1 {
|
|
|
13968
13968
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13969
13969
|
*/
|
|
13970
13970
|
static async fromJsonLd(json, options = {}) {
|
|
13971
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
13971
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13972
13972
|
try {
|
|
13973
13973
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
13974
13974
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14197,7 +14197,7 @@ var Document = class Document extends Object$1 {
|
|
|
14197
14197
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14198
14198
|
*/
|
|
14199
14199
|
static async fromJsonLd(json, options = {}) {
|
|
14200
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14200
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14201
14201
|
try {
|
|
14202
14202
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
14203
14203
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14380,7 +14380,7 @@ var Audio = class Audio extends Document {
|
|
|
14380
14380
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14381
14381
|
*/
|
|
14382
14382
|
static async fromJsonLd(json, options = {}) {
|
|
14383
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14383
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14384
14384
|
try {
|
|
14385
14385
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
14386
14386
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14528,7 +14528,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
14528
14528
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14529
14529
|
*/
|
|
14530
14530
|
static async fromJsonLd(json, options = {}) {
|
|
14531
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14531
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14532
14532
|
try {
|
|
14533
14533
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
14534
14534
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14679,7 +14679,7 @@ var Block = class Block extends Ignore {
|
|
|
14679
14679
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14680
14680
|
*/
|
|
14681
14681
|
static async fromJsonLd(json, options = {}) {
|
|
14682
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14682
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14683
14683
|
try {
|
|
14684
14684
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
14685
14685
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14943,7 +14943,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
14943
14943
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14944
14944
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14945
14945
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14946
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
14946
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14947
14947
|
let fetchResult;
|
|
14948
14948
|
try {
|
|
14949
14949
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15064,7 +15064,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15064
15064
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15065
15065
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15066
15066
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15067
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15067
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15068
15068
|
let fetchResult;
|
|
15069
15069
|
try {
|
|
15070
15070
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15185,7 +15185,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15185
15185
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15186
15186
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15187
15187
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15188
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15188
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15189
15189
|
let fetchResult;
|
|
15190
15190
|
try {
|
|
15191
15191
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15306,7 +15306,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15306
15306
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15307
15307
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15308
15308
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15309
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15309
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15310
15310
|
let fetchResult;
|
|
15311
15311
|
try {
|
|
15312
15312
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15437,7 +15437,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15437
15437
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15438
15438
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15439
15439
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15440
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15440
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15441
15441
|
let fetchResult;
|
|
15442
15442
|
try {
|
|
15443
15443
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15557,7 +15557,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15557
15557
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15558
15558
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15559
15559
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15560
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15560
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15561
15561
|
let fetchResult;
|
|
15562
15562
|
try {
|
|
15563
15563
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15677,7 +15677,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15677
15677
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15678
15678
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15679
15679
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15680
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15680
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15681
15681
|
let fetchResult;
|
|
15682
15682
|
try {
|
|
15683
15683
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15797,7 +15797,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15797
15797
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15798
15798
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15799
15799
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15800
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15800
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15801
15801
|
let fetchResult;
|
|
15802
15802
|
try {
|
|
15803
15803
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15917,7 +15917,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15917
15917
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15918
15918
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15919
15919
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15920
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15920
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15921
15921
|
let fetchResult;
|
|
15922
15922
|
try {
|
|
15923
15923
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16037,7 +16037,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16037
16037
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16038
16038
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16039
16039
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16040
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16040
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16041
16041
|
let fetchResult;
|
|
16042
16042
|
try {
|
|
16043
16043
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16157,7 +16157,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16157
16157
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16158
16158
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16159
16159
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16160
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16160
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16161
16161
|
let fetchResult;
|
|
16162
16162
|
try {
|
|
16163
16163
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16277,7 +16277,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16277
16277
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16278
16278
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16279
16279
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16280
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16280
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16281
16281
|
let fetchResult;
|
|
16282
16282
|
try {
|
|
16283
16283
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16704,7 +16704,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16704
16704
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16705
16705
|
*/
|
|
16706
16706
|
static async fromJsonLd(json, options = {}) {
|
|
16707
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
16707
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16708
16708
|
try {
|
|
16709
16709
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
16710
16710
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17151,7 +17151,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
17151
17151
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17152
17152
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17153
17153
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17154
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17154
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17155
17155
|
let fetchResult;
|
|
17156
17156
|
try {
|
|
17157
17157
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17272,7 +17272,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
17272
17272
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17273
17273
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17274
17274
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17275
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17275
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17276
17276
|
let fetchResult;
|
|
17277
17277
|
try {
|
|
17278
17278
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17392,7 +17392,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
17392
17392
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17393
17393
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17394
17394
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17395
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17395
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17396
17396
|
let fetchResult;
|
|
17397
17397
|
try {
|
|
17398
17398
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17656,7 +17656,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
17656
17656
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17657
17657
|
*/
|
|
17658
17658
|
static async fromJsonLd(json, options = {}) {
|
|
17659
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
17659
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17660
17660
|
try {
|
|
17661
17661
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
17662
17662
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17882,7 +17882,7 @@ var Create = class Create extends Activity {
|
|
|
17882
17882
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17883
17883
|
*/
|
|
17884
17884
|
static async fromJsonLd(json, options = {}) {
|
|
17885
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
17885
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17886
17886
|
try {
|
|
17887
17887
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
17888
17888
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18046,7 +18046,7 @@ var Delete = class Delete extends Activity {
|
|
|
18046
18046
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18047
18047
|
*/
|
|
18048
18048
|
static async fromJsonLd(json, options = {}) {
|
|
18049
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18049
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18050
18050
|
try {
|
|
18051
18051
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
18052
18052
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18197,7 +18197,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
18197
18197
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18198
18198
|
*/
|
|
18199
18199
|
static async fromJsonLd(json, options = {}) {
|
|
18200
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18200
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18201
18201
|
try {
|
|
18202
18202
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
18203
18203
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18544,7 +18544,7 @@ var Endpoints = class {
|
|
|
18544
18544
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18545
18545
|
*/
|
|
18546
18546
|
static async fromJsonLd(json, options = {}) {
|
|
18547
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18547
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18548
18548
|
try {
|
|
18549
18549
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
18550
18550
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18770,7 +18770,7 @@ var Event = class Event extends Object$1 {
|
|
|
18770
18770
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18771
18771
|
*/
|
|
18772
18772
|
static async fromJsonLd(json, options = {}) {
|
|
18773
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18773
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18774
18774
|
try {
|
|
18775
18775
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
18776
18776
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18919,7 +18919,7 @@ var Flag = class Flag extends Activity {
|
|
|
18919
18919
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18920
18920
|
*/
|
|
18921
18921
|
static async fromJsonLd(json, options = {}) {
|
|
18922
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18922
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18923
18923
|
try {
|
|
18924
18924
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
18925
18925
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19072,7 +19072,7 @@ var Follow = class Follow extends Activity {
|
|
|
19072
19072
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19073
19073
|
*/
|
|
19074
19074
|
static async fromJsonLd(json, options = {}) {
|
|
19075
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19075
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19076
19076
|
try {
|
|
19077
19077
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
19078
19078
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19467,7 +19467,7 @@ var Group = class Group extends Object$1 {
|
|
|
19467
19467
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19468
19468
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19469
19469
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19470
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
19470
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19471
19471
|
let fetchResult;
|
|
19472
19472
|
try {
|
|
19473
19473
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19629,7 +19629,7 @@ var Group = class Group extends Object$1 {
|
|
|
19629
19629
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19630
19630
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19631
19631
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19632
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
19632
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19633
19633
|
let fetchResult;
|
|
19634
19634
|
try {
|
|
19635
19635
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19809,7 +19809,7 @@ var Group = class Group extends Object$1 {
|
|
|
19809
19809
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19810
19810
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19811
19811
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19812
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
19812
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19813
19813
|
let fetchResult;
|
|
19814
19814
|
try {
|
|
19815
19815
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19951,7 +19951,7 @@ var Group = class Group extends Object$1 {
|
|
|
19951
19951
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19952
19952
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19953
19953
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19954
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
19954
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19955
19955
|
let fetchResult;
|
|
19956
19956
|
try {
|
|
19957
19957
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20090,7 +20090,7 @@ var Group = class Group extends Object$1 {
|
|
|
20090
20090
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20091
20091
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20092
20092
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20093
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20093
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20094
20094
|
let fetchResult;
|
|
20095
20095
|
try {
|
|
20096
20096
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20214,7 +20214,7 @@ var Group = class Group extends Object$1 {
|
|
|
20214
20214
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20215
20215
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20216
20216
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20217
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20217
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20218
20218
|
let fetchResult;
|
|
20219
20219
|
try {
|
|
20220
20220
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20341,7 +20341,7 @@ var Group = class Group extends Object$1 {
|
|
|
20341
20341
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20342
20342
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20343
20343
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20344
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20344
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20345
20345
|
let fetchResult;
|
|
20346
20346
|
try {
|
|
20347
20347
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20466,7 +20466,7 @@ var Group = class Group extends Object$1 {
|
|
|
20466
20466
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20467
20467
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20468
20468
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20469
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20469
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20470
20470
|
let fetchResult;
|
|
20471
20471
|
try {
|
|
20472
20472
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20589,7 +20589,7 @@ var Group = class Group extends Object$1 {
|
|
|
20589
20589
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20590
20590
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20591
20591
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20592
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20592
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20593
20593
|
let fetchResult;
|
|
20594
20594
|
try {
|
|
20595
20595
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20712,7 +20712,7 @@ var Group = class Group extends Object$1 {
|
|
|
20712
20712
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20713
20713
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20714
20714
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20715
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20715
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20716
20716
|
let fetchResult;
|
|
20717
20717
|
try {
|
|
20718
20718
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20874,7 +20874,7 @@ var Group = class Group extends Object$1 {
|
|
|
20874
20874
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20875
20875
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20876
20876
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20877
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20877
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20878
20878
|
let fetchResult;
|
|
20879
20879
|
try {
|
|
20880
20880
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21040,7 +21040,7 @@ var Group = class Group extends Object$1 {
|
|
|
21040
21040
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21041
21041
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21042
21042
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21043
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21043
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21044
21044
|
let fetchResult;
|
|
21045
21045
|
try {
|
|
21046
21046
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21254,7 +21254,7 @@ var Group = class Group extends Object$1 {
|
|
|
21254
21254
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21255
21255
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21256
21256
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21257
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21257
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21258
21258
|
let fetchResult;
|
|
21259
21259
|
try {
|
|
21260
21260
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21937,7 +21937,7 @@ var Group = class Group extends Object$1 {
|
|
|
21937
21937
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21938
21938
|
*/
|
|
21939
21939
|
static async fromJsonLd(json, options = {}) {
|
|
21940
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
21940
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21941
21941
|
try {
|
|
21942
21942
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
21943
21943
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22629,7 +22629,7 @@ var Link = class Link {
|
|
|
22629
22629
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22630
22630
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22631
22631
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22632
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
22632
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22633
22633
|
let fetchResult;
|
|
22634
22634
|
try {
|
|
22635
22635
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22921,7 +22921,7 @@ var Link = class Link {
|
|
|
22921
22921
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22922
22922
|
*/
|
|
22923
22923
|
static async fromJsonLd(json, options = {}) {
|
|
22924
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
22924
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22925
22925
|
try {
|
|
22926
22926
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
22927
22927
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23248,7 +23248,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
23248
23248
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23249
23249
|
*/
|
|
23250
23250
|
static async fromJsonLd(json, options = {}) {
|
|
23251
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23251
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23252
23252
|
try {
|
|
23253
23253
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
23254
23254
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23402,7 +23402,7 @@ var Image = class Image extends Document {
|
|
|
23402
23402
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23403
23403
|
*/
|
|
23404
23404
|
static async fromJsonLd(json, options = {}) {
|
|
23405
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23405
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23406
23406
|
try {
|
|
23407
23407
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
23408
23408
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23551,7 +23551,7 @@ var Offer = class Offer extends Activity {
|
|
|
23551
23551
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23552
23552
|
*/
|
|
23553
23553
|
static async fromJsonLd(json, options = {}) {
|
|
23554
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23554
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23555
23555
|
try {
|
|
23556
23556
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
23557
23557
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23700,7 +23700,7 @@ var Invite = class Invite extends Offer {
|
|
|
23700
23700
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23701
23701
|
*/
|
|
23702
23702
|
static async fromJsonLd(json, options = {}) {
|
|
23703
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23703
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23704
23704
|
try {
|
|
23705
23705
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
23706
23706
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23848,7 +23848,7 @@ var Join = class Join extends Activity {
|
|
|
23848
23848
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23849
23849
|
*/
|
|
23850
23850
|
static async fromJsonLd(json, options = {}) {
|
|
23851
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23851
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23852
23852
|
try {
|
|
23853
23853
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
23854
23854
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23996,7 +23996,7 @@ var Leave = class Leave extends Activity {
|
|
|
23996
23996
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23997
23997
|
*/
|
|
23998
23998
|
static async fromJsonLd(json, options = {}) {
|
|
23999
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23999
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24000
24000
|
try {
|
|
24001
24001
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
24002
24002
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24148,7 +24148,7 @@ var Like = class Like extends Activity {
|
|
|
24148
24148
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24149
24149
|
*/
|
|
24150
24150
|
static async fromJsonLd(json, options = {}) {
|
|
24151
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24151
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24152
24152
|
try {
|
|
24153
24153
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
24154
24154
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24295,7 +24295,7 @@ var Listen = class Listen extends Activity {
|
|
|
24295
24295
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24296
24296
|
*/
|
|
24297
24297
|
static async fromJsonLd(json, options = {}) {
|
|
24298
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24298
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24299
24299
|
try {
|
|
24300
24300
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
24301
24301
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24446,7 +24446,7 @@ var Mention = class Mention extends Link {
|
|
|
24446
24446
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24447
24447
|
*/
|
|
24448
24448
|
static async fromJsonLd(json, options = {}) {
|
|
24449
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24449
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24450
24450
|
try {
|
|
24451
24451
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
24452
24452
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24595,7 +24595,7 @@ var Move = class Move extends Activity {
|
|
|
24595
24595
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24596
24596
|
*/
|
|
24597
24597
|
static async fromJsonLd(json, options = {}) {
|
|
24598
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24598
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24599
24599
|
try {
|
|
24600
24600
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
24601
24601
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24831,7 +24831,7 @@ var Note = class Note extends Object$1 {
|
|
|
24831
24831
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24832
24832
|
*/
|
|
24833
24833
|
static async fromJsonLd(json, options = {}) {
|
|
24834
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24834
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24835
24835
|
try {
|
|
24836
24836
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
24837
24837
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24960,7 +24960,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
24960
24960
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24961
24961
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24962
24962
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24963
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
24963
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24964
24964
|
let fetchResult;
|
|
24965
24965
|
try {
|
|
24966
24966
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25208,7 +25208,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
25208
25208
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25209
25209
|
*/
|
|
25210
25210
|
static async fromJsonLd(json, options = {}) {
|
|
25211
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25211
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25212
25212
|
try {
|
|
25213
25213
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
25214
25214
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25414,7 +25414,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
25414
25414
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25415
25415
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25416
25416
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25417
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
25417
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25418
25418
|
let fetchResult;
|
|
25419
25419
|
try {
|
|
25420
25420
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25685,7 +25685,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
25685
25685
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25686
25686
|
*/
|
|
25687
25687
|
static async fromJsonLd(json, options = {}) {
|
|
25688
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25688
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25689
25689
|
try {
|
|
25690
25690
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
25691
25691
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26177,7 +26177,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
26177
26177
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26178
26178
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26179
26179
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26180
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26180
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26181
26181
|
let fetchResult;
|
|
26182
26182
|
try {
|
|
26183
26183
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26339,7 +26339,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
26339
26339
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26340
26340
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26341
26341
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26342
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26342
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26343
26343
|
let fetchResult;
|
|
26344
26344
|
try {
|
|
26345
26345
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26519,7 +26519,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
26519
26519
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26520
26520
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26521
26521
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26522
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26522
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26523
26523
|
let fetchResult;
|
|
26524
26524
|
try {
|
|
26525
26525
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26661,7 +26661,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
26661
26661
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26662
26662
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26663
26663
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26664
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26664
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26665
26665
|
let fetchResult;
|
|
26666
26666
|
try {
|
|
26667
26667
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26800,7 +26800,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
26800
26800
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26801
26801
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26802
26802
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26803
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26803
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26804
26804
|
let fetchResult;
|
|
26805
26805
|
try {
|
|
26806
26806
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26924,7 +26924,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
26924
26924
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26925
26925
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26926
26926
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26927
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26927
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26928
26928
|
let fetchResult;
|
|
26929
26929
|
try {
|
|
26930
26930
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27051,7 +27051,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27051
27051
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27052
27052
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27053
27053
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27054
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27054
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27055
27055
|
let fetchResult;
|
|
27056
27056
|
try {
|
|
27057
27057
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27176,7 +27176,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27176
27176
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27177
27177
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27178
27178
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27179
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27179
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27180
27180
|
let fetchResult;
|
|
27181
27181
|
try {
|
|
27182
27182
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27299,7 +27299,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27299
27299
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27300
27300
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27301
27301
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27302
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27302
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27303
27303
|
let fetchResult;
|
|
27304
27304
|
try {
|
|
27305
27305
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27422,7 +27422,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27422
27422
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27423
27423
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27424
27424
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27425
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27425
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27426
27426
|
let fetchResult;
|
|
27427
27427
|
try {
|
|
27428
27428
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27584,7 +27584,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27584
27584
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27585
27585
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27586
27586
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27587
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27587
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27588
27588
|
let fetchResult;
|
|
27589
27589
|
try {
|
|
27590
27590
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27750,7 +27750,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27750
27750
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27751
27751
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27752
27752
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27753
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27753
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27754
27754
|
let fetchResult;
|
|
27755
27755
|
try {
|
|
27756
27756
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27964,7 +27964,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27964
27964
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27965
27965
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27966
27966
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27967
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27967
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27968
27968
|
let fetchResult;
|
|
27969
27969
|
try {
|
|
27970
27970
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28647,7 +28647,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28647
28647
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28648
28648
|
*/
|
|
28649
28649
|
static async fromJsonLd(json, options = {}) {
|
|
28650
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
28650
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28651
28651
|
try {
|
|
28652
28652
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
28653
28653
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29205,7 +29205,7 @@ var Page = class Page extends Document {
|
|
|
29205
29205
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29206
29206
|
*/
|
|
29207
29207
|
static async fromJsonLd(json, options = {}) {
|
|
29208
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
29208
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29209
29209
|
try {
|
|
29210
29210
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
29211
29211
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29600,7 +29600,7 @@ var Person = class Person extends Object$1 {
|
|
|
29600
29600
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29601
29601
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29602
29602
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29603
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29603
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29604
29604
|
let fetchResult;
|
|
29605
29605
|
try {
|
|
29606
29606
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29762,7 +29762,7 @@ var Person = class Person extends Object$1 {
|
|
|
29762
29762
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29763
29763
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29764
29764
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29765
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29765
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29766
29766
|
let fetchResult;
|
|
29767
29767
|
try {
|
|
29768
29768
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29942,7 +29942,7 @@ var Person = class Person extends Object$1 {
|
|
|
29942
29942
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29943
29943
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29944
29944
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29945
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29945
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29946
29946
|
let fetchResult;
|
|
29947
29947
|
try {
|
|
29948
29948
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30084,7 +30084,7 @@ var Person = class Person extends Object$1 {
|
|
|
30084
30084
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30085
30085
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30086
30086
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30087
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30087
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30088
30088
|
let fetchResult;
|
|
30089
30089
|
try {
|
|
30090
30090
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30223,7 +30223,7 @@ var Person = class Person extends Object$1 {
|
|
|
30223
30223
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30224
30224
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30225
30225
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30226
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30226
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30227
30227
|
let fetchResult;
|
|
30228
30228
|
try {
|
|
30229
30229
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30347,7 +30347,7 @@ var Person = class Person extends Object$1 {
|
|
|
30347
30347
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30348
30348
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30349
30349
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30350
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30350
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30351
30351
|
let fetchResult;
|
|
30352
30352
|
try {
|
|
30353
30353
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30474,7 +30474,7 @@ var Person = class Person extends Object$1 {
|
|
|
30474
30474
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30475
30475
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30476
30476
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30477
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30477
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30478
30478
|
let fetchResult;
|
|
30479
30479
|
try {
|
|
30480
30480
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30599,7 +30599,7 @@ var Person = class Person extends Object$1 {
|
|
|
30599
30599
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30600
30600
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30601
30601
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30602
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30602
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30603
30603
|
let fetchResult;
|
|
30604
30604
|
try {
|
|
30605
30605
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30722,7 +30722,7 @@ var Person = class Person extends Object$1 {
|
|
|
30722
30722
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30723
30723
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30724
30724
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30725
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30725
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30726
30726
|
let fetchResult;
|
|
30727
30727
|
try {
|
|
30728
30728
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30845,7 +30845,7 @@ var Person = class Person extends Object$1 {
|
|
|
30845
30845
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30846
30846
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30847
30847
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30848
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30848
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30849
30849
|
let fetchResult;
|
|
30850
30850
|
try {
|
|
30851
30851
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31007,7 +31007,7 @@ var Person = class Person extends Object$1 {
|
|
|
31007
31007
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31008
31008
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31009
31009
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31010
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31010
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31011
31011
|
let fetchResult;
|
|
31012
31012
|
try {
|
|
31013
31013
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31173,7 +31173,7 @@ var Person = class Person extends Object$1 {
|
|
|
31173
31173
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31174
31174
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31175
31175
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31176
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31176
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31177
31177
|
let fetchResult;
|
|
31178
31178
|
try {
|
|
31179
31179
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31387,7 +31387,7 @@ var Person = class Person extends Object$1 {
|
|
|
31387
31387
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31388
31388
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31389
31389
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31390
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31390
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31391
31391
|
let fetchResult;
|
|
31392
31392
|
try {
|
|
31393
31393
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32070,7 +32070,7 @@ var Person = class Person extends Object$1 {
|
|
|
32070
32070
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32071
32071
|
*/
|
|
32072
32072
|
static async fromJsonLd(json, options = {}) {
|
|
32073
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
32073
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32074
32074
|
try {
|
|
32075
32075
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
32076
32076
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32805,7 +32805,7 @@ var Place = class Place extends Object$1 {
|
|
|
32805
32805
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32806
32806
|
*/
|
|
32807
32807
|
static async fromJsonLd(json, options = {}) {
|
|
32808
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
32808
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32809
32809
|
try {
|
|
32810
32810
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
32811
32811
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32996,7 +32996,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
32996
32996
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32997
32997
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32998
32998
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32999
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
32999
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33000
33000
|
let fetchResult;
|
|
33001
33001
|
try {
|
|
33002
33002
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33189,7 +33189,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
33189
33189
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33190
33190
|
*/
|
|
33191
33191
|
static async fromJsonLd(json, options = {}) {
|
|
33192
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
33192
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33193
33193
|
try {
|
|
33194
33194
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
33195
33195
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33360,7 +33360,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
33360
33360
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33361
33361
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33362
33362
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33363
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
33363
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33364
33364
|
let fetchResult;
|
|
33365
33365
|
try {
|
|
33366
33366
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33482,7 +33482,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
33482
33482
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33483
33483
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33484
33484
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33485
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
33485
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33486
33486
|
let fetchResult;
|
|
33487
33487
|
try {
|
|
33488
33488
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33745,7 +33745,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
33745
33745
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33746
33746
|
*/
|
|
33747
33747
|
static async fromJsonLd(json, options = {}) {
|
|
33748
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
33748
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33749
33749
|
try {
|
|
33750
33750
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
33751
33751
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33971,7 +33971,7 @@ var Read = class Read extends Activity {
|
|
|
33971
33971
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33972
33972
|
*/
|
|
33973
33973
|
static async fromJsonLd(json, options = {}) {
|
|
33974
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
33974
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33975
33975
|
try {
|
|
33976
33976
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
33977
33977
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34119,7 +34119,7 @@ var Reject = class Reject extends Activity {
|
|
|
34119
34119
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34120
34120
|
*/
|
|
34121
34121
|
static async fromJsonLd(json, options = {}) {
|
|
34122
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
34122
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34123
34123
|
try {
|
|
34124
34124
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
34125
34125
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34292,7 +34292,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
34292
34292
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34293
34293
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34294
34294
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34295
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
34295
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34296
34296
|
let fetchResult;
|
|
34297
34297
|
try {
|
|
34298
34298
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34415,7 +34415,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
34415
34415
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34416
34416
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34417
34417
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34418
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
34418
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34419
34419
|
let fetchResult;
|
|
34420
34420
|
try {
|
|
34421
34421
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34577,7 +34577,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
34577
34577
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34578
34578
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34579
34579
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34580
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
34580
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34581
34581
|
let fetchResult;
|
|
34582
34582
|
try {
|
|
34583
34583
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34847,7 +34847,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
34847
34847
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34848
34848
|
*/
|
|
34849
34849
|
static async fromJsonLd(json, options = {}) {
|
|
34850
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
34850
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34851
34851
|
try {
|
|
34852
34852
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
34853
34853
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35055,7 +35055,7 @@ var Remove = class Remove extends Activity {
|
|
|
35055
35055
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35056
35056
|
*/
|
|
35057
35057
|
static async fromJsonLd(json, options = {}) {
|
|
35058
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
35058
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35059
35059
|
try {
|
|
35060
35060
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
35061
35061
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35450,7 +35450,7 @@ var Service = class Service extends Object$1 {
|
|
|
35450
35450
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35451
35451
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35452
35452
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35453
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35453
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35454
35454
|
let fetchResult;
|
|
35455
35455
|
try {
|
|
35456
35456
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35612,7 +35612,7 @@ var Service = class Service extends Object$1 {
|
|
|
35612
35612
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35613
35613
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35614
35614
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35615
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35615
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35616
35616
|
let fetchResult;
|
|
35617
35617
|
try {
|
|
35618
35618
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35792,7 +35792,7 @@ var Service = class Service extends Object$1 {
|
|
|
35792
35792
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35793
35793
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35794
35794
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35795
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35795
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35796
35796
|
let fetchResult;
|
|
35797
35797
|
try {
|
|
35798
35798
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35934,7 +35934,7 @@ var Service = class Service extends Object$1 {
|
|
|
35934
35934
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35935
35935
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35936
35936
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35937
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35937
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35938
35938
|
let fetchResult;
|
|
35939
35939
|
try {
|
|
35940
35940
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36073,7 +36073,7 @@ var Service = class Service extends Object$1 {
|
|
|
36073
36073
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36074
36074
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36075
36075
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36076
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36076
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36077
36077
|
let fetchResult;
|
|
36078
36078
|
try {
|
|
36079
36079
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36197,7 +36197,7 @@ var Service = class Service extends Object$1 {
|
|
|
36197
36197
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36198
36198
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36199
36199
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36200
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36200
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36201
36201
|
let fetchResult;
|
|
36202
36202
|
try {
|
|
36203
36203
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36324,7 +36324,7 @@ var Service = class Service extends Object$1 {
|
|
|
36324
36324
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36325
36325
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36326
36326
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36327
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36327
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36328
36328
|
let fetchResult;
|
|
36329
36329
|
try {
|
|
36330
36330
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36449,7 +36449,7 @@ var Service = class Service extends Object$1 {
|
|
|
36449
36449
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36450
36450
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36451
36451
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36452
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36452
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36453
36453
|
let fetchResult;
|
|
36454
36454
|
try {
|
|
36455
36455
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36572,7 +36572,7 @@ var Service = class Service extends Object$1 {
|
|
|
36572
36572
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36573
36573
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36574
36574
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36575
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36575
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36576
36576
|
let fetchResult;
|
|
36577
36577
|
try {
|
|
36578
36578
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36695,7 +36695,7 @@ var Service = class Service extends Object$1 {
|
|
|
36695
36695
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36696
36696
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36697
36697
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36698
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36698
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36699
36699
|
let fetchResult;
|
|
36700
36700
|
try {
|
|
36701
36701
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36857,7 +36857,7 @@ var Service = class Service extends Object$1 {
|
|
|
36857
36857
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36858
36858
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36859
36859
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36860
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36860
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36861
36861
|
let fetchResult;
|
|
36862
36862
|
try {
|
|
36863
36863
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37023,7 +37023,7 @@ var Service = class Service extends Object$1 {
|
|
|
37023
37023
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37024
37024
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37025
37025
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37026
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37026
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37027
37027
|
let fetchResult;
|
|
37028
37028
|
try {
|
|
37029
37029
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37237,7 +37237,7 @@ var Service = class Service extends Object$1 {
|
|
|
37237
37237
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37238
37238
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37239
37239
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37240
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37240
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37241
37241
|
let fetchResult;
|
|
37242
37242
|
try {
|
|
37243
37243
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37920,7 +37920,7 @@ var Service = class Service extends Object$1 {
|
|
|
37920
37920
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37921
37921
|
*/
|
|
37922
37922
|
static async fromJsonLd(json, options = {}) {
|
|
37923
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
37923
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37924
37924
|
try {
|
|
37925
37925
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
37926
37926
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38570,7 +38570,7 @@ var Source = class {
|
|
|
38570
38570
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38571
38571
|
*/
|
|
38572
38572
|
static async fromJsonLd(json, options = {}) {
|
|
38573
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
38573
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38574
38574
|
try {
|
|
38575
38575
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
38576
38576
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38745,7 +38745,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
38745
38745
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38746
38746
|
*/
|
|
38747
38747
|
static async fromJsonLd(json, options = {}) {
|
|
38748
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
38748
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38749
38749
|
try {
|
|
38750
38750
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
38751
38751
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38893,7 +38893,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
38893
38893
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38894
38894
|
*/
|
|
38895
38895
|
static async fromJsonLd(json, options = {}) {
|
|
38896
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
38896
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38897
38897
|
try {
|
|
38898
38898
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
38899
38899
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39080,7 +39080,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
39080
39080
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39081
39081
|
*/
|
|
39082
39082
|
static async fromJsonLd(json, options = {}) {
|
|
39083
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39083
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39084
39084
|
try {
|
|
39085
39085
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
39086
39086
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39243,7 +39243,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
39243
39243
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39244
39244
|
*/
|
|
39245
39245
|
static async fromJsonLd(json, options = {}) {
|
|
39246
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39246
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39247
39247
|
try {
|
|
39248
39248
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
39249
39249
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39405,7 +39405,7 @@ var Undo = class Undo extends Activity {
|
|
|
39405
39405
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39406
39406
|
*/
|
|
39407
39407
|
static async fromJsonLd(json, options = {}) {
|
|
39408
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39408
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39409
39409
|
try {
|
|
39410
39410
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
39411
39411
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39605,7 +39605,7 @@ var Update = class Update extends Activity {
|
|
|
39605
39605
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39606
39606
|
*/
|
|
39607
39607
|
static async fromJsonLd(json, options = {}) {
|
|
39608
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39608
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39609
39609
|
try {
|
|
39610
39610
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
39611
39611
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39759,7 +39759,7 @@ var Video = class Video extends Document {
|
|
|
39759
39759
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39760
39760
|
*/
|
|
39761
39761
|
static async fromJsonLd(json, options = {}) {
|
|
39762
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39762
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39763
39763
|
try {
|
|
39764
39764
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
39765
39765
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39906,7 +39906,7 @@ var View = class View extends Activity {
|
|
|
39906
39906
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39907
39907
|
*/
|
|
39908
39908
|
static async fromJsonLd(json, options = {}) {
|
|
39909
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39909
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.10").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39910
39910
|
try {
|
|
39911
39911
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
39912
39912
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|