@fedify/vocab 2.0.25 → 2.0.26-dev.1876
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-aMxSzZ_s.mjs → deno-Dvd0VC5R.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-CX19G0WQ.mjs → vocab-BYnGj9Fd.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.26-dev.1876+a95acb45";
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/type.ts
|
|
15
15
|
function getTypeId(object) {
|
|
@@ -646,7 +646,7 @@ var Object$1 = class Object$1 {
|
|
|
646
646
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
647
647
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
648
648
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
649
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
649
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
650
650
|
let fetchResult;
|
|
651
651
|
try {
|
|
652
652
|
fetchResult = await documentLoader(url.href);
|
|
@@ -792,7 +792,7 @@ var Object$1 = class Object$1 {
|
|
|
792
792
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
793
793
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
794
794
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
795
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
795
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
796
796
|
let fetchResult;
|
|
797
797
|
try {
|
|
798
798
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1004,7 +1004,7 @@ var Object$1 = class Object$1 {
|
|
|
1004
1004
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1005
1005
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1006
1006
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1007
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1007
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1008
1008
|
let fetchResult;
|
|
1009
1009
|
try {
|
|
1010
1010
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1188,7 +1188,7 @@ var Object$1 = class Object$1 {
|
|
|
1188
1188
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1189
1189
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1190
1190
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1191
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1191
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1192
1192
|
let fetchResult;
|
|
1193
1193
|
try {
|
|
1194
1194
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1350,7 +1350,7 @@ var Object$1 = class Object$1 {
|
|
|
1350
1350
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1351
1351
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1352
1352
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1353
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1353
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1354
1354
|
let fetchResult;
|
|
1355
1355
|
try {
|
|
1356
1356
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1480,7 +1480,7 @@ var Object$1 = class Object$1 {
|
|
|
1480
1480
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1481
1481
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1482
1482
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1483
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1483
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1484
1484
|
let fetchResult;
|
|
1485
1485
|
try {
|
|
1486
1486
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1646,7 +1646,7 @@ var Object$1 = class Object$1 {
|
|
|
1646
1646
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1647
1647
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1648
1648
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1649
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1649
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1650
1650
|
let fetchResult;
|
|
1651
1651
|
try {
|
|
1652
1652
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1812,7 +1812,7 @@ var Object$1 = class Object$1 {
|
|
|
1812
1812
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1813
1813
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1814
1814
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1815
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1815
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1816
1816
|
let fetchResult;
|
|
1817
1817
|
try {
|
|
1818
1818
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1986,7 +1986,7 @@ var Object$1 = class Object$1 {
|
|
|
1986
1986
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1987
1987
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1988
1988
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1989
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1989
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1990
1990
|
let fetchResult;
|
|
1991
1991
|
try {
|
|
1992
1992
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2160,7 +2160,7 @@ var Object$1 = class Object$1 {
|
|
|
2160
2160
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2161
2161
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2162
2162
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2163
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2163
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2164
2164
|
let fetchResult;
|
|
2165
2165
|
try {
|
|
2166
2166
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2339,7 +2339,7 @@ var Object$1 = class Object$1 {
|
|
|
2339
2339
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2340
2340
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2341
2341
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2342
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2342
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2343
2343
|
let fetchResult;
|
|
2344
2344
|
try {
|
|
2345
2345
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2460,7 +2460,7 @@ var Object$1 = class Object$1 {
|
|
|
2460
2460
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2461
2461
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2462
2462
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2463
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2463
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2464
2464
|
let fetchResult;
|
|
2465
2465
|
try {
|
|
2466
2466
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2587,7 +2587,7 @@ var Object$1 = class Object$1 {
|
|
|
2587
2587
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2588
2588
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2589
2589
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2590
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2590
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2591
2591
|
let fetchResult;
|
|
2592
2592
|
try {
|
|
2593
2593
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2714,7 +2714,7 @@ var Object$1 = class Object$1 {
|
|
|
2714
2714
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2715
2715
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2716
2716
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2717
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2717
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2718
2718
|
let fetchResult;
|
|
2719
2719
|
try {
|
|
2720
2720
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2859,7 +2859,7 @@ var Object$1 = class Object$1 {
|
|
|
2859
2859
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2860
2860
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2861
2861
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2862
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2862
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2863
2863
|
let fetchResult;
|
|
2864
2864
|
try {
|
|
2865
2865
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3011,7 +3011,7 @@ var Object$1 = class Object$1 {
|
|
|
3011
3011
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3012
3012
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3013
3013
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3014
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3014
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3015
3015
|
let fetchResult;
|
|
3016
3016
|
try {
|
|
3017
3017
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3175,7 +3175,7 @@ var Object$1 = class Object$1 {
|
|
|
3175
3175
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3176
3176
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3177
3177
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3178
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3178
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3179
3179
|
let fetchResult;
|
|
3180
3180
|
try {
|
|
3181
3181
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3339,7 +3339,7 @@ var Object$1 = class Object$1 {
|
|
|
3339
3339
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3340
3340
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3341
3341
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3342
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3342
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3343
3343
|
let fetchResult;
|
|
3344
3344
|
try {
|
|
3345
3345
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3503,7 +3503,7 @@ var Object$1 = class Object$1 {
|
|
|
3503
3503
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3504
3504
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3505
3505
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3506
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3506
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3507
3507
|
let fetchResult;
|
|
3508
3508
|
try {
|
|
3509
3509
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3704,7 +3704,7 @@ var Object$1 = class Object$1 {
|
|
|
3704
3704
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3705
3705
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3706
3706
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3707
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3707
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3708
3708
|
let fetchResult;
|
|
3709
3709
|
try {
|
|
3710
3710
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4493,7 +4493,7 @@ var Object$1 = class Object$1 {
|
|
|
4493
4493
|
* @throws {TypeError} If the given `json` is invalid.
|
|
4494
4494
|
*/
|
|
4495
4495
|
static async fromJsonLd(json, options = {}) {
|
|
4496
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
4496
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
4497
4497
|
try {
|
|
4498
4498
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
4499
4499
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -5827,7 +5827,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
5827
5827
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5828
5828
|
*/
|
|
5829
5829
|
static async fromJsonLd(json, options = {}) {
|
|
5830
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
5830
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5831
5831
|
try {
|
|
5832
5832
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
5833
5833
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6066,7 +6066,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6066
6066
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6067
6067
|
*/
|
|
6068
6068
|
static async fromJsonLd(json, options = {}) {
|
|
6069
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
6069
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6070
6070
|
try {
|
|
6071
6071
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
6072
6072
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6351,7 +6351,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6351
6351
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6352
6352
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6353
6353
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6354
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6354
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6355
6355
|
let fetchResult;
|
|
6356
6356
|
try {
|
|
6357
6357
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6563,7 +6563,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6563
6563
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6564
6564
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6565
6565
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6566
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6566
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6567
6567
|
let fetchResult;
|
|
6568
6568
|
try {
|
|
6569
6569
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6729,7 +6729,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6729
6729
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6730
6730
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6731
6731
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6732
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6732
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6733
6733
|
let fetchResult;
|
|
6734
6734
|
try {
|
|
6735
6735
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6901,7 +6901,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6901
6901
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6902
6902
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6903
6903
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6904
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6904
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6905
6905
|
let fetchResult;
|
|
6906
6906
|
try {
|
|
6907
6907
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7067,7 +7067,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7067
7067
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7068
7068
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7069
7069
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7070
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7070
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7071
7071
|
let fetchResult;
|
|
7072
7072
|
try {
|
|
7073
7073
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7235,7 +7235,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7235
7235
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7236
7236
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7237
7237
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7238
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7238
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7239
7239
|
let fetchResult;
|
|
7240
7240
|
try {
|
|
7241
7241
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7485,7 +7485,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7485
7485
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7486
7486
|
*/
|
|
7487
7487
|
static async fromJsonLd(json, options = {}) {
|
|
7488
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
7488
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7489
7489
|
try {
|
|
7490
7490
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
7491
7491
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7819,7 +7819,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
7819
7819
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7820
7820
|
*/
|
|
7821
7821
|
static async fromJsonLd(json, options = {}) {
|
|
7822
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
7822
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7823
7823
|
try {
|
|
7824
7824
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
7825
7825
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8079,7 +8079,7 @@ var PropertyValue = class {
|
|
|
8079
8079
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8080
8080
|
*/
|
|
8081
8081
|
static async fromJsonLd(json, options = {}) {
|
|
8082
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8082
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8083
8083
|
try {
|
|
8084
8084
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
8085
8085
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8335,7 +8335,7 @@ var DidService = class {
|
|
|
8335
8335
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8336
8336
|
*/
|
|
8337
8337
|
static async fromJsonLd(json, options = {}) {
|
|
8338
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8338
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8339
8339
|
try {
|
|
8340
8340
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
8341
8341
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8493,7 +8493,7 @@ var Export = class Export extends DidService {
|
|
|
8493
8493
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8494
8494
|
*/
|
|
8495
8495
|
static async fromJsonLd(json, options = {}) {
|
|
8496
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8496
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8497
8497
|
try {
|
|
8498
8498
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
8499
8499
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8680,7 +8680,7 @@ var DataIntegrityProof = class {
|
|
|
8680
8680
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8681
8681
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8682
8682
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8683
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
8683
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8684
8684
|
let fetchResult;
|
|
8685
8685
|
try {
|
|
8686
8686
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8899,7 +8899,7 @@ var DataIntegrityProof = class {
|
|
|
8899
8899
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8900
8900
|
*/
|
|
8901
8901
|
static async fromJsonLd(json, options = {}) {
|
|
8902
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8902
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8903
8903
|
try {
|
|
8904
8904
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
8905
8905
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9137,7 +9137,7 @@ var CryptographicKey = class {
|
|
|
9137
9137
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9138
9138
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9139
9139
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9140
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
9140
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9141
9141
|
let fetchResult;
|
|
9142
9142
|
try {
|
|
9143
9143
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9399,7 +9399,7 @@ var CryptographicKey = class {
|
|
|
9399
9399
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9400
9400
|
*/
|
|
9401
9401
|
static async fromJsonLd(json, options = {}) {
|
|
9402
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9402
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9403
9403
|
try {
|
|
9404
9404
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
9405
9405
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9614,7 +9614,7 @@ var Multikey = class {
|
|
|
9614
9614
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9615
9615
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9616
9616
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9617
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
9617
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9618
9618
|
let fetchResult;
|
|
9619
9619
|
try {
|
|
9620
9620
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9882,7 +9882,7 @@ var Multikey = class {
|
|
|
9882
9882
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9883
9883
|
*/
|
|
9884
9884
|
static async fromJsonLd(json, options = {}) {
|
|
9885
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9885
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9886
9886
|
try {
|
|
9887
9887
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
9888
9888
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10084,7 +10084,7 @@ var Accept = class Accept extends Activity {
|
|
|
10084
10084
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10085
10085
|
*/
|
|
10086
10086
|
static async fromJsonLd(json, options = {}) {
|
|
10087
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10087
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10088
10088
|
try {
|
|
10089
10089
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
10090
10090
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10237,7 +10237,7 @@ var Add = class Add extends Activity {
|
|
|
10237
10237
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10238
10238
|
*/
|
|
10239
10239
|
static async fromJsonLd(json, options = {}) {
|
|
10240
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10240
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10241
10241
|
try {
|
|
10242
10242
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
10243
10243
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10407,7 +10407,7 @@ var Announce = class Announce extends Activity {
|
|
|
10407
10407
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10408
10408
|
*/
|
|
10409
10409
|
static async fromJsonLd(json, options = {}) {
|
|
10410
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10410
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10411
10411
|
try {
|
|
10412
10412
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
10413
10413
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10804,7 +10804,7 @@ var Application = class Application extends Object$1 {
|
|
|
10804
10804
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10805
10805
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10806
10806
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10807
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
10807
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10808
10808
|
let fetchResult;
|
|
10809
10809
|
try {
|
|
10810
10810
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10966,7 +10966,7 @@ var Application = class Application extends Object$1 {
|
|
|
10966
10966
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10967
10967
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10968
10968
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10969
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
10969
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10970
10970
|
let fetchResult;
|
|
10971
10971
|
try {
|
|
10972
10972
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11146,7 +11146,7 @@ var Application = class Application extends Object$1 {
|
|
|
11146
11146
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11147
11147
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11148
11148
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11149
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11149
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11150
11150
|
let fetchResult;
|
|
11151
11151
|
try {
|
|
11152
11152
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11288,7 +11288,7 @@ var Application = class Application extends Object$1 {
|
|
|
11288
11288
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11289
11289
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11290
11290
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11291
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11291
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11292
11292
|
let fetchResult;
|
|
11293
11293
|
try {
|
|
11294
11294
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11427,7 +11427,7 @@ var Application = class Application extends Object$1 {
|
|
|
11427
11427
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11428
11428
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11429
11429
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11430
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11430
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11431
11431
|
let fetchResult;
|
|
11432
11432
|
try {
|
|
11433
11433
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11551,7 +11551,7 @@ var Application = class Application extends Object$1 {
|
|
|
11551
11551
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11552
11552
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11553
11553
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11554
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11554
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11555
11555
|
let fetchResult;
|
|
11556
11556
|
try {
|
|
11557
11557
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11678,7 +11678,7 @@ var Application = class Application extends Object$1 {
|
|
|
11678
11678
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11679
11679
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11680
11680
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11681
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11681
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11682
11682
|
let fetchResult;
|
|
11683
11683
|
try {
|
|
11684
11684
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11803,7 +11803,7 @@ var Application = class Application extends Object$1 {
|
|
|
11803
11803
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11804
11804
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11805
11805
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11806
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11806
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11807
11807
|
let fetchResult;
|
|
11808
11808
|
try {
|
|
11809
11809
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11926,7 +11926,7 @@ var Application = class Application extends Object$1 {
|
|
|
11926
11926
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11927
11927
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11928
11928
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11929
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11929
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11930
11930
|
let fetchResult;
|
|
11931
11931
|
try {
|
|
11932
11932
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12049,7 +12049,7 @@ var Application = class Application extends Object$1 {
|
|
|
12049
12049
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12050
12050
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12051
12051
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12052
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12052
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12053
12053
|
let fetchResult;
|
|
12054
12054
|
try {
|
|
12055
12055
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12211,7 +12211,7 @@ var Application = class Application extends Object$1 {
|
|
|
12211
12211
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12212
12212
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12213
12213
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12214
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12214
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12215
12215
|
let fetchResult;
|
|
12216
12216
|
try {
|
|
12217
12217
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12377,7 +12377,7 @@ var Application = class Application extends Object$1 {
|
|
|
12377
12377
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12378
12378
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12379
12379
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12380
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12380
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12381
12381
|
let fetchResult;
|
|
12382
12382
|
try {
|
|
12383
12383
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12591,7 +12591,7 @@ var Application = class Application extends Object$1 {
|
|
|
12591
12591
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12592
12592
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12593
12593
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12594
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12594
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12595
12595
|
let fetchResult;
|
|
12596
12596
|
try {
|
|
12597
12597
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13274,7 +13274,7 @@ var Application = class Application extends Object$1 {
|
|
|
13274
13274
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13275
13275
|
*/
|
|
13276
13276
|
static async fromJsonLd(json, options = {}) {
|
|
13277
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
13277
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13278
13278
|
try {
|
|
13279
13279
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
13280
13280
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13883,7 +13883,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
13883
13883
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13884
13884
|
*/
|
|
13885
13885
|
static async fromJsonLd(json, options = {}) {
|
|
13886
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
13886
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13887
13887
|
try {
|
|
13888
13888
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
13889
13889
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14037,7 +14037,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
14037
14037
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14038
14038
|
*/
|
|
14039
14039
|
static async fromJsonLd(json, options = {}) {
|
|
14040
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14040
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14041
14041
|
try {
|
|
14042
14042
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
14043
14043
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14274,7 +14274,7 @@ var Article = class Article extends Object$1 {
|
|
|
14274
14274
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14275
14275
|
*/
|
|
14276
14276
|
static async fromJsonLd(json, options = {}) {
|
|
14277
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14277
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14278
14278
|
try {
|
|
14279
14279
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
14280
14280
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14507,7 +14507,7 @@ var Document = class Document extends Object$1 {
|
|
|
14507
14507
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14508
14508
|
*/
|
|
14509
14509
|
static async fromJsonLd(json, options = {}) {
|
|
14510
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14510
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14511
14511
|
try {
|
|
14512
14512
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
14513
14513
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14696,7 +14696,7 @@ var Audio = class Audio extends Document {
|
|
|
14696
14696
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14697
14697
|
*/
|
|
14698
14698
|
static async fromJsonLd(json, options = {}) {
|
|
14699
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14699
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14700
14700
|
try {
|
|
14701
14701
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
14702
14702
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14846,7 +14846,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
14846
14846
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14847
14847
|
*/
|
|
14848
14848
|
static async fromJsonLd(json, options = {}) {
|
|
14849
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14849
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14850
14850
|
try {
|
|
14851
14851
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
14852
14852
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14999,7 +14999,7 @@ var Block = class Block extends Ignore {
|
|
|
14999
14999
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15000
15000
|
*/
|
|
15001
15001
|
static async fromJsonLd(json, options = {}) {
|
|
15002
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
15002
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15003
15003
|
try {
|
|
15004
15004
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
15005
15005
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15265,7 +15265,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15265
15265
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15266
15266
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15267
15267
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15268
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15268
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15269
15269
|
let fetchResult;
|
|
15270
15270
|
try {
|
|
15271
15271
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15386,7 +15386,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15386
15386
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15387
15387
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15388
15388
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15389
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15389
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15390
15390
|
let fetchResult;
|
|
15391
15391
|
try {
|
|
15392
15392
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15507,7 +15507,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15507
15507
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15508
15508
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15509
15509
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15510
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15510
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15511
15511
|
let fetchResult;
|
|
15512
15512
|
try {
|
|
15513
15513
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15628,7 +15628,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15628
15628
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15629
15629
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15630
15630
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15631
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15631
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15632
15632
|
let fetchResult;
|
|
15633
15633
|
try {
|
|
15634
15634
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15759,7 +15759,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15759
15759
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15760
15760
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15761
15761
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15762
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15762
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15763
15763
|
let fetchResult;
|
|
15764
15764
|
try {
|
|
15765
15765
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15879,7 +15879,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15879
15879
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15880
15880
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15881
15881
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15882
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15882
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15883
15883
|
let fetchResult;
|
|
15884
15884
|
try {
|
|
15885
15885
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15999,7 +15999,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15999
15999
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16000
16000
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16001
16001
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16002
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16002
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16003
16003
|
let fetchResult;
|
|
16004
16004
|
try {
|
|
16005
16005
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16119,7 +16119,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16119
16119
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16120
16120
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16121
16121
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16122
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16122
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16123
16123
|
let fetchResult;
|
|
16124
16124
|
try {
|
|
16125
16125
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16239,7 +16239,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16239
16239
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16240
16240
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16241
16241
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16242
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16242
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16243
16243
|
let fetchResult;
|
|
16244
16244
|
try {
|
|
16245
16245
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16359,7 +16359,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16359
16359
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16360
16360
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16361
16361
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16362
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16362
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16363
16363
|
let fetchResult;
|
|
16364
16364
|
try {
|
|
16365
16365
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16479,7 +16479,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16479
16479
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16480
16480
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16481
16481
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16482
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16482
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16483
16483
|
let fetchResult;
|
|
16484
16484
|
try {
|
|
16485
16485
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16599,7 +16599,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16599
16599
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16600
16600
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16601
16601
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16602
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16602
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16603
16603
|
let fetchResult;
|
|
16604
16604
|
try {
|
|
16605
16605
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17026,7 +17026,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
17026
17026
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17027
17027
|
*/
|
|
17028
17028
|
static async fromJsonLd(json, options = {}) {
|
|
17029
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
17029
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17030
17030
|
try {
|
|
17031
17031
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
17032
17032
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17503,7 +17503,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
17503
17503
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17504
17504
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17505
17505
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17506
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17506
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17507
17507
|
let fetchResult;
|
|
17508
17508
|
try {
|
|
17509
17509
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17624,7 +17624,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
17624
17624
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17625
17625
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17626
17626
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17627
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17627
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17628
17628
|
let fetchResult;
|
|
17629
17629
|
try {
|
|
17630
17630
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17744,7 +17744,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
17744
17744
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17745
17745
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17746
17746
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17747
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17747
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17748
17748
|
let fetchResult;
|
|
17749
17749
|
try {
|
|
17750
17750
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18008,7 +18008,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
18008
18008
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18009
18009
|
*/
|
|
18010
18010
|
static async fromJsonLd(json, options = {}) {
|
|
18011
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18011
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18012
18012
|
try {
|
|
18013
18013
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
18014
18014
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18242,7 +18242,7 @@ var Create = class Create extends Activity {
|
|
|
18242
18242
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18243
18243
|
*/
|
|
18244
18244
|
static async fromJsonLd(json, options = {}) {
|
|
18245
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18245
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18246
18246
|
try {
|
|
18247
18247
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
18248
18248
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18408,7 +18408,7 @@ var Delete = class Delete extends Activity {
|
|
|
18408
18408
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18409
18409
|
*/
|
|
18410
18410
|
static async fromJsonLd(json, options = {}) {
|
|
18411
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18411
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18412
18412
|
try {
|
|
18413
18413
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
18414
18414
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18561,7 +18561,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
18561
18561
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18562
18562
|
*/
|
|
18563
18563
|
static async fromJsonLd(json, options = {}) {
|
|
18564
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18564
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18565
18565
|
try {
|
|
18566
18566
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
18567
18567
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18922,7 +18922,7 @@ var Endpoints = class {
|
|
|
18922
18922
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18923
18923
|
*/
|
|
18924
18924
|
static async fromJsonLd(json, options = {}) {
|
|
18925
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18925
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18926
18926
|
try {
|
|
18927
18927
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
18928
18928
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19162,7 +19162,7 @@ var Event = class Event extends Object$1 {
|
|
|
19162
19162
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19163
19163
|
*/
|
|
19164
19164
|
static async fromJsonLd(json, options = {}) {
|
|
19165
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19165
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19166
19166
|
try {
|
|
19167
19167
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
19168
19168
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19313,7 +19313,7 @@ var Flag = class Flag extends Activity {
|
|
|
19313
19313
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19314
19314
|
*/
|
|
19315
19315
|
static async fromJsonLd(json, options = {}) {
|
|
19316
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19316
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19317
19317
|
try {
|
|
19318
19318
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
19319
19319
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19468,7 +19468,7 @@ var Follow = class Follow extends Activity {
|
|
|
19468
19468
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19469
19469
|
*/
|
|
19470
19470
|
static async fromJsonLd(json, options = {}) {
|
|
19471
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19471
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19472
19472
|
try {
|
|
19473
19473
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
19474
19474
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19865,7 +19865,7 @@ var Group = class Group extends Object$1 {
|
|
|
19865
19865
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19866
19866
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19867
19867
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19868
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
19868
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19869
19869
|
let fetchResult;
|
|
19870
19870
|
try {
|
|
19871
19871
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20027,7 +20027,7 @@ var Group = class Group extends Object$1 {
|
|
|
20027
20027
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20028
20028
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20029
20029
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20030
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20030
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20031
20031
|
let fetchResult;
|
|
20032
20032
|
try {
|
|
20033
20033
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20207,7 +20207,7 @@ var Group = class Group extends Object$1 {
|
|
|
20207
20207
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20208
20208
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20209
20209
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20210
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20210
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20211
20211
|
let fetchResult;
|
|
20212
20212
|
try {
|
|
20213
20213
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20349,7 +20349,7 @@ var Group = class Group extends Object$1 {
|
|
|
20349
20349
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20350
20350
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20351
20351
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20352
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20352
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20353
20353
|
let fetchResult;
|
|
20354
20354
|
try {
|
|
20355
20355
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20488,7 +20488,7 @@ var Group = class Group extends Object$1 {
|
|
|
20488
20488
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20489
20489
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20490
20490
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20491
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20491
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20492
20492
|
let fetchResult;
|
|
20493
20493
|
try {
|
|
20494
20494
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20612,7 +20612,7 @@ var Group = class Group extends Object$1 {
|
|
|
20612
20612
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20613
20613
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20614
20614
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20615
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20615
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20616
20616
|
let fetchResult;
|
|
20617
20617
|
try {
|
|
20618
20618
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20739,7 +20739,7 @@ var Group = class Group extends Object$1 {
|
|
|
20739
20739
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20740
20740
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20741
20741
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20742
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20742
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20743
20743
|
let fetchResult;
|
|
20744
20744
|
try {
|
|
20745
20745
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20864,7 +20864,7 @@ var Group = class Group extends Object$1 {
|
|
|
20864
20864
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20865
20865
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20866
20866
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20867
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20867
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20868
20868
|
let fetchResult;
|
|
20869
20869
|
try {
|
|
20870
20870
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20987,7 +20987,7 @@ var Group = class Group extends Object$1 {
|
|
|
20987
20987
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20988
20988
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20989
20989
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20990
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20990
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20991
20991
|
let fetchResult;
|
|
20992
20992
|
try {
|
|
20993
20993
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21110,7 +21110,7 @@ var Group = class Group extends Object$1 {
|
|
|
21110
21110
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21111
21111
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21112
21112
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21113
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21113
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21114
21114
|
let fetchResult;
|
|
21115
21115
|
try {
|
|
21116
21116
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21272,7 +21272,7 @@ var Group = class Group extends Object$1 {
|
|
|
21272
21272
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21273
21273
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21274
21274
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21275
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21275
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21276
21276
|
let fetchResult;
|
|
21277
21277
|
try {
|
|
21278
21278
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21438,7 +21438,7 @@ var Group = class Group extends Object$1 {
|
|
|
21438
21438
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21439
21439
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21440
21440
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21441
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21441
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21442
21442
|
let fetchResult;
|
|
21443
21443
|
try {
|
|
21444
21444
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21652,7 +21652,7 @@ var Group = class Group extends Object$1 {
|
|
|
21652
21652
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21653
21653
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21654
21654
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21655
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21655
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21656
21656
|
let fetchResult;
|
|
21657
21657
|
try {
|
|
21658
21658
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22335,7 +22335,7 @@ var Group = class Group extends Object$1 {
|
|
|
22335
22335
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22336
22336
|
*/
|
|
22337
22337
|
static async fromJsonLd(json, options = {}) {
|
|
22338
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
22338
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22339
22339
|
try {
|
|
22340
22340
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
22341
22341
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23095,7 +23095,7 @@ var Link = class Link {
|
|
|
23095
23095
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23096
23096
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23097
23097
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23098
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
23098
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23099
23099
|
let fetchResult;
|
|
23100
23100
|
try {
|
|
23101
23101
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23387,7 +23387,7 @@ var Link = class Link {
|
|
|
23387
23387
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23388
23388
|
*/
|
|
23389
23389
|
static async fromJsonLd(json, options = {}) {
|
|
23390
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23390
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23391
23391
|
try {
|
|
23392
23392
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
23393
23393
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23736,7 +23736,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
23736
23736
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23737
23737
|
*/
|
|
23738
23738
|
static async fromJsonLd(json, options = {}) {
|
|
23739
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23739
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23740
23740
|
try {
|
|
23741
23741
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
23742
23742
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23892,7 +23892,7 @@ var Image = class Image extends Document {
|
|
|
23892
23892
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23893
23893
|
*/
|
|
23894
23894
|
static async fromJsonLd(json, options = {}) {
|
|
23895
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23895
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23896
23896
|
try {
|
|
23897
23897
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
23898
23898
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24043,7 +24043,7 @@ var Offer = class Offer extends Activity {
|
|
|
24043
24043
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24044
24044
|
*/
|
|
24045
24045
|
static async fromJsonLd(json, options = {}) {
|
|
24046
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24046
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24047
24047
|
try {
|
|
24048
24048
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
24049
24049
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24194,7 +24194,7 @@ var Invite = class Invite extends Offer {
|
|
|
24194
24194
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24195
24195
|
*/
|
|
24196
24196
|
static async fromJsonLd(json, options = {}) {
|
|
24197
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24197
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24198
24198
|
try {
|
|
24199
24199
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
24200
24200
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24344,7 +24344,7 @@ var Join = class Join extends Activity {
|
|
|
24344
24344
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24345
24345
|
*/
|
|
24346
24346
|
static async fromJsonLd(json, options = {}) {
|
|
24347
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24347
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24348
24348
|
try {
|
|
24349
24349
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
24350
24350
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24494,7 +24494,7 @@ var Leave = class Leave extends Activity {
|
|
|
24494
24494
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24495
24495
|
*/
|
|
24496
24496
|
static async fromJsonLd(json, options = {}) {
|
|
24497
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24497
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24498
24498
|
try {
|
|
24499
24499
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
24500
24500
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24648,7 +24648,7 @@ var Like = class Like extends Activity {
|
|
|
24648
24648
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24649
24649
|
*/
|
|
24650
24650
|
static async fromJsonLd(json, options = {}) {
|
|
24651
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24651
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24652
24652
|
try {
|
|
24653
24653
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
24654
24654
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24797,7 +24797,7 @@ var Listen = class Listen extends Activity {
|
|
|
24797
24797
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24798
24798
|
*/
|
|
24799
24799
|
static async fromJsonLd(json, options = {}) {
|
|
24800
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24800
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24801
24801
|
try {
|
|
24802
24802
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
24803
24803
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24950,7 +24950,7 @@ var Mention = class Mention extends Link {
|
|
|
24950
24950
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24951
24951
|
*/
|
|
24952
24952
|
static async fromJsonLd(json, options = {}) {
|
|
24953
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24953
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24954
24954
|
try {
|
|
24955
24955
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
24956
24956
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25101,7 +25101,7 @@ var Move = class Move extends Activity {
|
|
|
25101
25101
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25102
25102
|
*/
|
|
25103
25103
|
static async fromJsonLd(json, options = {}) {
|
|
25104
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25104
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25105
25105
|
try {
|
|
25106
25106
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
25107
25107
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25339,7 +25339,7 @@ var Note = class Note extends Object$1 {
|
|
|
25339
25339
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25340
25340
|
*/
|
|
25341
25341
|
static async fromJsonLd(json, options = {}) {
|
|
25342
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25342
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25343
25343
|
try {
|
|
25344
25344
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
25345
25345
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25472,7 +25472,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
25472
25472
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25473
25473
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25474
25474
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25475
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
25475
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25476
25476
|
let fetchResult;
|
|
25477
25477
|
try {
|
|
25478
25478
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25720,7 +25720,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
25720
25720
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25721
25721
|
*/
|
|
25722
25722
|
static async fromJsonLd(json, options = {}) {
|
|
25723
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25723
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25724
25724
|
try {
|
|
25725
25725
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
25726
25726
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25932,7 +25932,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
25932
25932
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25933
25933
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25934
25934
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25935
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
25935
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25936
25936
|
let fetchResult;
|
|
25937
25937
|
try {
|
|
25938
25938
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26203,7 +26203,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
26203
26203
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26204
26204
|
*/
|
|
26205
26205
|
static async fromJsonLd(json, options = {}) {
|
|
26206
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
26206
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26207
26207
|
try {
|
|
26208
26208
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
26209
26209
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26703,7 +26703,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
26703
26703
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26704
26704
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26705
26705
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26706
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26706
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26707
26707
|
let fetchResult;
|
|
26708
26708
|
try {
|
|
26709
26709
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26865,7 +26865,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
26865
26865
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26866
26866
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26867
26867
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26868
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26868
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26869
26869
|
let fetchResult;
|
|
26870
26870
|
try {
|
|
26871
26871
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27045,7 +27045,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27045
27045
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27046
27046
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27047
27047
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27048
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27048
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27049
27049
|
let fetchResult;
|
|
27050
27050
|
try {
|
|
27051
27051
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27187,7 +27187,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27187
27187
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27188
27188
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27189
27189
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27190
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27190
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27191
27191
|
let fetchResult;
|
|
27192
27192
|
try {
|
|
27193
27193
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27326,7 +27326,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27326
27326
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27327
27327
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27328
27328
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27329
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27329
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27330
27330
|
let fetchResult;
|
|
27331
27331
|
try {
|
|
27332
27332
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27450,7 +27450,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27450
27450
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27451
27451
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27452
27452
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27453
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27453
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27454
27454
|
let fetchResult;
|
|
27455
27455
|
try {
|
|
27456
27456
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27577,7 +27577,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27577
27577
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27578
27578
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27579
27579
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27580
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27580
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27581
27581
|
let fetchResult;
|
|
27582
27582
|
try {
|
|
27583
27583
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27702,7 +27702,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27702
27702
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27703
27703
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27704
27704
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27705
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27705
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27706
27706
|
let fetchResult;
|
|
27707
27707
|
try {
|
|
27708
27708
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27825,7 +27825,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27825
27825
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27826
27826
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27827
27827
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27828
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27828
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27829
27829
|
let fetchResult;
|
|
27830
27830
|
try {
|
|
27831
27831
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27948,7 +27948,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27948
27948
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27949
27949
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27950
27950
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27951
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27951
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27952
27952
|
let fetchResult;
|
|
27953
27953
|
try {
|
|
27954
27954
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28110,7 +28110,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28110
28110
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28111
28111
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28112
28112
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28113
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28113
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28114
28114
|
let fetchResult;
|
|
28115
28115
|
try {
|
|
28116
28116
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28276,7 +28276,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28276
28276
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28277
28277
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28278
28278
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28279
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28279
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28280
28280
|
let fetchResult;
|
|
28281
28281
|
try {
|
|
28282
28282
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28490,7 +28490,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28490
28490
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28491
28491
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28492
28492
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28493
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28493
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28494
28494
|
let fetchResult;
|
|
28495
28495
|
try {
|
|
28496
28496
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29173,7 +29173,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29173
29173
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29174
29174
|
*/
|
|
29175
29175
|
static async fromJsonLd(json, options = {}) {
|
|
29176
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
29176
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29177
29177
|
try {
|
|
29178
29178
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
29179
29179
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29787,7 +29787,7 @@ var Page = class Page extends Document {
|
|
|
29787
29787
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29788
29788
|
*/
|
|
29789
29789
|
static async fromJsonLd(json, options = {}) {
|
|
29790
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
29790
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29791
29791
|
try {
|
|
29792
29792
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
29793
29793
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30184,7 +30184,7 @@ var Person = class Person extends Object$1 {
|
|
|
30184
30184
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30185
30185
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30186
30186
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30187
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30187
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30188
30188
|
let fetchResult;
|
|
30189
30189
|
try {
|
|
30190
30190
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30346,7 +30346,7 @@ var Person = class Person extends Object$1 {
|
|
|
30346
30346
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30347
30347
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30348
30348
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30349
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30349
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30350
30350
|
let fetchResult;
|
|
30351
30351
|
try {
|
|
30352
30352
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30526,7 +30526,7 @@ var Person = class Person extends Object$1 {
|
|
|
30526
30526
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30527
30527
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30528
30528
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30529
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30529
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30530
30530
|
let fetchResult;
|
|
30531
30531
|
try {
|
|
30532
30532
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30668,7 +30668,7 @@ var Person = class Person extends Object$1 {
|
|
|
30668
30668
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30669
30669
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30670
30670
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30671
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30671
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30672
30672
|
let fetchResult;
|
|
30673
30673
|
try {
|
|
30674
30674
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30807,7 +30807,7 @@ var Person = class Person extends Object$1 {
|
|
|
30807
30807
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30808
30808
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30809
30809
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30810
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30810
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30811
30811
|
let fetchResult;
|
|
30812
30812
|
try {
|
|
30813
30813
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30931,7 +30931,7 @@ var Person = class Person extends Object$1 {
|
|
|
30931
30931
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30932
30932
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30933
30933
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30934
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30934
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30935
30935
|
let fetchResult;
|
|
30936
30936
|
try {
|
|
30937
30937
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31058,7 +31058,7 @@ var Person = class Person extends Object$1 {
|
|
|
31058
31058
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31059
31059
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31060
31060
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31061
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31061
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31062
31062
|
let fetchResult;
|
|
31063
31063
|
try {
|
|
31064
31064
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31183,7 +31183,7 @@ var Person = class Person extends Object$1 {
|
|
|
31183
31183
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31184
31184
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31185
31185
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31186
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31186
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31187
31187
|
let fetchResult;
|
|
31188
31188
|
try {
|
|
31189
31189
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31306,7 +31306,7 @@ var Person = class Person extends Object$1 {
|
|
|
31306
31306
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31307
31307
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31308
31308
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31309
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31309
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31310
31310
|
let fetchResult;
|
|
31311
31311
|
try {
|
|
31312
31312
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31429,7 +31429,7 @@ var Person = class Person extends Object$1 {
|
|
|
31429
31429
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31430
31430
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31431
31431
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31432
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31432
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31433
31433
|
let fetchResult;
|
|
31434
31434
|
try {
|
|
31435
31435
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31591,7 +31591,7 @@ var Person = class Person extends Object$1 {
|
|
|
31591
31591
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31592
31592
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31593
31593
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31594
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31594
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31595
31595
|
let fetchResult;
|
|
31596
31596
|
try {
|
|
31597
31597
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31757,7 +31757,7 @@ var Person = class Person extends Object$1 {
|
|
|
31757
31757
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31758
31758
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31759
31759
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31760
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31760
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31761
31761
|
let fetchResult;
|
|
31762
31762
|
try {
|
|
31763
31763
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31971,7 +31971,7 @@ var Person = class Person extends Object$1 {
|
|
|
31971
31971
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31972
31972
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31973
31973
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31974
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31974
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31975
31975
|
let fetchResult;
|
|
31976
31976
|
try {
|
|
31977
31977
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32654,7 +32654,7 @@ var Person = class Person extends Object$1 {
|
|
|
32654
32654
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32655
32655
|
*/
|
|
32656
32656
|
static async fromJsonLd(json, options = {}) {
|
|
32657
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
32657
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32658
32658
|
try {
|
|
32659
32659
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
32660
32660
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33445,7 +33445,7 @@ var Place = class Place extends Object$1 {
|
|
|
33445
33445
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33446
33446
|
*/
|
|
33447
33447
|
static async fromJsonLd(json, options = {}) {
|
|
33448
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
33448
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33449
33449
|
try {
|
|
33450
33450
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
33451
33451
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33652,7 +33652,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
33652
33652
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33653
33653
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33654
33654
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33655
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
33655
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33656
33656
|
let fetchResult;
|
|
33657
33657
|
try {
|
|
33658
33658
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33845,7 +33845,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
33845
33845
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33846
33846
|
*/
|
|
33847
33847
|
static async fromJsonLd(json, options = {}) {
|
|
33848
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
33848
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33849
33849
|
try {
|
|
33850
33850
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
33851
33851
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34020,7 +34020,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
34020
34020
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34021
34021
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34022
34022
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34023
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
34023
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34024
34024
|
let fetchResult;
|
|
34025
34025
|
try {
|
|
34026
34026
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34142,7 +34142,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
34142
34142
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34143
34143
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34144
34144
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34145
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
34145
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34146
34146
|
let fetchResult;
|
|
34147
34147
|
try {
|
|
34148
34148
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34405,7 +34405,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
34405
34405
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34406
34406
|
*/
|
|
34407
34407
|
static async fromJsonLd(json, options = {}) {
|
|
34408
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
34408
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34409
34409
|
try {
|
|
34410
34410
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
34411
34411
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34645,7 +34645,7 @@ var Read = class Read extends Activity {
|
|
|
34645
34645
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34646
34646
|
*/
|
|
34647
34647
|
static async fromJsonLd(json, options = {}) {
|
|
34648
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
34648
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34649
34649
|
try {
|
|
34650
34650
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
34651
34651
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34795,7 +34795,7 @@ var Reject = class Reject extends Activity {
|
|
|
34795
34795
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34796
34796
|
*/
|
|
34797
34797
|
static async fromJsonLd(json, options = {}) {
|
|
34798
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
34798
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34799
34799
|
try {
|
|
34800
34800
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
34801
34801
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34970,7 +34970,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
34970
34970
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34971
34971
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34972
34972
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34973
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
34973
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34974
34974
|
let fetchResult;
|
|
34975
34975
|
try {
|
|
34976
34976
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35093,7 +35093,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
35093
35093
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35094
35094
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35095
35095
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35096
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35096
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35097
35097
|
let fetchResult;
|
|
35098
35098
|
try {
|
|
35099
35099
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35255,7 +35255,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
35255
35255
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35256
35256
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35257
35257
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35258
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35258
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35259
35259
|
let fetchResult;
|
|
35260
35260
|
try {
|
|
35261
35261
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35525,7 +35525,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
35525
35525
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35526
35526
|
*/
|
|
35527
35527
|
static async fromJsonLd(json, options = {}) {
|
|
35528
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
35528
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35529
35529
|
try {
|
|
35530
35530
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
35531
35531
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35741,7 +35741,7 @@ var Remove = class Remove extends Activity {
|
|
|
35741
35741
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35742
35742
|
*/
|
|
35743
35743
|
static async fromJsonLd(json, options = {}) {
|
|
35744
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
35744
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35745
35745
|
try {
|
|
35746
35746
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
35747
35747
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36138,7 +36138,7 @@ var Service = class Service extends Object$1 {
|
|
|
36138
36138
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36139
36139
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36140
36140
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36141
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36141
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36142
36142
|
let fetchResult;
|
|
36143
36143
|
try {
|
|
36144
36144
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36300,7 +36300,7 @@ var Service = class Service extends Object$1 {
|
|
|
36300
36300
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36301
36301
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36302
36302
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36303
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36303
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36304
36304
|
let fetchResult;
|
|
36305
36305
|
try {
|
|
36306
36306
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36480,7 +36480,7 @@ var Service = class Service extends Object$1 {
|
|
|
36480
36480
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36481
36481
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36482
36482
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36483
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36483
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36484
36484
|
let fetchResult;
|
|
36485
36485
|
try {
|
|
36486
36486
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36622,7 +36622,7 @@ var Service = class Service extends Object$1 {
|
|
|
36622
36622
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36623
36623
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36624
36624
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36625
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36625
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36626
36626
|
let fetchResult;
|
|
36627
36627
|
try {
|
|
36628
36628
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36761,7 +36761,7 @@ var Service = class Service extends Object$1 {
|
|
|
36761
36761
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36762
36762
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36763
36763
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36764
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36764
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36765
36765
|
let fetchResult;
|
|
36766
36766
|
try {
|
|
36767
36767
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36885,7 +36885,7 @@ var Service = class Service extends Object$1 {
|
|
|
36885
36885
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36886
36886
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36887
36887
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36888
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36888
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36889
36889
|
let fetchResult;
|
|
36890
36890
|
try {
|
|
36891
36891
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37012,7 +37012,7 @@ var Service = class Service extends Object$1 {
|
|
|
37012
37012
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37013
37013
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37014
37014
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37015
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37015
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37016
37016
|
let fetchResult;
|
|
37017
37017
|
try {
|
|
37018
37018
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37137,7 +37137,7 @@ var Service = class Service extends Object$1 {
|
|
|
37137
37137
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37138
37138
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37139
37139
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37140
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37140
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37141
37141
|
let fetchResult;
|
|
37142
37142
|
try {
|
|
37143
37143
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37260,7 +37260,7 @@ var Service = class Service extends Object$1 {
|
|
|
37260
37260
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37261
37261
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37262
37262
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37263
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37263
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37264
37264
|
let fetchResult;
|
|
37265
37265
|
try {
|
|
37266
37266
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37383,7 +37383,7 @@ var Service = class Service extends Object$1 {
|
|
|
37383
37383
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37384
37384
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37385
37385
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37386
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37386
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37387
37387
|
let fetchResult;
|
|
37388
37388
|
try {
|
|
37389
37389
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37545,7 +37545,7 @@ var Service = class Service extends Object$1 {
|
|
|
37545
37545
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37546
37546
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37547
37547
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37548
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37548
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37549
37549
|
let fetchResult;
|
|
37550
37550
|
try {
|
|
37551
37551
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37711,7 +37711,7 @@ var Service = class Service extends Object$1 {
|
|
|
37711
37711
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37712
37712
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37713
37713
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37714
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37714
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37715
37715
|
let fetchResult;
|
|
37716
37716
|
try {
|
|
37717
37717
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37925,7 +37925,7 @@ var Service = class Service extends Object$1 {
|
|
|
37925
37925
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37926
37926
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37927
37927
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37928
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37928
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37929
37929
|
let fetchResult;
|
|
37930
37930
|
try {
|
|
37931
37931
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38608,7 +38608,7 @@ var Service = class Service extends Object$1 {
|
|
|
38608
38608
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38609
38609
|
*/
|
|
38610
38610
|
static async fromJsonLd(json, options = {}) {
|
|
38611
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
38611
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38612
38612
|
try {
|
|
38613
38613
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
38614
38614
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39326,7 +39326,7 @@ var Source = class {
|
|
|
39326
39326
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39327
39327
|
*/
|
|
39328
39328
|
static async fromJsonLd(json, options = {}) {
|
|
39329
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39329
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39330
39330
|
try {
|
|
39331
39331
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
39332
39332
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39509,7 +39509,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
39509
39509
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39510
39510
|
*/
|
|
39511
39511
|
static async fromJsonLd(json, options = {}) {
|
|
39512
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39512
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39513
39513
|
try {
|
|
39514
39514
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
39515
39515
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39659,7 +39659,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
39659
39659
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39660
39660
|
*/
|
|
39661
39661
|
static async fromJsonLd(json, options = {}) {
|
|
39662
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39662
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39663
39663
|
try {
|
|
39664
39664
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
39665
39665
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39848,7 +39848,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
39848
39848
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39849
39849
|
*/
|
|
39850
39850
|
static async fromJsonLd(json, options = {}) {
|
|
39851
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39851
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39852
39852
|
try {
|
|
39853
39853
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
39854
39854
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40015,7 +40015,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
40015
40015
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40016
40016
|
*/
|
|
40017
40017
|
static async fromJsonLd(json, options = {}) {
|
|
40018
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
40018
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40019
40019
|
try {
|
|
40020
40020
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
40021
40021
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40179,7 +40179,7 @@ var Undo = class Undo extends Activity {
|
|
|
40179
40179
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40180
40180
|
*/
|
|
40181
40181
|
static async fromJsonLd(json, options = {}) {
|
|
40182
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
40182
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40183
40183
|
try {
|
|
40184
40184
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
40185
40185
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40381,7 +40381,7 @@ var Update = class Update extends Activity {
|
|
|
40381
40381
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40382
40382
|
*/
|
|
40383
40383
|
static async fromJsonLd(json, options = {}) {
|
|
40384
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
40384
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40385
40385
|
try {
|
|
40386
40386
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
40387
40387
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40537,7 +40537,7 @@ var Video = class Video extends Document {
|
|
|
40537
40537
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40538
40538
|
*/
|
|
40539
40539
|
static async fromJsonLd(json, options = {}) {
|
|
40540
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
40540
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40541
40541
|
try {
|
|
40542
40542
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
40543
40543
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40686,7 +40686,7 @@ var View = class View extends Activity {
|
|
|
40686
40686
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40687
40687
|
*/
|
|
40688
40688
|
static async fromJsonLd(json, options = {}) {
|
|
40689
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
40689
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.26").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40690
40690
|
try {
|
|
40691
40691
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
40692
40692
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|