@fedify/vocab 2.0.17-dev.1093 → 2.0.18
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-DmxUsCa1.mjs → deno-CxcsQ2wu.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-BFNiYemZ.mjs → vocab-Be5zTOTb.mjs} +184 -184
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
package/dist/mod.js
CHANGED
|
@@ -9,7 +9,7 @@ import { isTemporalDuration, isTemporalInstant } from "@fedify/vocab-runtime/tem
|
|
|
9
9
|
import { delay } from "es-toolkit";
|
|
10
10
|
//#region deno.json
|
|
11
11
|
var name = "@fedify/vocab";
|
|
12
|
-
var version = "2.0.
|
|
12
|
+
var version = "2.0.18";
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/type.ts
|
|
15
15
|
function getTypeId(object) {
|
|
@@ -625,7 +625,7 @@ var Object$1 = class Object$1 {
|
|
|
625
625
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
626
626
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
627
627
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
628
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
628
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
629
629
|
let fetchResult;
|
|
630
630
|
try {
|
|
631
631
|
fetchResult = await documentLoader(url.href);
|
|
@@ -771,7 +771,7 @@ var Object$1 = class Object$1 {
|
|
|
771
771
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
772
772
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
773
773
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
774
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
774
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
775
775
|
let fetchResult;
|
|
776
776
|
try {
|
|
777
777
|
fetchResult = await documentLoader(url.href);
|
|
@@ -983,7 +983,7 @@ var Object$1 = class Object$1 {
|
|
|
983
983
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
984
984
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
985
985
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
986
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
986
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
987
987
|
let fetchResult;
|
|
988
988
|
try {
|
|
989
989
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1167,7 +1167,7 @@ var Object$1 = class Object$1 {
|
|
|
1167
1167
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1168
1168
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1169
1169
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1170
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1170
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1171
1171
|
let fetchResult;
|
|
1172
1172
|
try {
|
|
1173
1173
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1329,7 +1329,7 @@ var Object$1 = class Object$1 {
|
|
|
1329
1329
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1330
1330
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1331
1331
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1332
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1332
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1333
1333
|
let fetchResult;
|
|
1334
1334
|
try {
|
|
1335
1335
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1459,7 +1459,7 @@ var Object$1 = class Object$1 {
|
|
|
1459
1459
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1460
1460
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1461
1461
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1462
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1462
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1463
1463
|
let fetchResult;
|
|
1464
1464
|
try {
|
|
1465
1465
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1625,7 +1625,7 @@ var Object$1 = class Object$1 {
|
|
|
1625
1625
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1626
1626
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1627
1627
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1628
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1628
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1629
1629
|
let fetchResult;
|
|
1630
1630
|
try {
|
|
1631
1631
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1791,7 +1791,7 @@ var Object$1 = class Object$1 {
|
|
|
1791
1791
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1792
1792
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1793
1793
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1794
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1794
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1795
1795
|
let fetchResult;
|
|
1796
1796
|
try {
|
|
1797
1797
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1965,7 +1965,7 @@ var Object$1 = class Object$1 {
|
|
|
1965
1965
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1966
1966
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1967
1967
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1968
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1968
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1969
1969
|
let fetchResult;
|
|
1970
1970
|
try {
|
|
1971
1971
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2139,7 +2139,7 @@ var Object$1 = class Object$1 {
|
|
|
2139
2139
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2140
2140
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2141
2141
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2142
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2142
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2143
2143
|
let fetchResult;
|
|
2144
2144
|
try {
|
|
2145
2145
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2318,7 +2318,7 @@ var Object$1 = class Object$1 {
|
|
|
2318
2318
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2319
2319
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2320
2320
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2321
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2321
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2322
2322
|
let fetchResult;
|
|
2323
2323
|
try {
|
|
2324
2324
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2439,7 +2439,7 @@ var Object$1 = class Object$1 {
|
|
|
2439
2439
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2440
2440
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2441
2441
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2442
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2442
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2443
2443
|
let fetchResult;
|
|
2444
2444
|
try {
|
|
2445
2445
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2566,7 +2566,7 @@ var Object$1 = class Object$1 {
|
|
|
2566
2566
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2567
2567
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2568
2568
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2569
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2569
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2570
2570
|
let fetchResult;
|
|
2571
2571
|
try {
|
|
2572
2572
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2693,7 +2693,7 @@ var Object$1 = class Object$1 {
|
|
|
2693
2693
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2694
2694
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2695
2695
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2696
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2696
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2697
2697
|
let fetchResult;
|
|
2698
2698
|
try {
|
|
2699
2699
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2838,7 +2838,7 @@ var Object$1 = class Object$1 {
|
|
|
2838
2838
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2839
2839
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2840
2840
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2841
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2841
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2842
2842
|
let fetchResult;
|
|
2843
2843
|
try {
|
|
2844
2844
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2990,7 +2990,7 @@ var Object$1 = class Object$1 {
|
|
|
2990
2990
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2991
2991
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2992
2992
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2993
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2993
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2994
2994
|
let fetchResult;
|
|
2995
2995
|
try {
|
|
2996
2996
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3154,7 +3154,7 @@ var Object$1 = class Object$1 {
|
|
|
3154
3154
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3155
3155
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3156
3156
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3157
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3157
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3158
3158
|
let fetchResult;
|
|
3159
3159
|
try {
|
|
3160
3160
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3318,7 +3318,7 @@ var Object$1 = class Object$1 {
|
|
|
3318
3318
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3319
3319
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3320
3320
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3321
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3321
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3322
3322
|
let fetchResult;
|
|
3323
3323
|
try {
|
|
3324
3324
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3482,7 +3482,7 @@ var Object$1 = class Object$1 {
|
|
|
3482
3482
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3483
3483
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3484
3484
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3485
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3485
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3486
3486
|
let fetchResult;
|
|
3487
3487
|
try {
|
|
3488
3488
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3683,7 +3683,7 @@ var Object$1 = class Object$1 {
|
|
|
3683
3683
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3684
3684
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3685
3685
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3686
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3686
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3687
3687
|
let fetchResult;
|
|
3688
3688
|
try {
|
|
3689
3689
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4472,7 +4472,7 @@ var Object$1 = class Object$1 {
|
|
|
4472
4472
|
* @throws {TypeError} If the given `json` is invalid.
|
|
4473
4473
|
*/
|
|
4474
4474
|
static async fromJsonLd(json, options = {}) {
|
|
4475
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
4475
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
4476
4476
|
try {
|
|
4477
4477
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
4478
4478
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -5716,7 +5716,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
5716
5716
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5717
5717
|
*/
|
|
5718
5718
|
static async fromJsonLd(json, options = {}) {
|
|
5719
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
5719
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5720
5720
|
try {
|
|
5721
5721
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
5722
5722
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -5953,7 +5953,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
5953
5953
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5954
5954
|
*/
|
|
5955
5955
|
static async fromJsonLd(json, options = {}) {
|
|
5956
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
5956
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5957
5957
|
try {
|
|
5958
5958
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
5959
5959
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6234,7 +6234,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6234
6234
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6235
6235
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6236
6236
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6237
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6237
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6238
6238
|
let fetchResult;
|
|
6239
6239
|
try {
|
|
6240
6240
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6446,7 +6446,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6446
6446
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6447
6447
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6448
6448
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6449
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6449
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6450
6450
|
let fetchResult;
|
|
6451
6451
|
try {
|
|
6452
6452
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6612,7 +6612,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6612
6612
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6613
6613
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6614
6614
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6615
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6615
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6616
6616
|
let fetchResult;
|
|
6617
6617
|
try {
|
|
6618
6618
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6784,7 +6784,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6784
6784
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6785
6785
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6786
6786
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6787
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6787
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6788
6788
|
let fetchResult;
|
|
6789
6789
|
try {
|
|
6790
6790
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6950,7 +6950,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6950
6950
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6951
6951
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6952
6952
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6953
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6953
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6954
6954
|
let fetchResult;
|
|
6955
6955
|
try {
|
|
6956
6956
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7118,7 +7118,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7118
7118
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7119
7119
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7120
7120
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7121
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7121
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7122
7122
|
let fetchResult;
|
|
7123
7123
|
try {
|
|
7124
7124
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7368,7 +7368,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7368
7368
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7369
7369
|
*/
|
|
7370
7370
|
static async fromJsonLd(json, options = {}) {
|
|
7371
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
7371
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7372
7372
|
try {
|
|
7373
7373
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
7374
7374
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7686,7 +7686,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
7686
7686
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7687
7687
|
*/
|
|
7688
7688
|
static async fromJsonLd(json, options = {}) {
|
|
7689
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
7689
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7690
7690
|
try {
|
|
7691
7691
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
7692
7692
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7932,7 +7932,7 @@ var PropertyValue = class {
|
|
|
7932
7932
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7933
7933
|
*/
|
|
7934
7934
|
static async fromJsonLd(json, options = {}) {
|
|
7935
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
7935
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7936
7936
|
try {
|
|
7937
7937
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
7938
7938
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8166,7 +8166,7 @@ var DidService = class {
|
|
|
8166
8166
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8167
8167
|
*/
|
|
8168
8168
|
static async fromJsonLd(json, options = {}) {
|
|
8169
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8169
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8170
8170
|
try {
|
|
8171
8171
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
8172
8172
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8320,7 +8320,7 @@ var Export = class Export extends DidService {
|
|
|
8320
8320
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8321
8321
|
*/
|
|
8322
8322
|
static async fromJsonLd(json, options = {}) {
|
|
8323
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8323
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8324
8324
|
try {
|
|
8325
8325
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
8326
8326
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8493,7 +8493,7 @@ var DataIntegrityProof = class {
|
|
|
8493
8493
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8494
8494
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8495
8495
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8496
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
8496
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8497
8497
|
let fetchResult;
|
|
8498
8498
|
try {
|
|
8499
8499
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8712,7 +8712,7 @@ var DataIntegrityProof = class {
|
|
|
8712
8712
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8713
8713
|
*/
|
|
8714
8714
|
static async fromJsonLd(json, options = {}) {
|
|
8715
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8715
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8716
8716
|
try {
|
|
8717
8717
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
8718
8718
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8926,7 +8926,7 @@ var CryptographicKey = class {
|
|
|
8926
8926
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8927
8927
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8928
8928
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8929
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
8929
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8930
8930
|
let fetchResult;
|
|
8931
8931
|
try {
|
|
8932
8932
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9188,7 +9188,7 @@ var CryptographicKey = class {
|
|
|
9188
9188
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9189
9189
|
*/
|
|
9190
9190
|
static async fromJsonLd(json, options = {}) {
|
|
9191
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9191
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9192
9192
|
try {
|
|
9193
9193
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
9194
9194
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9383,7 +9383,7 @@ var Multikey = class {
|
|
|
9383
9383
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9384
9384
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9385
9385
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9386
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
9386
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9387
9387
|
let fetchResult;
|
|
9388
9388
|
try {
|
|
9389
9389
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9651,7 +9651,7 @@ var Multikey = class {
|
|
|
9651
9651
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9652
9652
|
*/
|
|
9653
9653
|
static async fromJsonLd(json, options = {}) {
|
|
9654
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9654
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9655
9655
|
try {
|
|
9656
9656
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
9657
9657
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9845,7 +9845,7 @@ var Accept = class Accept extends Activity {
|
|
|
9845
9845
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9846
9846
|
*/
|
|
9847
9847
|
static async fromJsonLd(json, options = {}) {
|
|
9848
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9848
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9849
9849
|
try {
|
|
9850
9850
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
9851
9851
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9996,7 +9996,7 @@ var Add = class Add extends Activity {
|
|
|
9996
9996
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9997
9997
|
*/
|
|
9998
9998
|
static async fromJsonLd(json, options = {}) {
|
|
9999
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9999
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10000
10000
|
try {
|
|
10001
10001
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
10002
10002
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10164,7 +10164,7 @@ var Announce = class Announce extends Activity {
|
|
|
10164
10164
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10165
10165
|
*/
|
|
10166
10166
|
static async fromJsonLd(json, options = {}) {
|
|
10167
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10167
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10168
10168
|
try {
|
|
10169
10169
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
10170
10170
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10559,7 +10559,7 @@ var Application = class Application extends Object$1 {
|
|
|
10559
10559
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10560
10560
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10561
10561
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10562
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
10562
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10563
10563
|
let fetchResult;
|
|
10564
10564
|
try {
|
|
10565
10565
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10721,7 +10721,7 @@ var Application = class Application extends Object$1 {
|
|
|
10721
10721
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10722
10722
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10723
10723
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10724
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
10724
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10725
10725
|
let fetchResult;
|
|
10726
10726
|
try {
|
|
10727
10727
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10901,7 +10901,7 @@ var Application = class Application extends Object$1 {
|
|
|
10901
10901
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10902
10902
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10903
10903
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10904
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
10904
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10905
10905
|
let fetchResult;
|
|
10906
10906
|
try {
|
|
10907
10907
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11043,7 +11043,7 @@ var Application = class Application extends Object$1 {
|
|
|
11043
11043
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11044
11044
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11045
11045
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11046
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11046
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11047
11047
|
let fetchResult;
|
|
11048
11048
|
try {
|
|
11049
11049
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11182,7 +11182,7 @@ var Application = class Application extends Object$1 {
|
|
|
11182
11182
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11183
11183
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11184
11184
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11185
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11185
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11186
11186
|
let fetchResult;
|
|
11187
11187
|
try {
|
|
11188
11188
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11306,7 +11306,7 @@ var Application = class Application extends Object$1 {
|
|
|
11306
11306
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11307
11307
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11308
11308
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11309
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11309
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11310
11310
|
let fetchResult;
|
|
11311
11311
|
try {
|
|
11312
11312
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11433,7 +11433,7 @@ var Application = class Application extends Object$1 {
|
|
|
11433
11433
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11434
11434
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11435
11435
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11436
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11436
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11437
11437
|
let fetchResult;
|
|
11438
11438
|
try {
|
|
11439
11439
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11558,7 +11558,7 @@ var Application = class Application extends Object$1 {
|
|
|
11558
11558
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11559
11559
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11560
11560
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11561
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11561
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11562
11562
|
let fetchResult;
|
|
11563
11563
|
try {
|
|
11564
11564
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11681,7 +11681,7 @@ var Application = class Application extends Object$1 {
|
|
|
11681
11681
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11682
11682
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11683
11683
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11684
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11684
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11685
11685
|
let fetchResult;
|
|
11686
11686
|
try {
|
|
11687
11687
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11804,7 +11804,7 @@ var Application = class Application extends Object$1 {
|
|
|
11804
11804
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11805
11805
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11806
11806
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11807
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11807
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11808
11808
|
let fetchResult;
|
|
11809
11809
|
try {
|
|
11810
11810
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11966,7 +11966,7 @@ var Application = class Application extends Object$1 {
|
|
|
11966
11966
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11967
11967
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11968
11968
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11969
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11969
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11970
11970
|
let fetchResult;
|
|
11971
11971
|
try {
|
|
11972
11972
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12132,7 +12132,7 @@ var Application = class Application extends Object$1 {
|
|
|
12132
12132
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12133
12133
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12134
12134
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12135
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12135
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12136
12136
|
let fetchResult;
|
|
12137
12137
|
try {
|
|
12138
12138
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12346,7 +12346,7 @@ var Application = class Application extends Object$1 {
|
|
|
12346
12346
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12347
12347
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12348
12348
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12349
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12349
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12350
12350
|
let fetchResult;
|
|
12351
12351
|
try {
|
|
12352
12352
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13029,7 +13029,7 @@ var Application = class Application extends Object$1 {
|
|
|
13029
13029
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13030
13030
|
*/
|
|
13031
13031
|
static async fromJsonLd(json, options = {}) {
|
|
13032
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
13032
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13033
13033
|
try {
|
|
13034
13034
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
13035
13035
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13582,7 +13582,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
13582
13582
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13583
13583
|
*/
|
|
13584
13584
|
static async fromJsonLd(json, options = {}) {
|
|
13585
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
13585
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13586
13586
|
try {
|
|
13587
13587
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
13588
13588
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13734,7 +13734,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
13734
13734
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13735
13735
|
*/
|
|
13736
13736
|
static async fromJsonLd(json, options = {}) {
|
|
13737
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
13737
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13738
13738
|
try {
|
|
13739
13739
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
13740
13740
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13969,7 +13969,7 @@ var Article = class Article extends Object$1 {
|
|
|
13969
13969
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13970
13970
|
*/
|
|
13971
13971
|
static async fromJsonLd(json, options = {}) {
|
|
13972
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
13972
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13973
13973
|
try {
|
|
13974
13974
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
13975
13975
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14198,7 +14198,7 @@ var Document = class Document extends Object$1 {
|
|
|
14198
14198
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14199
14199
|
*/
|
|
14200
14200
|
static async fromJsonLd(json, options = {}) {
|
|
14201
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14201
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14202
14202
|
try {
|
|
14203
14203
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
14204
14204
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14381,7 +14381,7 @@ var Audio = class Audio extends Document {
|
|
|
14381
14381
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14382
14382
|
*/
|
|
14383
14383
|
static async fromJsonLd(json, options = {}) {
|
|
14384
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14384
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14385
14385
|
try {
|
|
14386
14386
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
14387
14387
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14529,7 +14529,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
14529
14529
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14530
14530
|
*/
|
|
14531
14531
|
static async fromJsonLd(json, options = {}) {
|
|
14532
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14532
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14533
14533
|
try {
|
|
14534
14534
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
14535
14535
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14680,7 +14680,7 @@ var Block = class Block extends Ignore {
|
|
|
14680
14680
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14681
14681
|
*/
|
|
14682
14682
|
static async fromJsonLd(json, options = {}) {
|
|
14683
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14683
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14684
14684
|
try {
|
|
14685
14685
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
14686
14686
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14944,7 +14944,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
14944
14944
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14945
14945
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14946
14946
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14947
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
14947
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14948
14948
|
let fetchResult;
|
|
14949
14949
|
try {
|
|
14950
14950
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15065,7 +15065,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15065
15065
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15066
15066
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15067
15067
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15068
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15068
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15069
15069
|
let fetchResult;
|
|
15070
15070
|
try {
|
|
15071
15071
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15186,7 +15186,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15186
15186
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15187
15187
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15188
15188
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15189
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15189
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15190
15190
|
let fetchResult;
|
|
15191
15191
|
try {
|
|
15192
15192
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15307,7 +15307,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15307
15307
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15308
15308
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15309
15309
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15310
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15310
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15311
15311
|
let fetchResult;
|
|
15312
15312
|
try {
|
|
15313
15313
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15438,7 +15438,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15438
15438
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15439
15439
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15440
15440
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15441
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15441
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15442
15442
|
let fetchResult;
|
|
15443
15443
|
try {
|
|
15444
15444
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15558,7 +15558,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15558
15558
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15559
15559
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15560
15560
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15561
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15561
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15562
15562
|
let fetchResult;
|
|
15563
15563
|
try {
|
|
15564
15564
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15678,7 +15678,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15678
15678
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15679
15679
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15680
15680
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15681
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15681
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15682
15682
|
let fetchResult;
|
|
15683
15683
|
try {
|
|
15684
15684
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15798,7 +15798,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15798
15798
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15799
15799
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15800
15800
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15801
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15801
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15802
15802
|
let fetchResult;
|
|
15803
15803
|
try {
|
|
15804
15804
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15918,7 +15918,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15918
15918
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15919
15919
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15920
15920
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15921
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15921
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15922
15922
|
let fetchResult;
|
|
15923
15923
|
try {
|
|
15924
15924
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16038,7 +16038,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16038
16038
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16039
16039
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16040
16040
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16041
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16041
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16042
16042
|
let fetchResult;
|
|
16043
16043
|
try {
|
|
16044
16044
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16158,7 +16158,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16158
16158
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16159
16159
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16160
16160
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16161
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16161
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16162
16162
|
let fetchResult;
|
|
16163
16163
|
try {
|
|
16164
16164
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16278,7 +16278,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16278
16278
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16279
16279
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16280
16280
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16281
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16281
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16282
16282
|
let fetchResult;
|
|
16283
16283
|
try {
|
|
16284
16284
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16705,7 +16705,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16705
16705
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16706
16706
|
*/
|
|
16707
16707
|
static async fromJsonLd(json, options = {}) {
|
|
16708
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
16708
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16709
16709
|
try {
|
|
16710
16710
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
16711
16711
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17152,7 +17152,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
17152
17152
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17153
17153
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17154
17154
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17155
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17155
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17156
17156
|
let fetchResult;
|
|
17157
17157
|
try {
|
|
17158
17158
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17273,7 +17273,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
17273
17273
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17274
17274
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17275
17275
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17276
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17276
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17277
17277
|
let fetchResult;
|
|
17278
17278
|
try {
|
|
17279
17279
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17393,7 +17393,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
17393
17393
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17394
17394
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17395
17395
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17396
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17396
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17397
17397
|
let fetchResult;
|
|
17398
17398
|
try {
|
|
17399
17399
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17657,7 +17657,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
17657
17657
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17658
17658
|
*/
|
|
17659
17659
|
static async fromJsonLd(json, options = {}) {
|
|
17660
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
17660
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17661
17661
|
try {
|
|
17662
17662
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
17663
17663
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17883,7 +17883,7 @@ var Create = class Create extends Activity {
|
|
|
17883
17883
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17884
17884
|
*/
|
|
17885
17885
|
static async fromJsonLd(json, options = {}) {
|
|
17886
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
17886
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17887
17887
|
try {
|
|
17888
17888
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
17889
17889
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18047,7 +18047,7 @@ var Delete = class Delete extends Activity {
|
|
|
18047
18047
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18048
18048
|
*/
|
|
18049
18049
|
static async fromJsonLd(json, options = {}) {
|
|
18050
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18050
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18051
18051
|
try {
|
|
18052
18052
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
18053
18053
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18198,7 +18198,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
18198
18198
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18199
18199
|
*/
|
|
18200
18200
|
static async fromJsonLd(json, options = {}) {
|
|
18201
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18201
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18202
18202
|
try {
|
|
18203
18203
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
18204
18204
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18545,7 +18545,7 @@ var Endpoints = class {
|
|
|
18545
18545
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18546
18546
|
*/
|
|
18547
18547
|
static async fromJsonLd(json, options = {}) {
|
|
18548
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18548
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18549
18549
|
try {
|
|
18550
18550
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
18551
18551
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18771,7 +18771,7 @@ var Event = class Event extends Object$1 {
|
|
|
18771
18771
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18772
18772
|
*/
|
|
18773
18773
|
static async fromJsonLd(json, options = {}) {
|
|
18774
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18774
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18775
18775
|
try {
|
|
18776
18776
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
18777
18777
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18920,7 +18920,7 @@ var Flag = class Flag extends Activity {
|
|
|
18920
18920
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18921
18921
|
*/
|
|
18922
18922
|
static async fromJsonLd(json, options = {}) {
|
|
18923
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18923
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18924
18924
|
try {
|
|
18925
18925
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
18926
18926
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19073,7 +19073,7 @@ var Follow = class Follow extends Activity {
|
|
|
19073
19073
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19074
19074
|
*/
|
|
19075
19075
|
static async fromJsonLd(json, options = {}) {
|
|
19076
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19076
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19077
19077
|
try {
|
|
19078
19078
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
19079
19079
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19468,7 +19468,7 @@ var Group = class Group extends Object$1 {
|
|
|
19468
19468
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19469
19469
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19470
19470
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19471
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
19471
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19472
19472
|
let fetchResult;
|
|
19473
19473
|
try {
|
|
19474
19474
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19630,7 +19630,7 @@ var Group = class Group extends Object$1 {
|
|
|
19630
19630
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19631
19631
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19632
19632
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19633
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
19633
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19634
19634
|
let fetchResult;
|
|
19635
19635
|
try {
|
|
19636
19636
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19810,7 +19810,7 @@ var Group = class Group extends Object$1 {
|
|
|
19810
19810
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19811
19811
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19812
19812
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19813
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
19813
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19814
19814
|
let fetchResult;
|
|
19815
19815
|
try {
|
|
19816
19816
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19952,7 +19952,7 @@ var Group = class Group extends Object$1 {
|
|
|
19952
19952
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19953
19953
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19954
19954
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19955
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
19955
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19956
19956
|
let fetchResult;
|
|
19957
19957
|
try {
|
|
19958
19958
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20091,7 +20091,7 @@ var Group = class Group extends Object$1 {
|
|
|
20091
20091
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20092
20092
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20093
20093
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20094
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20094
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20095
20095
|
let fetchResult;
|
|
20096
20096
|
try {
|
|
20097
20097
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20215,7 +20215,7 @@ var Group = class Group extends Object$1 {
|
|
|
20215
20215
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20216
20216
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20217
20217
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20218
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20218
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20219
20219
|
let fetchResult;
|
|
20220
20220
|
try {
|
|
20221
20221
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20342,7 +20342,7 @@ var Group = class Group extends Object$1 {
|
|
|
20342
20342
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20343
20343
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20344
20344
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20345
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20345
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20346
20346
|
let fetchResult;
|
|
20347
20347
|
try {
|
|
20348
20348
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20467,7 +20467,7 @@ var Group = class Group extends Object$1 {
|
|
|
20467
20467
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20468
20468
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20469
20469
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20470
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20470
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20471
20471
|
let fetchResult;
|
|
20472
20472
|
try {
|
|
20473
20473
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20590,7 +20590,7 @@ var Group = class Group extends Object$1 {
|
|
|
20590
20590
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20591
20591
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20592
20592
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20593
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20593
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20594
20594
|
let fetchResult;
|
|
20595
20595
|
try {
|
|
20596
20596
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20713,7 +20713,7 @@ var Group = class Group extends Object$1 {
|
|
|
20713
20713
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20714
20714
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20715
20715
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20716
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20716
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20717
20717
|
let fetchResult;
|
|
20718
20718
|
try {
|
|
20719
20719
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20875,7 +20875,7 @@ var Group = class Group extends Object$1 {
|
|
|
20875
20875
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20876
20876
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20877
20877
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20878
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20878
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20879
20879
|
let fetchResult;
|
|
20880
20880
|
try {
|
|
20881
20881
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21041,7 +21041,7 @@ var Group = class Group extends Object$1 {
|
|
|
21041
21041
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21042
21042
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21043
21043
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21044
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21044
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21045
21045
|
let fetchResult;
|
|
21046
21046
|
try {
|
|
21047
21047
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21255,7 +21255,7 @@ var Group = class Group extends Object$1 {
|
|
|
21255
21255
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21256
21256
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21257
21257
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21258
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21258
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21259
21259
|
let fetchResult;
|
|
21260
21260
|
try {
|
|
21261
21261
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21938,7 +21938,7 @@ var Group = class Group extends Object$1 {
|
|
|
21938
21938
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21939
21939
|
*/
|
|
21940
21940
|
static async fromJsonLd(json, options = {}) {
|
|
21941
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
21941
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21942
21942
|
try {
|
|
21943
21943
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
21944
21944
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22630,7 +22630,7 @@ var Link = class Link {
|
|
|
22630
22630
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22631
22631
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22632
22632
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22633
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
22633
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22634
22634
|
let fetchResult;
|
|
22635
22635
|
try {
|
|
22636
22636
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22922,7 +22922,7 @@ var Link = class Link {
|
|
|
22922
22922
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22923
22923
|
*/
|
|
22924
22924
|
static async fromJsonLd(json, options = {}) {
|
|
22925
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
22925
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22926
22926
|
try {
|
|
22927
22927
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
22928
22928
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23249,7 +23249,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
23249
23249
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23250
23250
|
*/
|
|
23251
23251
|
static async fromJsonLd(json, options = {}) {
|
|
23252
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23252
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23253
23253
|
try {
|
|
23254
23254
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
23255
23255
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23403,7 +23403,7 @@ var Image = class Image extends Document {
|
|
|
23403
23403
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23404
23404
|
*/
|
|
23405
23405
|
static async fromJsonLd(json, options = {}) {
|
|
23406
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23406
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23407
23407
|
try {
|
|
23408
23408
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
23409
23409
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23552,7 +23552,7 @@ var Offer = class Offer extends Activity {
|
|
|
23552
23552
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23553
23553
|
*/
|
|
23554
23554
|
static async fromJsonLd(json, options = {}) {
|
|
23555
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23555
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23556
23556
|
try {
|
|
23557
23557
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
23558
23558
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23701,7 +23701,7 @@ var Invite = class Invite extends Offer {
|
|
|
23701
23701
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23702
23702
|
*/
|
|
23703
23703
|
static async fromJsonLd(json, options = {}) {
|
|
23704
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23704
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23705
23705
|
try {
|
|
23706
23706
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
23707
23707
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23849,7 +23849,7 @@ var Join = class Join extends Activity {
|
|
|
23849
23849
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23850
23850
|
*/
|
|
23851
23851
|
static async fromJsonLd(json, options = {}) {
|
|
23852
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23852
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23853
23853
|
try {
|
|
23854
23854
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
23855
23855
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23997,7 +23997,7 @@ var Leave = class Leave extends Activity {
|
|
|
23997
23997
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23998
23998
|
*/
|
|
23999
23999
|
static async fromJsonLd(json, options = {}) {
|
|
24000
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24000
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24001
24001
|
try {
|
|
24002
24002
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
24003
24003
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24149,7 +24149,7 @@ var Like = class Like extends Activity {
|
|
|
24149
24149
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24150
24150
|
*/
|
|
24151
24151
|
static async fromJsonLd(json, options = {}) {
|
|
24152
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24152
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24153
24153
|
try {
|
|
24154
24154
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
24155
24155
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24296,7 +24296,7 @@ var Listen = class Listen extends Activity {
|
|
|
24296
24296
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24297
24297
|
*/
|
|
24298
24298
|
static async fromJsonLd(json, options = {}) {
|
|
24299
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24299
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24300
24300
|
try {
|
|
24301
24301
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
24302
24302
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24447,7 +24447,7 @@ var Mention = class Mention extends Link {
|
|
|
24447
24447
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24448
24448
|
*/
|
|
24449
24449
|
static async fromJsonLd(json, options = {}) {
|
|
24450
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24450
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24451
24451
|
try {
|
|
24452
24452
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
24453
24453
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24596,7 +24596,7 @@ var Move = class Move extends Activity {
|
|
|
24596
24596
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24597
24597
|
*/
|
|
24598
24598
|
static async fromJsonLd(json, options = {}) {
|
|
24599
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24599
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24600
24600
|
try {
|
|
24601
24601
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
24602
24602
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24832,7 +24832,7 @@ var Note = class Note extends Object$1 {
|
|
|
24832
24832
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24833
24833
|
*/
|
|
24834
24834
|
static async fromJsonLd(json, options = {}) {
|
|
24835
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24835
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24836
24836
|
try {
|
|
24837
24837
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
24838
24838
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24961,7 +24961,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
24961
24961
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24962
24962
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24963
24963
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24964
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
24964
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24965
24965
|
let fetchResult;
|
|
24966
24966
|
try {
|
|
24967
24967
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25209,7 +25209,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
25209
25209
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25210
25210
|
*/
|
|
25211
25211
|
static async fromJsonLd(json, options = {}) {
|
|
25212
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25212
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25213
25213
|
try {
|
|
25214
25214
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
25215
25215
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25415,7 +25415,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
25415
25415
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25416
25416
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25417
25417
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25418
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
25418
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25419
25419
|
let fetchResult;
|
|
25420
25420
|
try {
|
|
25421
25421
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25686,7 +25686,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
25686
25686
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25687
25687
|
*/
|
|
25688
25688
|
static async fromJsonLd(json, options = {}) {
|
|
25689
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25689
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25690
25690
|
try {
|
|
25691
25691
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
25692
25692
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26178,7 +26178,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
26178
26178
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26179
26179
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26180
26180
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26181
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26181
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26182
26182
|
let fetchResult;
|
|
26183
26183
|
try {
|
|
26184
26184
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26340,7 +26340,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
26340
26340
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26341
26341
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26342
26342
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26343
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26343
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26344
26344
|
let fetchResult;
|
|
26345
26345
|
try {
|
|
26346
26346
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26520,7 +26520,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
26520
26520
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26521
26521
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26522
26522
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26523
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26523
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26524
26524
|
let fetchResult;
|
|
26525
26525
|
try {
|
|
26526
26526
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26662,7 +26662,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
26662
26662
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26663
26663
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26664
26664
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26665
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26665
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26666
26666
|
let fetchResult;
|
|
26667
26667
|
try {
|
|
26668
26668
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26801,7 +26801,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
26801
26801
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26802
26802
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26803
26803
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26804
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26804
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26805
26805
|
let fetchResult;
|
|
26806
26806
|
try {
|
|
26807
26807
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26925,7 +26925,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
26925
26925
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26926
26926
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26927
26927
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26928
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26928
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26929
26929
|
let fetchResult;
|
|
26930
26930
|
try {
|
|
26931
26931
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27052,7 +27052,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27052
27052
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27053
27053
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27054
27054
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27055
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27055
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27056
27056
|
let fetchResult;
|
|
27057
27057
|
try {
|
|
27058
27058
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27177,7 +27177,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27177
27177
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27178
27178
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27179
27179
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27180
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27180
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27181
27181
|
let fetchResult;
|
|
27182
27182
|
try {
|
|
27183
27183
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27300,7 +27300,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27300
27300
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27301
27301
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27302
27302
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27303
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27303
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27304
27304
|
let fetchResult;
|
|
27305
27305
|
try {
|
|
27306
27306
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27423,7 +27423,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27423
27423
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27424
27424
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27425
27425
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27426
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27426
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27427
27427
|
let fetchResult;
|
|
27428
27428
|
try {
|
|
27429
27429
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27585,7 +27585,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27585
27585
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27586
27586
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27587
27587
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27588
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27588
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27589
27589
|
let fetchResult;
|
|
27590
27590
|
try {
|
|
27591
27591
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27751,7 +27751,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27751
27751
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27752
27752
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27753
27753
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27754
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27754
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27755
27755
|
let fetchResult;
|
|
27756
27756
|
try {
|
|
27757
27757
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27965,7 +27965,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27965
27965
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27966
27966
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27967
27967
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27968
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27968
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27969
27969
|
let fetchResult;
|
|
27970
27970
|
try {
|
|
27971
27971
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28648,7 +28648,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28648
28648
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28649
28649
|
*/
|
|
28650
28650
|
static async fromJsonLd(json, options = {}) {
|
|
28651
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
28651
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28652
28652
|
try {
|
|
28653
28653
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
28654
28654
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29206,7 +29206,7 @@ var Page = class Page extends Document {
|
|
|
29206
29206
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29207
29207
|
*/
|
|
29208
29208
|
static async fromJsonLd(json, options = {}) {
|
|
29209
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
29209
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29210
29210
|
try {
|
|
29211
29211
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
29212
29212
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29601,7 +29601,7 @@ var Person = class Person extends Object$1 {
|
|
|
29601
29601
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29602
29602
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29603
29603
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29604
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29604
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29605
29605
|
let fetchResult;
|
|
29606
29606
|
try {
|
|
29607
29607
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29763,7 +29763,7 @@ var Person = class Person extends Object$1 {
|
|
|
29763
29763
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29764
29764
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29765
29765
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29766
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29766
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29767
29767
|
let fetchResult;
|
|
29768
29768
|
try {
|
|
29769
29769
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29943,7 +29943,7 @@ var Person = class Person extends Object$1 {
|
|
|
29943
29943
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29944
29944
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29945
29945
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29946
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29946
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29947
29947
|
let fetchResult;
|
|
29948
29948
|
try {
|
|
29949
29949
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30085,7 +30085,7 @@ var Person = class Person extends Object$1 {
|
|
|
30085
30085
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30086
30086
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30087
30087
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30088
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30088
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30089
30089
|
let fetchResult;
|
|
30090
30090
|
try {
|
|
30091
30091
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30224,7 +30224,7 @@ var Person = class Person extends Object$1 {
|
|
|
30224
30224
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30225
30225
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30226
30226
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30227
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30227
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30228
30228
|
let fetchResult;
|
|
30229
30229
|
try {
|
|
30230
30230
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30348,7 +30348,7 @@ var Person = class Person extends Object$1 {
|
|
|
30348
30348
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30349
30349
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30350
30350
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30351
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30351
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30352
30352
|
let fetchResult;
|
|
30353
30353
|
try {
|
|
30354
30354
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30475,7 +30475,7 @@ var Person = class Person extends Object$1 {
|
|
|
30475
30475
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30476
30476
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30477
30477
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30478
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30478
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30479
30479
|
let fetchResult;
|
|
30480
30480
|
try {
|
|
30481
30481
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30600,7 +30600,7 @@ var Person = class Person extends Object$1 {
|
|
|
30600
30600
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30601
30601
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30602
30602
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30603
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30603
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30604
30604
|
let fetchResult;
|
|
30605
30605
|
try {
|
|
30606
30606
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30723,7 +30723,7 @@ var Person = class Person extends Object$1 {
|
|
|
30723
30723
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30724
30724
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30725
30725
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30726
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30726
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30727
30727
|
let fetchResult;
|
|
30728
30728
|
try {
|
|
30729
30729
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30846,7 +30846,7 @@ var Person = class Person extends Object$1 {
|
|
|
30846
30846
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30847
30847
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30848
30848
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30849
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30849
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30850
30850
|
let fetchResult;
|
|
30851
30851
|
try {
|
|
30852
30852
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31008,7 +31008,7 @@ var Person = class Person extends Object$1 {
|
|
|
31008
31008
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31009
31009
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31010
31010
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31011
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31011
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31012
31012
|
let fetchResult;
|
|
31013
31013
|
try {
|
|
31014
31014
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31174,7 +31174,7 @@ var Person = class Person extends Object$1 {
|
|
|
31174
31174
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31175
31175
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31176
31176
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31177
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31177
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31178
31178
|
let fetchResult;
|
|
31179
31179
|
try {
|
|
31180
31180
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31388,7 +31388,7 @@ var Person = class Person extends Object$1 {
|
|
|
31388
31388
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31389
31389
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31390
31390
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31391
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31391
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31392
31392
|
let fetchResult;
|
|
31393
31393
|
try {
|
|
31394
31394
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32071,7 +32071,7 @@ var Person = class Person extends Object$1 {
|
|
|
32071
32071
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32072
32072
|
*/
|
|
32073
32073
|
static async fromJsonLd(json, options = {}) {
|
|
32074
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
32074
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32075
32075
|
try {
|
|
32076
32076
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
32077
32077
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32806,7 +32806,7 @@ var Place = class Place extends Object$1 {
|
|
|
32806
32806
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32807
32807
|
*/
|
|
32808
32808
|
static async fromJsonLd(json, options = {}) {
|
|
32809
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
32809
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32810
32810
|
try {
|
|
32811
32811
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
32812
32812
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32997,7 +32997,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
32997
32997
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32998
32998
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32999
32999
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33000
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
33000
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33001
33001
|
let fetchResult;
|
|
33002
33002
|
try {
|
|
33003
33003
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33190,7 +33190,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
33190
33190
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33191
33191
|
*/
|
|
33192
33192
|
static async fromJsonLd(json, options = {}) {
|
|
33193
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
33193
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33194
33194
|
try {
|
|
33195
33195
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
33196
33196
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33361,7 +33361,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
33361
33361
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33362
33362
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33363
33363
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33364
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
33364
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33365
33365
|
let fetchResult;
|
|
33366
33366
|
try {
|
|
33367
33367
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33483,7 +33483,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
33483
33483
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33484
33484
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33485
33485
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33486
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
33486
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33487
33487
|
let fetchResult;
|
|
33488
33488
|
try {
|
|
33489
33489
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33746,7 +33746,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
33746
33746
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33747
33747
|
*/
|
|
33748
33748
|
static async fromJsonLd(json, options = {}) {
|
|
33749
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
33749
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33750
33750
|
try {
|
|
33751
33751
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
33752
33752
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33972,7 +33972,7 @@ var Read = class Read extends Activity {
|
|
|
33972
33972
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33973
33973
|
*/
|
|
33974
33974
|
static async fromJsonLd(json, options = {}) {
|
|
33975
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
33975
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33976
33976
|
try {
|
|
33977
33977
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
33978
33978
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34120,7 +34120,7 @@ var Reject = class Reject extends Activity {
|
|
|
34120
34120
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34121
34121
|
*/
|
|
34122
34122
|
static async fromJsonLd(json, options = {}) {
|
|
34123
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
34123
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34124
34124
|
try {
|
|
34125
34125
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
34126
34126
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34293,7 +34293,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
34293
34293
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34294
34294
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34295
34295
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34296
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
34296
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34297
34297
|
let fetchResult;
|
|
34298
34298
|
try {
|
|
34299
34299
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34416,7 +34416,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
34416
34416
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34417
34417
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34418
34418
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34419
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
34419
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34420
34420
|
let fetchResult;
|
|
34421
34421
|
try {
|
|
34422
34422
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34578,7 +34578,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
34578
34578
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34579
34579
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34580
34580
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34581
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
34581
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34582
34582
|
let fetchResult;
|
|
34583
34583
|
try {
|
|
34584
34584
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34848,7 +34848,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
34848
34848
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34849
34849
|
*/
|
|
34850
34850
|
static async fromJsonLd(json, options = {}) {
|
|
34851
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
34851
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34852
34852
|
try {
|
|
34853
34853
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
34854
34854
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35056,7 +35056,7 @@ var Remove = class Remove extends Activity {
|
|
|
35056
35056
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35057
35057
|
*/
|
|
35058
35058
|
static async fromJsonLd(json, options = {}) {
|
|
35059
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
35059
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35060
35060
|
try {
|
|
35061
35061
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
35062
35062
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35451,7 +35451,7 @@ var Service = class Service extends Object$1 {
|
|
|
35451
35451
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35452
35452
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35453
35453
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35454
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35454
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35455
35455
|
let fetchResult;
|
|
35456
35456
|
try {
|
|
35457
35457
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35613,7 +35613,7 @@ var Service = class Service extends Object$1 {
|
|
|
35613
35613
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35614
35614
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35615
35615
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35616
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35616
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35617
35617
|
let fetchResult;
|
|
35618
35618
|
try {
|
|
35619
35619
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35793,7 +35793,7 @@ var Service = class Service extends Object$1 {
|
|
|
35793
35793
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35794
35794
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35795
35795
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35796
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35796
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35797
35797
|
let fetchResult;
|
|
35798
35798
|
try {
|
|
35799
35799
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35935,7 +35935,7 @@ var Service = class Service extends Object$1 {
|
|
|
35935
35935
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35936
35936
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35937
35937
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35938
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35938
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35939
35939
|
let fetchResult;
|
|
35940
35940
|
try {
|
|
35941
35941
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36074,7 +36074,7 @@ var Service = class Service extends Object$1 {
|
|
|
36074
36074
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36075
36075
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36076
36076
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36077
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36077
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36078
36078
|
let fetchResult;
|
|
36079
36079
|
try {
|
|
36080
36080
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36198,7 +36198,7 @@ var Service = class Service extends Object$1 {
|
|
|
36198
36198
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36199
36199
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36200
36200
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36201
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36201
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36202
36202
|
let fetchResult;
|
|
36203
36203
|
try {
|
|
36204
36204
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36325,7 +36325,7 @@ var Service = class Service extends Object$1 {
|
|
|
36325
36325
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36326
36326
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36327
36327
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36328
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36328
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36329
36329
|
let fetchResult;
|
|
36330
36330
|
try {
|
|
36331
36331
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36450,7 +36450,7 @@ var Service = class Service extends Object$1 {
|
|
|
36450
36450
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36451
36451
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36452
36452
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36453
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36453
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36454
36454
|
let fetchResult;
|
|
36455
36455
|
try {
|
|
36456
36456
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36573,7 +36573,7 @@ var Service = class Service extends Object$1 {
|
|
|
36573
36573
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36574
36574
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36575
36575
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36576
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36576
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36577
36577
|
let fetchResult;
|
|
36578
36578
|
try {
|
|
36579
36579
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36696,7 +36696,7 @@ var Service = class Service extends Object$1 {
|
|
|
36696
36696
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36697
36697
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36698
36698
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36699
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36699
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36700
36700
|
let fetchResult;
|
|
36701
36701
|
try {
|
|
36702
36702
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36858,7 +36858,7 @@ var Service = class Service extends Object$1 {
|
|
|
36858
36858
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36859
36859
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36860
36860
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36861
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36861
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36862
36862
|
let fetchResult;
|
|
36863
36863
|
try {
|
|
36864
36864
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37024,7 +37024,7 @@ var Service = class Service extends Object$1 {
|
|
|
37024
37024
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37025
37025
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37026
37026
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37027
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37027
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37028
37028
|
let fetchResult;
|
|
37029
37029
|
try {
|
|
37030
37030
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37238,7 +37238,7 @@ var Service = class Service extends Object$1 {
|
|
|
37238
37238
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37239
37239
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37240
37240
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37241
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37241
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37242
37242
|
let fetchResult;
|
|
37243
37243
|
try {
|
|
37244
37244
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37921,7 +37921,7 @@ var Service = class Service extends Object$1 {
|
|
|
37921
37921
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37922
37922
|
*/
|
|
37923
37923
|
static async fromJsonLd(json, options = {}) {
|
|
37924
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
37924
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37925
37925
|
try {
|
|
37926
37926
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
37927
37927
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38571,7 +38571,7 @@ var Source = class {
|
|
|
38571
38571
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38572
38572
|
*/
|
|
38573
38573
|
static async fromJsonLd(json, options = {}) {
|
|
38574
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
38574
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38575
38575
|
try {
|
|
38576
38576
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
38577
38577
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38746,7 +38746,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
38746
38746
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38747
38747
|
*/
|
|
38748
38748
|
static async fromJsonLd(json, options = {}) {
|
|
38749
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
38749
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38750
38750
|
try {
|
|
38751
38751
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
38752
38752
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38894,7 +38894,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
38894
38894
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38895
38895
|
*/
|
|
38896
38896
|
static async fromJsonLd(json, options = {}) {
|
|
38897
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
38897
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38898
38898
|
try {
|
|
38899
38899
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
38900
38900
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39081,7 +39081,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
39081
39081
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39082
39082
|
*/
|
|
39083
39083
|
static async fromJsonLd(json, options = {}) {
|
|
39084
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39084
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39085
39085
|
try {
|
|
39086
39086
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
39087
39087
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39244,7 +39244,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
39244
39244
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39245
39245
|
*/
|
|
39246
39246
|
static async fromJsonLd(json, options = {}) {
|
|
39247
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39247
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39248
39248
|
try {
|
|
39249
39249
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
39250
39250
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39406,7 +39406,7 @@ var Undo = class Undo extends Activity {
|
|
|
39406
39406
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39407
39407
|
*/
|
|
39408
39408
|
static async fromJsonLd(json, options = {}) {
|
|
39409
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39409
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39410
39410
|
try {
|
|
39411
39411
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
39412
39412
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39606,7 +39606,7 @@ var Update = class Update extends Activity {
|
|
|
39606
39606
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39607
39607
|
*/
|
|
39608
39608
|
static async fromJsonLd(json, options = {}) {
|
|
39609
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39609
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39610
39610
|
try {
|
|
39611
39611
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
39612
39612
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39760,7 +39760,7 @@ var Video = class Video extends Document {
|
|
|
39760
39760
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39761
39761
|
*/
|
|
39762
39762
|
static async fromJsonLd(json, options = {}) {
|
|
39763
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39763
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39764
39764
|
try {
|
|
39765
39765
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
39766
39766
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39907,7 +39907,7 @@ var View = class View extends Activity {
|
|
|
39907
39907
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39908
39908
|
*/
|
|
39909
39909
|
static async fromJsonLd(json, options = {}) {
|
|
39910
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39910
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39911
39911
|
try {
|
|
39912
39912
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
39913
39913
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|