@fedify/vocab 2.1.15 → 2.1.17
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 +202 -202
- package/dist/mod.js +202 -202
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/{deno-QfiYQZw7.mjs → deno-D1Pq0QRg.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-vDGrSiEk.mjs → vocab-Dz46WAsF.mjs} +201 -201
- 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.1.
|
|
12
|
+
var version = "2.1.17";
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/type.ts
|
|
15
15
|
function getTypeId(object) {
|
|
@@ -673,7 +673,7 @@ var Object$1 = class Object$1 {
|
|
|
673
673
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
674
674
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
675
675
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
676
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
676
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
677
677
|
let fetchResult;
|
|
678
678
|
try {
|
|
679
679
|
fetchResult = await documentLoader(url.href);
|
|
@@ -819,7 +819,7 @@ var Object$1 = class Object$1 {
|
|
|
819
819
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
820
820
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
821
821
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
822
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
822
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
823
823
|
let fetchResult;
|
|
824
824
|
try {
|
|
825
825
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1031,7 +1031,7 @@ var Object$1 = class Object$1 {
|
|
|
1031
1031
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1032
1032
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1033
1033
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1034
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1034
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1035
1035
|
let fetchResult;
|
|
1036
1036
|
try {
|
|
1037
1037
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1215,7 +1215,7 @@ var Object$1 = class Object$1 {
|
|
|
1215
1215
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1216
1216
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1217
1217
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1218
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1218
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1219
1219
|
let fetchResult;
|
|
1220
1220
|
try {
|
|
1221
1221
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1377,7 +1377,7 @@ var Object$1 = class Object$1 {
|
|
|
1377
1377
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1378
1378
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1379
1379
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1380
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1380
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1381
1381
|
let fetchResult;
|
|
1382
1382
|
try {
|
|
1383
1383
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1507,7 +1507,7 @@ var Object$1 = class Object$1 {
|
|
|
1507
1507
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1508
1508
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1509
1509
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1510
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1510
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1511
1511
|
let fetchResult;
|
|
1512
1512
|
try {
|
|
1513
1513
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1673,7 +1673,7 @@ var Object$1 = class Object$1 {
|
|
|
1673
1673
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1674
1674
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1675
1675
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1676
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1676
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1677
1677
|
let fetchResult;
|
|
1678
1678
|
try {
|
|
1679
1679
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1839,7 +1839,7 @@ var Object$1 = class Object$1 {
|
|
|
1839
1839
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1840
1840
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1841
1841
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1842
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1842
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1843
1843
|
let fetchResult;
|
|
1844
1844
|
try {
|
|
1845
1845
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2013,7 +2013,7 @@ var Object$1 = class Object$1 {
|
|
|
2013
2013
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2014
2014
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2015
2015
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2016
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2016
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2017
2017
|
let fetchResult;
|
|
2018
2018
|
try {
|
|
2019
2019
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2187,7 +2187,7 @@ var Object$1 = class Object$1 {
|
|
|
2187
2187
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2188
2188
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2189
2189
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2190
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2190
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2191
2191
|
let fetchResult;
|
|
2192
2192
|
try {
|
|
2193
2193
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2366,7 +2366,7 @@ var Object$1 = class Object$1 {
|
|
|
2366
2366
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2367
2367
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2368
2368
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2369
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2369
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2370
2370
|
let fetchResult;
|
|
2371
2371
|
try {
|
|
2372
2372
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2487,7 +2487,7 @@ var Object$1 = class Object$1 {
|
|
|
2487
2487
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2488
2488
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2489
2489
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2490
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2490
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2491
2491
|
let fetchResult;
|
|
2492
2492
|
try {
|
|
2493
2493
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2614,7 +2614,7 @@ var Object$1 = class Object$1 {
|
|
|
2614
2614
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2615
2615
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2616
2616
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2617
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2617
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2618
2618
|
let fetchResult;
|
|
2619
2619
|
try {
|
|
2620
2620
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2741,7 +2741,7 @@ var Object$1 = class Object$1 {
|
|
|
2741
2741
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2742
2742
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2743
2743
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2744
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2744
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2745
2745
|
let fetchResult;
|
|
2746
2746
|
try {
|
|
2747
2747
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2886,7 +2886,7 @@ var Object$1 = class Object$1 {
|
|
|
2886
2886
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2887
2887
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2888
2888
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2889
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2889
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2890
2890
|
let fetchResult;
|
|
2891
2891
|
try {
|
|
2892
2892
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3038,7 +3038,7 @@ var Object$1 = class Object$1 {
|
|
|
3038
3038
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3039
3039
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3040
3040
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3041
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3041
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3042
3042
|
let fetchResult;
|
|
3043
3043
|
try {
|
|
3044
3044
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3202,7 +3202,7 @@ var Object$1 = class Object$1 {
|
|
|
3202
3202
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3203
3203
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3204
3204
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3205
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3205
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3206
3206
|
let fetchResult;
|
|
3207
3207
|
try {
|
|
3208
3208
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3366,7 +3366,7 @@ var Object$1 = class Object$1 {
|
|
|
3366
3366
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3367
3367
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3368
3368
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3369
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3369
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3370
3370
|
let fetchResult;
|
|
3371
3371
|
try {
|
|
3372
3372
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3530,7 +3530,7 @@ var Object$1 = class Object$1 {
|
|
|
3530
3530
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3531
3531
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3532
3532
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3533
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3533
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3534
3534
|
let fetchResult;
|
|
3535
3535
|
try {
|
|
3536
3536
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3731,7 +3731,7 @@ var Object$1 = class Object$1 {
|
|
|
3731
3731
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3732
3732
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3733
3733
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3734
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3734
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3735
3735
|
let fetchResult;
|
|
3736
3736
|
try {
|
|
3737
3737
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3918,7 +3918,7 @@ var Object$1 = class Object$1 {
|
|
|
3918
3918
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3919
3919
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3920
3920
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3921
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3921
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3922
3922
|
let fetchResult;
|
|
3923
3923
|
try {
|
|
3924
3924
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4039,7 +4039,7 @@ var Object$1 = class Object$1 {
|
|
|
4039
4039
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4040
4040
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4041
4041
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4042
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4042
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4043
4043
|
let fetchResult;
|
|
4044
4044
|
try {
|
|
4045
4045
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4160,7 +4160,7 @@ var Object$1 = class Object$1 {
|
|
|
4160
4160
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4161
4161
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4162
4162
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4163
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4163
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4164
4164
|
let fetchResult;
|
|
4165
4165
|
try {
|
|
4166
4166
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4987,7 +4987,7 @@ var Object$1 = class Object$1 {
|
|
|
4987
4987
|
* @throws {TypeError} If the given `json` is invalid.
|
|
4988
4988
|
*/
|
|
4989
4989
|
static async fromJsonLd(json, options = {}) {
|
|
4990
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
4990
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
4991
4991
|
try {
|
|
4992
4992
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
4993
4993
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6363,7 +6363,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
6363
6363
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6364
6364
|
*/
|
|
6365
6365
|
static async fromJsonLd(json, options = {}) {
|
|
6366
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
6366
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6367
6367
|
try {
|
|
6368
6368
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
6369
6369
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6602,7 +6602,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6602
6602
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6603
6603
|
*/
|
|
6604
6604
|
static async fromJsonLd(json, options = {}) {
|
|
6605
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
6605
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6606
6606
|
try {
|
|
6607
6607
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
6608
6608
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6883,7 +6883,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6883
6883
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6884
6884
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6885
6885
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6886
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
6886
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6887
6887
|
let fetchResult;
|
|
6888
6888
|
try {
|
|
6889
6889
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7095,7 +7095,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7095
7095
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7096
7096
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7097
7097
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7098
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7098
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7099
7099
|
let fetchResult;
|
|
7100
7100
|
try {
|
|
7101
7101
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7261,7 +7261,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7261
7261
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7262
7262
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7263
7263
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7264
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7264
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7265
7265
|
let fetchResult;
|
|
7266
7266
|
try {
|
|
7267
7267
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7433,7 +7433,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7433
7433
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7434
7434
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7435
7435
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7436
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7436
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7437
7437
|
let fetchResult;
|
|
7438
7438
|
try {
|
|
7439
7439
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7599,7 +7599,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7599
7599
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7600
7600
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7601
7601
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7602
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7602
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7603
7603
|
let fetchResult;
|
|
7604
7604
|
try {
|
|
7605
7605
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7767,7 +7767,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7767
7767
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7768
7768
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7769
7769
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7770
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7770
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7771
7771
|
let fetchResult;
|
|
7772
7772
|
try {
|
|
7773
7773
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8018,7 +8018,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8018
8018
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8019
8019
|
*/
|
|
8020
8020
|
static async fromJsonLd(json, options = {}) {
|
|
8021
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
8021
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8022
8022
|
try {
|
|
8023
8023
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
8024
8024
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8340,7 +8340,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
8340
8340
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8341
8341
|
*/
|
|
8342
8342
|
static async fromJsonLd(json, options = {}) {
|
|
8343
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
8343
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8344
8344
|
try {
|
|
8345
8345
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
8346
8346
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8586,7 +8586,7 @@ var PropertyValue = class {
|
|
|
8586
8586
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8587
8587
|
*/
|
|
8588
8588
|
static async fromJsonLd(json, options = {}) {
|
|
8589
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
8589
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8590
8590
|
try {
|
|
8591
8591
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
8592
8592
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8746,7 +8746,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
8746
8746
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8747
8747
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8748
8748
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8749
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
8749
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8750
8750
|
let fetchResult;
|
|
8751
8751
|
try {
|
|
8752
8752
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8867,7 +8867,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
8867
8867
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8868
8868
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8869
8869
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8870
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
8870
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8871
8871
|
let fetchResult;
|
|
8872
8872
|
try {
|
|
8873
8873
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9083,7 +9083,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9083
9083
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9084
9084
|
*/
|
|
9085
9085
|
static async fromJsonLd(json, options = {}) {
|
|
9086
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9086
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9087
9087
|
try {
|
|
9088
9088
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
9089
9089
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9280,7 +9280,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
9280
9280
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9281
9281
|
*/
|
|
9282
9282
|
static async fromJsonLd(json, options = {}) {
|
|
9283
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9283
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9284
9284
|
try {
|
|
9285
9285
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
9286
9286
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9520,7 +9520,7 @@ var InteractionPolicy = class {
|
|
|
9520
9520
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9521
9521
|
*/
|
|
9522
9522
|
static async fromJsonLd(json, options = {}) {
|
|
9523
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9523
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9524
9524
|
try {
|
|
9525
9525
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
9526
9526
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9822,7 +9822,7 @@ var InteractionRule = class {
|
|
|
9822
9822
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9823
9823
|
*/
|
|
9824
9824
|
static async fromJsonLd(json, options = {}) {
|
|
9825
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9825
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9826
9826
|
try {
|
|
9827
9827
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
9828
9828
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9979,7 +9979,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
9979
9979
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9980
9980
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9981
9981
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9982
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
9982
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9983
9983
|
let fetchResult;
|
|
9984
9984
|
try {
|
|
9985
9985
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10100,7 +10100,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10100
10100
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10101
10101
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10102
10102
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10103
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10103
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10104
10104
|
let fetchResult;
|
|
10105
10105
|
try {
|
|
10106
10106
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10316,7 +10316,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10316
10316
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10317
10317
|
*/
|
|
10318
10318
|
static async fromJsonLd(json, options = {}) {
|
|
10319
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
10319
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10320
10320
|
try {
|
|
10321
10321
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
10322
10322
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10512,7 +10512,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
10512
10512
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10513
10513
|
*/
|
|
10514
10514
|
static async fromJsonLd(json, options = {}) {
|
|
10515
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
10515
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10516
10516
|
try {
|
|
10517
10517
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
10518
10518
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10643,7 +10643,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
10643
10643
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10644
10644
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10645
10645
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10646
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10646
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10647
10647
|
let fetchResult;
|
|
10648
10648
|
try {
|
|
10649
10649
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10764,7 +10764,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
10764
10764
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10765
10765
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10766
10766
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10767
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10767
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10768
10768
|
let fetchResult;
|
|
10769
10769
|
try {
|
|
10770
10770
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10980,7 +10980,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
10980
10980
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10981
10981
|
*/
|
|
10982
10982
|
static async fromJsonLd(json, options = {}) {
|
|
10983
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
10983
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10984
10984
|
try {
|
|
10985
10985
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
10986
10986
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11176,7 +11176,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
11176
11176
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11177
11177
|
*/
|
|
11178
11178
|
static async fromJsonLd(json, options = {}) {
|
|
11179
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11179
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11180
11180
|
try {
|
|
11181
11181
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
11182
11182
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11382,7 +11382,7 @@ var DidService = class {
|
|
|
11382
11382
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11383
11383
|
*/
|
|
11384
11384
|
static async fromJsonLd(json, options = {}) {
|
|
11385
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11385
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11386
11386
|
try {
|
|
11387
11387
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
11388
11388
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11536,7 +11536,7 @@ var Export = class Export extends DidService {
|
|
|
11536
11536
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11537
11537
|
*/
|
|
11538
11538
|
static async fromJsonLd(json, options = {}) {
|
|
11539
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11539
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11540
11540
|
try {
|
|
11541
11541
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
11542
11542
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11709,7 +11709,7 @@ var DataIntegrityProof = class {
|
|
|
11709
11709
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11710
11710
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11711
11711
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11712
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
11712
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11713
11713
|
let fetchResult;
|
|
11714
11714
|
try {
|
|
11715
11715
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11928,7 +11928,7 @@ var DataIntegrityProof = class {
|
|
|
11928
11928
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11929
11929
|
*/
|
|
11930
11930
|
static async fromJsonLd(json, options = {}) {
|
|
11931
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11931
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11932
11932
|
try {
|
|
11933
11933
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
11934
11934
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12142,7 +12142,7 @@ var CryptographicKey = class {
|
|
|
12142
12142
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12143
12143
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12144
12144
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12145
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
12145
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12146
12146
|
let fetchResult;
|
|
12147
12147
|
try {
|
|
12148
12148
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12404,7 +12404,7 @@ var CryptographicKey = class {
|
|
|
12404
12404
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12405
12405
|
*/
|
|
12406
12406
|
static async fromJsonLd(json, options = {}) {
|
|
12407
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12407
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12408
12408
|
try {
|
|
12409
12409
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
12410
12410
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12599,7 +12599,7 @@ var Multikey = class {
|
|
|
12599
12599
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12600
12600
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12601
12601
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12602
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
12602
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12603
12603
|
let fetchResult;
|
|
12604
12604
|
try {
|
|
12605
12605
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12867,7 +12867,7 @@ var Multikey = class {
|
|
|
12867
12867
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12868
12868
|
*/
|
|
12869
12869
|
static async fromJsonLd(json, options = {}) {
|
|
12870
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12870
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12871
12871
|
try {
|
|
12872
12872
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
12873
12873
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13062,7 +13062,7 @@ var Accept = class Accept extends Activity {
|
|
|
13062
13062
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13063
13063
|
*/
|
|
13064
13064
|
static async fromJsonLd(json, options = {}) {
|
|
13065
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13065
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13066
13066
|
try {
|
|
13067
13067
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
13068
13068
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13214,7 +13214,7 @@ var Add = class Add extends Activity {
|
|
|
13214
13214
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13215
13215
|
*/
|
|
13216
13216
|
static async fromJsonLd(json, options = {}) {
|
|
13217
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13217
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13218
13218
|
try {
|
|
13219
13219
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
13220
13220
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13383,7 +13383,7 @@ var Announce = class Announce extends Activity {
|
|
|
13383
13383
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13384
13384
|
*/
|
|
13385
13385
|
static async fromJsonLd(json, options = {}) {
|
|
13386
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13386
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13387
13387
|
try {
|
|
13388
13388
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
13389
13389
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13778,7 +13778,7 @@ var Application = class Application extends Object$1 {
|
|
|
13778
13778
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13779
13779
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13780
13780
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13781
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
13781
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13782
13782
|
let fetchResult;
|
|
13783
13783
|
try {
|
|
13784
13784
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13940,7 +13940,7 @@ var Application = class Application extends Object$1 {
|
|
|
13940
13940
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13941
13941
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13942
13942
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13943
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
13943
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13944
13944
|
let fetchResult;
|
|
13945
13945
|
try {
|
|
13946
13946
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14120,7 +14120,7 @@ var Application = class Application extends Object$1 {
|
|
|
14120
14120
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14121
14121
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14122
14122
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14123
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14123
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14124
14124
|
let fetchResult;
|
|
14125
14125
|
try {
|
|
14126
14126
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14262,7 +14262,7 @@ var Application = class Application extends Object$1 {
|
|
|
14262
14262
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14263
14263
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14264
14264
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14265
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14265
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14266
14266
|
let fetchResult;
|
|
14267
14267
|
try {
|
|
14268
14268
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14401,7 +14401,7 @@ var Application = class Application extends Object$1 {
|
|
|
14401
14401
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14402
14402
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14403
14403
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14404
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14404
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14405
14405
|
let fetchResult;
|
|
14406
14406
|
try {
|
|
14407
14407
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14525,7 +14525,7 @@ var Application = class Application extends Object$1 {
|
|
|
14525
14525
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14526
14526
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14527
14527
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14528
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14528
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14529
14529
|
let fetchResult;
|
|
14530
14530
|
try {
|
|
14531
14531
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14652,7 +14652,7 @@ var Application = class Application extends Object$1 {
|
|
|
14652
14652
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14653
14653
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14654
14654
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14655
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14655
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14656
14656
|
let fetchResult;
|
|
14657
14657
|
try {
|
|
14658
14658
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14777,7 +14777,7 @@ var Application = class Application extends Object$1 {
|
|
|
14777
14777
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14778
14778
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14779
14779
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14780
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14780
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14781
14781
|
let fetchResult;
|
|
14782
14782
|
try {
|
|
14783
14783
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14900,7 +14900,7 @@ var Application = class Application extends Object$1 {
|
|
|
14900
14900
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14901
14901
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14902
14902
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14903
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14903
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14904
14904
|
let fetchResult;
|
|
14905
14905
|
try {
|
|
14906
14906
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15023,7 +15023,7 @@ var Application = class Application extends Object$1 {
|
|
|
15023
15023
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15024
15024
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15025
15025
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15026
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15026
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15027
15027
|
let fetchResult;
|
|
15028
15028
|
try {
|
|
15029
15029
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15185,7 +15185,7 @@ var Application = class Application extends Object$1 {
|
|
|
15185
15185
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15186
15186
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15187
15187
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15188
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15188
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15189
15189
|
let fetchResult;
|
|
15190
15190
|
try {
|
|
15191
15191
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15351,7 +15351,7 @@ var Application = class Application extends Object$1 {
|
|
|
15351
15351
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15352
15352
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15353
15353
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15354
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15354
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15355
15355
|
let fetchResult;
|
|
15356
15356
|
try {
|
|
15357
15357
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15565,7 +15565,7 @@ var Application = class Application extends Object$1 {
|
|
|
15565
15565
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15566
15566
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15567
15567
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15568
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15568
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15569
15569
|
let fetchResult;
|
|
15570
15570
|
try {
|
|
15571
15571
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16250,7 +16250,7 @@ var Application = class Application extends Object$1 {
|
|
|
16250
16250
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16251
16251
|
*/
|
|
16252
16252
|
static async fromJsonLd(json, options = {}) {
|
|
16253
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
16253
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16254
16254
|
try {
|
|
16255
16255
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
16256
16256
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16804,7 +16804,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
16804
16804
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16805
16805
|
*/
|
|
16806
16806
|
static async fromJsonLd(json, options = {}) {
|
|
16807
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
16807
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16808
16808
|
try {
|
|
16809
16809
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
16810
16810
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16957,7 +16957,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
16957
16957
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16958
16958
|
*/
|
|
16959
16959
|
static async fromJsonLd(json, options = {}) {
|
|
16960
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
16960
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16961
16961
|
try {
|
|
16962
16962
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
16963
16963
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17194,7 +17194,7 @@ var Article = class Article extends Object$1 {
|
|
|
17194
17194
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17195
17195
|
*/
|
|
17196
17196
|
static async fromJsonLd(json, options = {}) {
|
|
17197
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17197
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17198
17198
|
try {
|
|
17199
17199
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
17200
17200
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17431,7 +17431,7 @@ var Document = class Document extends Object$1 {
|
|
|
17431
17431
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17432
17432
|
*/
|
|
17433
17433
|
static async fromJsonLd(json, options = {}) {
|
|
17434
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17434
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17435
17435
|
try {
|
|
17436
17436
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
17437
17437
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17622,7 +17622,7 @@ var Audio = class Audio extends Document {
|
|
|
17622
17622
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17623
17623
|
*/
|
|
17624
17624
|
static async fromJsonLd(json, options = {}) {
|
|
17625
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17625
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17626
17626
|
try {
|
|
17627
17627
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
17628
17628
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17771,7 +17771,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
17771
17771
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17772
17772
|
*/
|
|
17773
17773
|
static async fromJsonLd(json, options = {}) {
|
|
17774
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17774
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17775
17775
|
try {
|
|
17776
17776
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
17777
17777
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17923,7 +17923,7 @@ var Block = class Block extends Ignore {
|
|
|
17923
17923
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17924
17924
|
*/
|
|
17925
17925
|
static async fromJsonLd(json, options = {}) {
|
|
17926
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17926
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17927
17927
|
try {
|
|
17928
17928
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
17929
17929
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18187,7 +18187,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18187
18187
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18188
18188
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18189
18189
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18190
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18190
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18191
18191
|
let fetchResult;
|
|
18192
18192
|
try {
|
|
18193
18193
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18308,7 +18308,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18308
18308
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18309
18309
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18310
18310
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18311
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18311
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18312
18312
|
let fetchResult;
|
|
18313
18313
|
try {
|
|
18314
18314
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18429,7 +18429,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18429
18429
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18430
18430
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18431
18431
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18432
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18432
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18433
18433
|
let fetchResult;
|
|
18434
18434
|
try {
|
|
18435
18435
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18550,7 +18550,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18550
18550
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18551
18551
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18552
18552
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18553
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18553
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18554
18554
|
let fetchResult;
|
|
18555
18555
|
try {
|
|
18556
18556
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18681,7 +18681,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18681
18681
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18682
18682
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18683
18683
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18684
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18684
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18685
18685
|
let fetchResult;
|
|
18686
18686
|
try {
|
|
18687
18687
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18801,7 +18801,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18801
18801
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18802
18802
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18803
18803
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18804
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18804
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18805
18805
|
let fetchResult;
|
|
18806
18806
|
try {
|
|
18807
18807
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18921,7 +18921,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18921
18921
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18922
18922
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18923
18923
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18924
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18924
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18925
18925
|
let fetchResult;
|
|
18926
18926
|
try {
|
|
18927
18927
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19041,7 +19041,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19041
19041
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19042
19042
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19043
19043
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19044
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19044
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19045
19045
|
let fetchResult;
|
|
19046
19046
|
try {
|
|
19047
19047
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19161,7 +19161,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19161
19161
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19162
19162
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19163
19163
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19164
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19164
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19165
19165
|
let fetchResult;
|
|
19166
19166
|
try {
|
|
19167
19167
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19281,7 +19281,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19281
19281
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19282
19282
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19283
19283
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19284
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19284
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19285
19285
|
let fetchResult;
|
|
19286
19286
|
try {
|
|
19287
19287
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19401,7 +19401,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19401
19401
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19402
19402
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19403
19403
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19404
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19404
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19405
19405
|
let fetchResult;
|
|
19406
19406
|
try {
|
|
19407
19407
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19521,7 +19521,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19521
19521
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19522
19522
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19523
19523
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19524
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19524
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19525
19525
|
let fetchResult;
|
|
19526
19526
|
try {
|
|
19527
19527
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19950,7 +19950,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19950
19950
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19951
19951
|
*/
|
|
19952
19952
|
static async fromJsonLd(json, options = {}) {
|
|
19953
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
19953
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19954
19954
|
try {
|
|
19955
19955
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
19956
19956
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20403,7 +20403,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
20403
20403
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20404
20404
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20405
20405
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20406
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20406
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20407
20407
|
let fetchResult;
|
|
20408
20408
|
try {
|
|
20409
20409
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20524,7 +20524,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
20524
20524
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20525
20525
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20526
20526
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20527
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20527
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20528
20528
|
let fetchResult;
|
|
20529
20529
|
try {
|
|
20530
20530
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20644,7 +20644,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
20644
20644
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20645
20645
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20646
20646
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20647
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20647
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20648
20648
|
let fetchResult;
|
|
20649
20649
|
try {
|
|
20650
20650
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20910,7 +20910,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
20910
20910
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20911
20911
|
*/
|
|
20912
20912
|
static async fromJsonLd(json, options = {}) {
|
|
20913
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
20913
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20914
20914
|
try {
|
|
20915
20915
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
20916
20916
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21137,7 +21137,7 @@ var Create = class Create extends Activity {
|
|
|
21137
21137
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21138
21138
|
*/
|
|
21139
21139
|
static async fromJsonLd(json, options = {}) {
|
|
21140
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21140
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21141
21141
|
try {
|
|
21142
21142
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
21143
21143
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21302,7 +21302,7 @@ var Delete = class Delete extends Activity {
|
|
|
21302
21302
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21303
21303
|
*/
|
|
21304
21304
|
static async fromJsonLd(json, options = {}) {
|
|
21305
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21305
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21306
21306
|
try {
|
|
21307
21307
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
21308
21308
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21454,7 +21454,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
21454
21454
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21455
21455
|
*/
|
|
21456
21456
|
static async fromJsonLd(json, options = {}) {
|
|
21457
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21457
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21458
21458
|
try {
|
|
21459
21459
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
21460
21460
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21799,7 +21799,7 @@ var Endpoints = class {
|
|
|
21799
21799
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21800
21800
|
*/
|
|
21801
21801
|
static async fromJsonLd(json, options = {}) {
|
|
21802
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21802
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21803
21803
|
try {
|
|
21804
21804
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
21805
21805
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22033,7 +22033,7 @@ var Event = class Event extends Object$1 {
|
|
|
22033
22033
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22034
22034
|
*/
|
|
22035
22035
|
static async fromJsonLd(json, options = {}) {
|
|
22036
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22036
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22037
22037
|
try {
|
|
22038
22038
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
22039
22039
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22183,7 +22183,7 @@ var Flag = class Flag extends Activity {
|
|
|
22183
22183
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22184
22184
|
*/
|
|
22185
22185
|
static async fromJsonLd(json, options = {}) {
|
|
22186
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22186
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22187
22187
|
try {
|
|
22188
22188
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
22189
22189
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22337,7 +22337,7 @@ var Follow = class Follow extends Activity {
|
|
|
22337
22337
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22338
22338
|
*/
|
|
22339
22339
|
static async fromJsonLd(json, options = {}) {
|
|
22340
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22340
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22341
22341
|
try {
|
|
22342
22342
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
22343
22343
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22732,7 +22732,7 @@ var Group = class Group extends Object$1 {
|
|
|
22732
22732
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22733
22733
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22734
22734
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22735
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
22735
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22736
22736
|
let fetchResult;
|
|
22737
22737
|
try {
|
|
22738
22738
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22894,7 +22894,7 @@ var Group = class Group extends Object$1 {
|
|
|
22894
22894
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22895
22895
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22896
22896
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22897
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
22897
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22898
22898
|
let fetchResult;
|
|
22899
22899
|
try {
|
|
22900
22900
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23074,7 +23074,7 @@ var Group = class Group extends Object$1 {
|
|
|
23074
23074
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23075
23075
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23076
23076
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23077
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23077
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23078
23078
|
let fetchResult;
|
|
23079
23079
|
try {
|
|
23080
23080
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23216,7 +23216,7 @@ var Group = class Group extends Object$1 {
|
|
|
23216
23216
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23217
23217
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23218
23218
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23219
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23219
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23220
23220
|
let fetchResult;
|
|
23221
23221
|
try {
|
|
23222
23222
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23355,7 +23355,7 @@ var Group = class Group extends Object$1 {
|
|
|
23355
23355
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23356
23356
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23357
23357
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23358
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23358
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23359
23359
|
let fetchResult;
|
|
23360
23360
|
try {
|
|
23361
23361
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23479,7 +23479,7 @@ var Group = class Group extends Object$1 {
|
|
|
23479
23479
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23480
23480
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23481
23481
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23482
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23482
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23483
23483
|
let fetchResult;
|
|
23484
23484
|
try {
|
|
23485
23485
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23606,7 +23606,7 @@ var Group = class Group extends Object$1 {
|
|
|
23606
23606
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23607
23607
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23608
23608
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23609
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23609
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23610
23610
|
let fetchResult;
|
|
23611
23611
|
try {
|
|
23612
23612
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23731,7 +23731,7 @@ var Group = class Group extends Object$1 {
|
|
|
23731
23731
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23732
23732
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23733
23733
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23734
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23734
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23735
23735
|
let fetchResult;
|
|
23736
23736
|
try {
|
|
23737
23737
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23854,7 +23854,7 @@ var Group = class Group extends Object$1 {
|
|
|
23854
23854
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23855
23855
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23856
23856
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23857
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23857
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23858
23858
|
let fetchResult;
|
|
23859
23859
|
try {
|
|
23860
23860
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23977,7 +23977,7 @@ var Group = class Group extends Object$1 {
|
|
|
23977
23977
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23978
23978
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23979
23979
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23980
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23980
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23981
23981
|
let fetchResult;
|
|
23982
23982
|
try {
|
|
23983
23983
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24139,7 +24139,7 @@ var Group = class Group extends Object$1 {
|
|
|
24139
24139
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24140
24140
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24141
24141
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24142
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24142
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24143
24143
|
let fetchResult;
|
|
24144
24144
|
try {
|
|
24145
24145
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24305,7 +24305,7 @@ var Group = class Group extends Object$1 {
|
|
|
24305
24305
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24306
24306
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24307
24307
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24308
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24308
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24309
24309
|
let fetchResult;
|
|
24310
24310
|
try {
|
|
24311
24311
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24519,7 +24519,7 @@ var Group = class Group extends Object$1 {
|
|
|
24519
24519
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24520
24520
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24521
24521
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24522
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24522
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24523
24523
|
let fetchResult;
|
|
24524
24524
|
try {
|
|
24525
24525
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25204,7 +25204,7 @@ var Group = class Group extends Object$1 {
|
|
|
25204
25204
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25205
25205
|
*/
|
|
25206
25206
|
static async fromJsonLd(json, options = {}) {
|
|
25207
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
25207
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25208
25208
|
try {
|
|
25209
25209
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
25210
25210
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25896,7 +25896,7 @@ var Link = class Link {
|
|
|
25896
25896
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25897
25897
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25898
25898
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25899
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
25899
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25900
25900
|
let fetchResult;
|
|
25901
25901
|
try {
|
|
25902
25902
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26188,7 +26188,7 @@ var Link = class Link {
|
|
|
26188
26188
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26189
26189
|
*/
|
|
26190
26190
|
static async fromJsonLd(json, options = {}) {
|
|
26191
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
26191
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26192
26192
|
try {
|
|
26193
26193
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
26194
26194
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26521,7 +26521,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
26521
26521
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26522
26522
|
*/
|
|
26523
26523
|
static async fromJsonLd(json, options = {}) {
|
|
26524
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
26524
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26525
26525
|
try {
|
|
26526
26526
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
26527
26527
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26683,7 +26683,7 @@ var Image = class Image extends Document {
|
|
|
26683
26683
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26684
26684
|
*/
|
|
26685
26685
|
static async fromJsonLd(json, options = {}) {
|
|
26686
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
26686
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26687
26687
|
try {
|
|
26688
26688
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
26689
26689
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26833,7 +26833,7 @@ var Offer = class Offer extends Activity {
|
|
|
26833
26833
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26834
26834
|
*/
|
|
26835
26835
|
static async fromJsonLd(json, options = {}) {
|
|
26836
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
26836
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26837
26837
|
try {
|
|
26838
26838
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
26839
26839
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26983,7 +26983,7 @@ var Invite = class Invite extends Offer {
|
|
|
26983
26983
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26984
26984
|
*/
|
|
26985
26985
|
static async fromJsonLd(json, options = {}) {
|
|
26986
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
26986
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26987
26987
|
try {
|
|
26988
26988
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
26989
26989
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27132,7 +27132,7 @@ var Join = class Join extends Activity {
|
|
|
27132
27132
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27133
27133
|
*/
|
|
27134
27134
|
static async fromJsonLd(json, options = {}) {
|
|
27135
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27135
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27136
27136
|
try {
|
|
27137
27137
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
27138
27138
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27281,7 +27281,7 @@ var Leave = class Leave extends Activity {
|
|
|
27281
27281
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27282
27282
|
*/
|
|
27283
27283
|
static async fromJsonLd(json, options = {}) {
|
|
27284
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27284
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27285
27285
|
try {
|
|
27286
27286
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
27287
27287
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27434,7 +27434,7 @@ var Like = class Like extends Activity {
|
|
|
27434
27434
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27435
27435
|
*/
|
|
27436
27436
|
static async fromJsonLd(json, options = {}) {
|
|
27437
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27437
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27438
27438
|
try {
|
|
27439
27439
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
27440
27440
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27582,7 +27582,7 @@ var Listen = class Listen extends Activity {
|
|
|
27582
27582
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27583
27583
|
*/
|
|
27584
27584
|
static async fromJsonLd(json, options = {}) {
|
|
27585
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27585
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27586
27586
|
try {
|
|
27587
27587
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
27588
27588
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27733,7 +27733,7 @@ var Mention = class Mention extends Link {
|
|
|
27733
27733
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27734
27734
|
*/
|
|
27735
27735
|
static async fromJsonLd(json, options = {}) {
|
|
27736
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27736
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27737
27737
|
try {
|
|
27738
27738
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
27739
27739
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27883,7 +27883,7 @@ var Move = class Move extends Activity {
|
|
|
27883
27883
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27884
27884
|
*/
|
|
27885
27885
|
static async fromJsonLd(json, options = {}) {
|
|
27886
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27886
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27887
27887
|
try {
|
|
27888
27888
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
27889
27889
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28121,7 +28121,7 @@ var Note = class Note extends Object$1 {
|
|
|
28121
28121
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28122
28122
|
*/
|
|
28123
28123
|
static async fromJsonLd(json, options = {}) {
|
|
28124
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28124
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28125
28125
|
try {
|
|
28126
28126
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
28127
28127
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28250,7 +28250,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
28250
28250
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28251
28251
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28252
28252
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28253
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
28253
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28254
28254
|
let fetchResult;
|
|
28255
28255
|
try {
|
|
28256
28256
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28500,7 +28500,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
28500
28500
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28501
28501
|
*/
|
|
28502
28502
|
static async fromJsonLd(json, options = {}) {
|
|
28503
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28503
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28504
28504
|
try {
|
|
28505
28505
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
28506
28506
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28712,7 +28712,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
28712
28712
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28713
28713
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28714
28714
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28715
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
28715
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28716
28716
|
let fetchResult;
|
|
28717
28717
|
try {
|
|
28718
28718
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28985,7 +28985,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
28985
28985
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28986
28986
|
*/
|
|
28987
28987
|
static async fromJsonLd(json, options = {}) {
|
|
28988
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28988
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28989
28989
|
try {
|
|
28990
28990
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
28991
28991
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29483,7 +29483,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29483
29483
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29484
29484
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29485
29485
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29486
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
29486
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29487
29487
|
let fetchResult;
|
|
29488
29488
|
try {
|
|
29489
29489
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29645,7 +29645,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29645
29645
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29646
29646
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29647
29647
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29648
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
29648
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29649
29649
|
let fetchResult;
|
|
29650
29650
|
try {
|
|
29651
29651
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29825,7 +29825,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29825
29825
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29826
29826
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29827
29827
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29828
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
29828
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29829
29829
|
let fetchResult;
|
|
29830
29830
|
try {
|
|
29831
29831
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29967,7 +29967,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
29967
29967
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29968
29968
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29969
29969
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29970
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
29970
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29971
29971
|
let fetchResult;
|
|
29972
29972
|
try {
|
|
29973
29973
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30106,7 +30106,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30106
30106
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30107
30107
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30108
30108
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30109
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30109
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30110
30110
|
let fetchResult;
|
|
30111
30111
|
try {
|
|
30112
30112
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30230,7 +30230,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30230
30230
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30231
30231
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30232
30232
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30233
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30233
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30234
30234
|
let fetchResult;
|
|
30235
30235
|
try {
|
|
30236
30236
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30357,7 +30357,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30357
30357
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30358
30358
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30359
30359
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30360
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30360
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30361
30361
|
let fetchResult;
|
|
30362
30362
|
try {
|
|
30363
30363
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30482,7 +30482,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30482
30482
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30483
30483
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30484
30484
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30485
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30485
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30486
30486
|
let fetchResult;
|
|
30487
30487
|
try {
|
|
30488
30488
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30605,7 +30605,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30605
30605
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30606
30606
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30607
30607
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30608
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30608
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30609
30609
|
let fetchResult;
|
|
30610
30610
|
try {
|
|
30611
30611
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30728,7 +30728,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30728
30728
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30729
30729
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30730
30730
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30731
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30731
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30732
30732
|
let fetchResult;
|
|
30733
30733
|
try {
|
|
30734
30734
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30890,7 +30890,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30890
30890
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30891
30891
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30892
30892
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30893
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30893
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30894
30894
|
let fetchResult;
|
|
30895
30895
|
try {
|
|
30896
30896
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31056,7 +31056,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31056
31056
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31057
31057
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31058
31058
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31059
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31059
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31060
31060
|
let fetchResult;
|
|
31061
31061
|
try {
|
|
31062
31062
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31270,7 +31270,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31270
31270
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31271
31271
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31272
31272
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31273
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31273
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31274
31274
|
let fetchResult;
|
|
31275
31275
|
try {
|
|
31276
31276
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31955,7 +31955,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31955
31955
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31956
31956
|
*/
|
|
31957
31957
|
static async fromJsonLd(json, options = {}) {
|
|
31958
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
31958
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31959
31959
|
try {
|
|
31960
31960
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
31961
31961
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32521,7 +32521,7 @@ var Page = class Page extends Document {
|
|
|
32521
32521
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32522
32522
|
*/
|
|
32523
32523
|
static async fromJsonLd(json, options = {}) {
|
|
32524
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
32524
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32525
32525
|
try {
|
|
32526
32526
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
32527
32527
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32916,7 +32916,7 @@ var Person = class Person extends Object$1 {
|
|
|
32916
32916
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32917
32917
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32918
32918
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32919
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
32919
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32920
32920
|
let fetchResult;
|
|
32921
32921
|
try {
|
|
32922
32922
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33078,7 +33078,7 @@ var Person = class Person extends Object$1 {
|
|
|
33078
33078
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33079
33079
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33080
33080
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33081
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33081
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33082
33082
|
let fetchResult;
|
|
33083
33083
|
try {
|
|
33084
33084
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33258,7 +33258,7 @@ var Person = class Person extends Object$1 {
|
|
|
33258
33258
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33259
33259
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33260
33260
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33261
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33261
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33262
33262
|
let fetchResult;
|
|
33263
33263
|
try {
|
|
33264
33264
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33400,7 +33400,7 @@ var Person = class Person extends Object$1 {
|
|
|
33400
33400
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33401
33401
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33402
33402
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33403
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33403
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33404
33404
|
let fetchResult;
|
|
33405
33405
|
try {
|
|
33406
33406
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33539,7 +33539,7 @@ var Person = class Person extends Object$1 {
|
|
|
33539
33539
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33540
33540
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33541
33541
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33542
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33542
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33543
33543
|
let fetchResult;
|
|
33544
33544
|
try {
|
|
33545
33545
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33663,7 +33663,7 @@ var Person = class Person extends Object$1 {
|
|
|
33663
33663
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33664
33664
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33665
33665
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33666
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33666
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33667
33667
|
let fetchResult;
|
|
33668
33668
|
try {
|
|
33669
33669
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33790,7 +33790,7 @@ var Person = class Person extends Object$1 {
|
|
|
33790
33790
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33791
33791
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33792
33792
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33793
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33793
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33794
33794
|
let fetchResult;
|
|
33795
33795
|
try {
|
|
33796
33796
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33915,7 +33915,7 @@ var Person = class Person extends Object$1 {
|
|
|
33915
33915
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33916
33916
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33917
33917
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33918
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33918
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33919
33919
|
let fetchResult;
|
|
33920
33920
|
try {
|
|
33921
33921
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34038,7 +34038,7 @@ var Person = class Person extends Object$1 {
|
|
|
34038
34038
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34039
34039
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34040
34040
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34041
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34041
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34042
34042
|
let fetchResult;
|
|
34043
34043
|
try {
|
|
34044
34044
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34161,7 +34161,7 @@ var Person = class Person extends Object$1 {
|
|
|
34161
34161
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34162
34162
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34163
34163
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34164
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34164
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34165
34165
|
let fetchResult;
|
|
34166
34166
|
try {
|
|
34167
34167
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34323,7 +34323,7 @@ var Person = class Person extends Object$1 {
|
|
|
34323
34323
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34324
34324
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34325
34325
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34326
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34326
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34327
34327
|
let fetchResult;
|
|
34328
34328
|
try {
|
|
34329
34329
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34489,7 +34489,7 @@ var Person = class Person extends Object$1 {
|
|
|
34489
34489
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34490
34490
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34491
34491
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34492
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34492
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34493
34493
|
let fetchResult;
|
|
34494
34494
|
try {
|
|
34495
34495
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34703,7 +34703,7 @@ var Person = class Person extends Object$1 {
|
|
|
34703
34703
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34704
34704
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34705
34705
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34706
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34706
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34707
34707
|
let fetchResult;
|
|
34708
34708
|
try {
|
|
34709
34709
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35388,7 +35388,7 @@ var Person = class Person extends Object$1 {
|
|
|
35388
35388
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35389
35389
|
*/
|
|
35390
35390
|
static async fromJsonLd(json, options = {}) {
|
|
35391
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
35391
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35392
35392
|
try {
|
|
35393
35393
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
35394
35394
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36131,7 +36131,7 @@ var Place = class Place extends Object$1 {
|
|
|
36131
36131
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36132
36132
|
*/
|
|
36133
36133
|
static async fromJsonLd(json, options = {}) {
|
|
36134
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
36134
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36135
36135
|
try {
|
|
36136
36136
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
36137
36137
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36322,7 +36322,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
36322
36322
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36323
36323
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36324
36324
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36325
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36325
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36326
36326
|
let fetchResult;
|
|
36327
36327
|
try {
|
|
36328
36328
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36523,7 +36523,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
36523
36523
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36524
36524
|
*/
|
|
36525
36525
|
static async fromJsonLd(json, options = {}) {
|
|
36526
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
36526
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36527
36527
|
try {
|
|
36528
36528
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
36529
36529
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36694,7 +36694,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
36694
36694
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36695
36695
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36696
36696
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36697
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36697
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36698
36698
|
let fetchResult;
|
|
36699
36699
|
try {
|
|
36700
36700
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36816,7 +36816,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
36816
36816
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36817
36817
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36818
36818
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36819
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
36819
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36820
36820
|
let fetchResult;
|
|
36821
36821
|
try {
|
|
36822
36822
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37080,7 +37080,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
37080
37080
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37081
37081
|
*/
|
|
37082
37082
|
static async fromJsonLd(json, options = {}) {
|
|
37083
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
37083
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37084
37084
|
try {
|
|
37085
37085
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
37086
37086
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37307,7 +37307,7 @@ var Read = class Read extends Activity {
|
|
|
37307
37307
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37308
37308
|
*/
|
|
37309
37309
|
static async fromJsonLd(json, options = {}) {
|
|
37310
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
37310
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37311
37311
|
try {
|
|
37312
37312
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
37313
37313
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37456,7 +37456,7 @@ var Reject = class Reject extends Activity {
|
|
|
37456
37456
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37457
37457
|
*/
|
|
37458
37458
|
static async fromJsonLd(json, options = {}) {
|
|
37459
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
37459
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37460
37460
|
try {
|
|
37461
37461
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
37462
37462
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37629,7 +37629,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
37629
37629
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37630
37630
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37631
37631
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37632
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
37632
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37633
37633
|
let fetchResult;
|
|
37634
37634
|
try {
|
|
37635
37635
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37752,7 +37752,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
37752
37752
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37753
37753
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37754
37754
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37755
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
37755
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37756
37756
|
let fetchResult;
|
|
37757
37757
|
try {
|
|
37758
37758
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37914,7 +37914,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
37914
37914
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37915
37915
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37916
37916
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37917
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
37917
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37918
37918
|
let fetchResult;
|
|
37919
37919
|
try {
|
|
37920
37920
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38192,7 +38192,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
38192
38192
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38193
38193
|
*/
|
|
38194
38194
|
static async fromJsonLd(json, options = {}) {
|
|
38195
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
38195
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38196
38196
|
try {
|
|
38197
38197
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
38198
38198
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38401,7 +38401,7 @@ var Remove = class Remove extends Activity {
|
|
|
38401
38401
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38402
38402
|
*/
|
|
38403
38403
|
static async fromJsonLd(json, options = {}) {
|
|
38404
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
38404
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38405
38405
|
try {
|
|
38406
38406
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
38407
38407
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38796,7 +38796,7 @@ var Service = class Service extends Object$1 {
|
|
|
38796
38796
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38797
38797
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38798
38798
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38799
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
38799
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38800
38800
|
let fetchResult;
|
|
38801
38801
|
try {
|
|
38802
38802
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38958,7 +38958,7 @@ var Service = class Service extends Object$1 {
|
|
|
38958
38958
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38959
38959
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38960
38960
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38961
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
38961
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38962
38962
|
let fetchResult;
|
|
38963
38963
|
try {
|
|
38964
38964
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39138,7 +39138,7 @@ var Service = class Service extends Object$1 {
|
|
|
39138
39138
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39139
39139
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39140
39140
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39141
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39141
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39142
39142
|
let fetchResult;
|
|
39143
39143
|
try {
|
|
39144
39144
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39280,7 +39280,7 @@ var Service = class Service extends Object$1 {
|
|
|
39280
39280
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39281
39281
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39282
39282
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39283
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39283
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39284
39284
|
let fetchResult;
|
|
39285
39285
|
try {
|
|
39286
39286
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39419,7 +39419,7 @@ var Service = class Service extends Object$1 {
|
|
|
39419
39419
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39420
39420
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39421
39421
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39422
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39422
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39423
39423
|
let fetchResult;
|
|
39424
39424
|
try {
|
|
39425
39425
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39543,7 +39543,7 @@ var Service = class Service extends Object$1 {
|
|
|
39543
39543
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39544
39544
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39545
39545
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39546
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39546
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39547
39547
|
let fetchResult;
|
|
39548
39548
|
try {
|
|
39549
39549
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39670,7 +39670,7 @@ var Service = class Service extends Object$1 {
|
|
|
39670
39670
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39671
39671
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39672
39672
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39673
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39673
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39674
39674
|
let fetchResult;
|
|
39675
39675
|
try {
|
|
39676
39676
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39795,7 +39795,7 @@ var Service = class Service extends Object$1 {
|
|
|
39795
39795
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39796
39796
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39797
39797
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39798
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39798
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39799
39799
|
let fetchResult;
|
|
39800
39800
|
try {
|
|
39801
39801
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39918,7 +39918,7 @@ var Service = class Service extends Object$1 {
|
|
|
39918
39918
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39919
39919
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39920
39920
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39921
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39921
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39922
39922
|
let fetchResult;
|
|
39923
39923
|
try {
|
|
39924
39924
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40041,7 +40041,7 @@ var Service = class Service extends Object$1 {
|
|
|
40041
40041
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40042
40042
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40043
40043
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40044
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40044
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40045
40045
|
let fetchResult;
|
|
40046
40046
|
try {
|
|
40047
40047
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40203,7 +40203,7 @@ var Service = class Service extends Object$1 {
|
|
|
40203
40203
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40204
40204
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40205
40205
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40206
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40206
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40207
40207
|
let fetchResult;
|
|
40208
40208
|
try {
|
|
40209
40209
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40369,7 +40369,7 @@ var Service = class Service extends Object$1 {
|
|
|
40369
40369
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40370
40370
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40371
40371
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40372
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40372
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40373
40373
|
let fetchResult;
|
|
40374
40374
|
try {
|
|
40375
40375
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40583,7 +40583,7 @@ var Service = class Service extends Object$1 {
|
|
|
40583
40583
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40584
40584
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40585
40585
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40586
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40586
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40587
40587
|
let fetchResult;
|
|
40588
40588
|
try {
|
|
40589
40589
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41268,7 +41268,7 @@ var Service = class Service extends Object$1 {
|
|
|
41268
41268
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41269
41269
|
*/
|
|
41270
41270
|
static async fromJsonLd(json, options = {}) {
|
|
41271
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
41271
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41272
41272
|
try {
|
|
41273
41273
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
41274
41274
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41916,7 +41916,7 @@ var Source = class {
|
|
|
41916
41916
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41917
41917
|
*/
|
|
41918
41918
|
static async fromJsonLd(json, options = {}) {
|
|
41919
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
41919
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41920
41920
|
try {
|
|
41921
41921
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
41922
41922
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42092,7 +42092,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
42092
42092
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42093
42093
|
*/
|
|
42094
42094
|
static async fromJsonLd(json, options = {}) {
|
|
42095
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42095
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42096
42096
|
try {
|
|
42097
42097
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
42098
42098
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42241,7 +42241,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
42241
42241
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42242
42242
|
*/
|
|
42243
42243
|
static async fromJsonLd(json, options = {}) {
|
|
42244
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42244
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42245
42245
|
try {
|
|
42246
42246
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
42247
42247
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42436,7 +42436,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
42436
42436
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42437
42437
|
*/
|
|
42438
42438
|
static async fromJsonLd(json, options = {}) {
|
|
42439
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42439
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42440
42440
|
try {
|
|
42441
42441
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
42442
42442
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42600,7 +42600,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
42600
42600
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42601
42601
|
*/
|
|
42602
42602
|
static async fromJsonLd(json, options = {}) {
|
|
42603
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42603
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42604
42604
|
try {
|
|
42605
42605
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
42606
42606
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42763,7 +42763,7 @@ var Undo = class Undo extends Activity {
|
|
|
42763
42763
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42764
42764
|
*/
|
|
42765
42765
|
static async fromJsonLd(json, options = {}) {
|
|
42766
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42766
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42767
42767
|
try {
|
|
42768
42768
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
42769
42769
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42964,7 +42964,7 @@ var Update = class Update extends Activity {
|
|
|
42964
42964
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42965
42965
|
*/
|
|
42966
42966
|
static async fromJsonLd(json, options = {}) {
|
|
42967
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42967
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42968
42968
|
try {
|
|
42969
42969
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
42970
42970
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43126,7 +43126,7 @@ var Video = class Video extends Document {
|
|
|
43126
43126
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43127
43127
|
*/
|
|
43128
43128
|
static async fromJsonLd(json, options = {}) {
|
|
43129
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
43129
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43130
43130
|
try {
|
|
43131
43131
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
43132
43132
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43274,7 +43274,7 @@ var View = class View extends Activity {
|
|
|
43274
43274
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43275
43275
|
*/
|
|
43276
43276
|
static async fromJsonLd(json, options = {}) {
|
|
43277
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
43277
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.17").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43278
43278
|
try {
|
|
43279
43279
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
43280
43280
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|