@fedify/vocab 2.2.2 → 2.2.3-dev.1098
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 +217 -217
- package/dist/mod.js +217 -217
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/{deno-CSHUonV2.mjs → deno-CjKgjCYf.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-Cp7kqLh1.mjs → vocab-B1J4LLrk.mjs} +216 -216
- 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.2.
|
|
12
|
+
var version = "2.2.3-dev.1098+aaf52a7f";
|
|
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.2.
|
|
676
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").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.2.
|
|
822
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").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.2.
|
|
1034
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").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.2.
|
|
1218
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").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.2.
|
|
1380
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").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.2.
|
|
1510
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").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.2.
|
|
1676
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").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.2.
|
|
1842
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").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.2.
|
|
2016
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").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.2.
|
|
2190
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").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.2.
|
|
2369
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").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.2.
|
|
2490
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").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.2.
|
|
2617
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").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.2.
|
|
2744
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").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.2.
|
|
2889
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").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.2.
|
|
3041
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").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.2.
|
|
3205
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").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.2.
|
|
3369
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").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.2.
|
|
3533
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").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.2.
|
|
3734
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").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.2.
|
|
3921
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").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.2.
|
|
4042
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").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.2.
|
|
4163
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").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.2.
|
|
4990
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").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);
|
|
@@ -6437,7 +6437,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
6437
6437
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6438
6438
|
*/
|
|
6439
6439
|
static async fromJsonLd(json, options = {}) {
|
|
6440
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
6440
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6441
6441
|
try {
|
|
6442
6442
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
6443
6443
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6571,7 +6571,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6571
6571
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6572
6572
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6573
6573
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6574
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
6574
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6575
6575
|
let fetchResult;
|
|
6576
6576
|
try {
|
|
6577
6577
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6709,7 +6709,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6709
6709
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6710
6710
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6711
6711
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6712
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
6712
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6713
6713
|
let fetchResult;
|
|
6714
6714
|
try {
|
|
6715
6715
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6993,7 +6993,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6993
6993
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6994
6994
|
*/
|
|
6995
6995
|
static async fromJsonLd(json, options = {}) {
|
|
6996
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
6996
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6997
6997
|
try {
|
|
6998
6998
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
6999
6999
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7318,7 +7318,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7318
7318
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7319
7319
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7320
7320
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7321
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
7321
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7322
7322
|
let fetchResult;
|
|
7323
7323
|
try {
|
|
7324
7324
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7530,7 +7530,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7530
7530
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7531
7531
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7532
7532
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7533
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
7533
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7534
7534
|
let fetchResult;
|
|
7535
7535
|
try {
|
|
7536
7536
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7696,7 +7696,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7696
7696
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7697
7697
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7698
7698
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7699
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
7699
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7700
7700
|
let fetchResult;
|
|
7701
7701
|
try {
|
|
7702
7702
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7868,7 +7868,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7868
7868
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7869
7869
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7870
7870
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7871
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
7871
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7872
7872
|
let fetchResult;
|
|
7873
7873
|
try {
|
|
7874
7874
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8034,7 +8034,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8034
8034
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8035
8035
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8036
8036
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8037
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8037
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8038
8038
|
let fetchResult;
|
|
8039
8039
|
try {
|
|
8040
8040
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8202,7 +8202,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8202
8202
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8203
8203
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8204
8204
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8205
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8205
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8206
8206
|
let fetchResult;
|
|
8207
8207
|
try {
|
|
8208
8208
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8453,7 +8453,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8453
8453
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8454
8454
|
*/
|
|
8455
8455
|
static async fromJsonLd(json, options = {}) {
|
|
8456
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
8456
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8457
8457
|
try {
|
|
8458
8458
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
8459
8459
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8786,7 +8786,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
8786
8786
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8787
8787
|
*/
|
|
8788
8788
|
static async fromJsonLd(json, options = {}) {
|
|
8789
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
8789
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8790
8790
|
try {
|
|
8791
8791
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
8792
8792
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9032,7 +9032,7 @@ var PropertyValue = class {
|
|
|
9032
9032
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9033
9033
|
*/
|
|
9034
9034
|
static async fromJsonLd(json, options = {}) {
|
|
9035
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
9035
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9036
9036
|
try {
|
|
9037
9037
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
9038
9038
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9297,7 +9297,7 @@ var Measure = class {
|
|
|
9297
9297
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9298
9298
|
*/
|
|
9299
9299
|
static async fromJsonLd(json, options = {}) {
|
|
9300
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
9300
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9301
9301
|
try {
|
|
9302
9302
|
const object = await this.__fromJsonLd__Measure__(json, span, options);
|
|
9303
9303
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9457,7 +9457,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9457
9457
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9458
9458
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9459
9459
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9460
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
9460
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9461
9461
|
let fetchResult;
|
|
9462
9462
|
try {
|
|
9463
9463
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9578,7 +9578,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9578
9578
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9579
9579
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9580
9580
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9581
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
9581
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9582
9582
|
let fetchResult;
|
|
9583
9583
|
try {
|
|
9584
9584
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9794,7 +9794,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9794
9794
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9795
9795
|
*/
|
|
9796
9796
|
static async fromJsonLd(json, options = {}) {
|
|
9797
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
9797
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9798
9798
|
try {
|
|
9799
9799
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
9800
9800
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9995,7 +9995,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
9995
9995
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9996
9996
|
*/
|
|
9997
9997
|
static async fromJsonLd(json, options = {}) {
|
|
9998
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
9998
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9999
9999
|
try {
|
|
10000
10000
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
10001
10001
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10259,7 +10259,7 @@ var InteractionPolicy = class {
|
|
|
10259
10259
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10260
10260
|
*/
|
|
10261
10261
|
static async fromJsonLd(json, options = {}) {
|
|
10262
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
10262
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10263
10263
|
try {
|
|
10264
10264
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
10265
10265
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10584,7 +10584,7 @@ var InteractionRule = class {
|
|
|
10584
10584
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10585
10585
|
*/
|
|
10586
10586
|
static async fromJsonLd(json, options = {}) {
|
|
10587
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
10587
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10588
10588
|
try {
|
|
10589
10589
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
10590
10590
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10745,7 +10745,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10745
10745
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10746
10746
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10747
10747
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10748
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
10748
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10749
10749
|
let fetchResult;
|
|
10750
10750
|
try {
|
|
10751
10751
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10866,7 +10866,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10866
10866
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10867
10867
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10868
10868
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10869
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
10869
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10870
10870
|
let fetchResult;
|
|
10871
10871
|
try {
|
|
10872
10872
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11082,7 +11082,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11082
11082
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11083
11083
|
*/
|
|
11084
11084
|
static async fromJsonLd(json, options = {}) {
|
|
11085
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
11085
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11086
11086
|
try {
|
|
11087
11087
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
11088
11088
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11282,7 +11282,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
11282
11282
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11283
11283
|
*/
|
|
11284
11284
|
static async fromJsonLd(json, options = {}) {
|
|
11285
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
11285
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11286
11286
|
try {
|
|
11287
11287
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
11288
11288
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11413,7 +11413,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11413
11413
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11414
11414
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11415
11415
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11416
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
11416
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11417
11417
|
let fetchResult;
|
|
11418
11418
|
try {
|
|
11419
11419
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11534,7 +11534,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11534
11534
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11535
11535
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11536
11536
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11537
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
11537
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11538
11538
|
let fetchResult;
|
|
11539
11539
|
try {
|
|
11540
11540
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11750,7 +11750,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11750
11750
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11751
11751
|
*/
|
|
11752
11752
|
static async fromJsonLd(json, options = {}) {
|
|
11753
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
11753
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11754
11754
|
try {
|
|
11755
11755
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
11756
11756
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11950,7 +11950,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
11950
11950
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11951
11951
|
*/
|
|
11952
11952
|
static async fromJsonLd(json, options = {}) {
|
|
11953
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
11953
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11954
11954
|
try {
|
|
11955
11955
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
11956
11956
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12081,7 +12081,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
12081
12081
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12082
12082
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12083
12083
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12084
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
12084
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12085
12085
|
let fetchResult;
|
|
12086
12086
|
try {
|
|
12087
12087
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12201,7 +12201,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
12201
12201
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12202
12202
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12203
12203
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12204
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
12204
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12205
12205
|
let fetchResult;
|
|
12206
12206
|
try {
|
|
12207
12207
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12419,7 +12419,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
12419
12419
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12420
12420
|
*/
|
|
12421
12421
|
static async fromJsonLd(json, options = {}) {
|
|
12422
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12422
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12423
12423
|
try {
|
|
12424
12424
|
const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
|
|
12425
12425
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12649,7 +12649,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
|
|
|
12649
12649
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12650
12650
|
*/
|
|
12651
12651
|
static async fromJsonLd(json, options = {}) {
|
|
12652
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12652
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12653
12653
|
try {
|
|
12654
12654
|
const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
|
|
12655
12655
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12855,7 +12855,7 @@ var DidService = class {
|
|
|
12855
12855
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12856
12856
|
*/
|
|
12857
12857
|
static async fromJsonLd(json, options = {}) {
|
|
12858
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12858
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12859
12859
|
try {
|
|
12860
12860
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
12861
12861
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13011,7 +13011,7 @@ var Export = class Export extends DidService {
|
|
|
13011
13011
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13012
13012
|
*/
|
|
13013
13013
|
static async fromJsonLd(json, options = {}) {
|
|
13014
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13014
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13015
13015
|
try {
|
|
13016
13016
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
13017
13017
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13184,7 +13184,7 @@ var DataIntegrityProof = class {
|
|
|
13184
13184
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13185
13185
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13186
13186
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13187
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
13187
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13188
13188
|
let fetchResult;
|
|
13189
13189
|
try {
|
|
13190
13190
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13403,7 +13403,7 @@ var DataIntegrityProof = class {
|
|
|
13403
13403
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13404
13404
|
*/
|
|
13405
13405
|
static async fromJsonLd(json, options = {}) {
|
|
13406
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13406
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13407
13407
|
try {
|
|
13408
13408
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
13409
13409
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13627,7 +13627,7 @@ var CryptographicKey = class {
|
|
|
13627
13627
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13628
13628
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13629
13629
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13630
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
13630
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13631
13631
|
let fetchResult;
|
|
13632
13632
|
try {
|
|
13633
13633
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13889,7 +13889,7 @@ var CryptographicKey = class {
|
|
|
13889
13889
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13890
13890
|
*/
|
|
13891
13891
|
static async fromJsonLd(json, options = {}) {
|
|
13892
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13892
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13893
13893
|
try {
|
|
13894
13894
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
13895
13895
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14086,7 +14086,7 @@ var Multikey = class {
|
|
|
14086
14086
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14087
14087
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14088
14088
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14089
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
14089
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14090
14090
|
let fetchResult;
|
|
14091
14091
|
try {
|
|
14092
14092
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14354,7 +14354,7 @@ var Multikey = class {
|
|
|
14354
14354
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14355
14355
|
*/
|
|
14356
14356
|
static async fromJsonLd(json, options = {}) {
|
|
14357
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
14357
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14358
14358
|
try {
|
|
14359
14359
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
14360
14360
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14742,7 +14742,7 @@ var Intent = class {
|
|
|
14742
14742
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14743
14743
|
*/
|
|
14744
14744
|
static async fromJsonLd(json, options = {}) {
|
|
14745
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
14745
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14746
14746
|
try {
|
|
14747
14747
|
const object = await this.__fromJsonLd__Intent__(json, span, options);
|
|
14748
14748
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15159,7 +15159,7 @@ var Proposal = class Proposal extends Object$1 {
|
|
|
15159
15159
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15160
15160
|
*/
|
|
15161
15161
|
static async fromJsonLd(json, options = {}) {
|
|
15162
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
15162
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15163
15163
|
try {
|
|
15164
15164
|
const object = await this.__fromJsonLd__Proposal__(json, span, options);
|
|
15165
15165
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15372,7 +15372,7 @@ var Accept = class Accept extends Activity {
|
|
|
15372
15372
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15373
15373
|
*/
|
|
15374
15374
|
static async fromJsonLd(json, options = {}) {
|
|
15375
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
15375
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15376
15376
|
try {
|
|
15377
15377
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
15378
15378
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15524,7 +15524,7 @@ var Add = class Add extends Activity {
|
|
|
15524
15524
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15525
15525
|
*/
|
|
15526
15526
|
static async fromJsonLd(json, options = {}) {
|
|
15527
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
15527
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15528
15528
|
try {
|
|
15529
15529
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
15530
15530
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15703,7 +15703,7 @@ var Announce = class Announce extends Activity {
|
|
|
15703
15703
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15704
15704
|
*/
|
|
15705
15705
|
static async fromJsonLd(json, options = {}) {
|
|
15706
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
15706
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15707
15707
|
try {
|
|
15708
15708
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
15709
15709
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16098,7 +16098,7 @@ var Application = class Application extends Object$1 {
|
|
|
16098
16098
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16099
16099
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16100
16100
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16101
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
16101
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16102
16102
|
let fetchResult;
|
|
16103
16103
|
try {
|
|
16104
16104
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16260,7 +16260,7 @@ var Application = class Application extends Object$1 {
|
|
|
16260
16260
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16261
16261
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16262
16262
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16263
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
16263
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16264
16264
|
let fetchResult;
|
|
16265
16265
|
try {
|
|
16266
16266
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16440,7 +16440,7 @@ var Application = class Application extends Object$1 {
|
|
|
16440
16440
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16441
16441
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16442
16442
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16443
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
16443
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16444
16444
|
let fetchResult;
|
|
16445
16445
|
try {
|
|
16446
16446
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16582,7 +16582,7 @@ var Application = class Application extends Object$1 {
|
|
|
16582
16582
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16583
16583
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16584
16584
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16585
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
16585
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16586
16586
|
let fetchResult;
|
|
16587
16587
|
try {
|
|
16588
16588
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16721,7 +16721,7 @@ var Application = class Application extends Object$1 {
|
|
|
16721
16721
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16722
16722
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16723
16723
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16724
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
16724
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16725
16725
|
let fetchResult;
|
|
16726
16726
|
try {
|
|
16727
16727
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16845,7 +16845,7 @@ var Application = class Application extends Object$1 {
|
|
|
16845
16845
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16846
16846
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16847
16847
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16848
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
16848
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16849
16849
|
let fetchResult;
|
|
16850
16850
|
try {
|
|
16851
16851
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16972,7 +16972,7 @@ var Application = class Application extends Object$1 {
|
|
|
16972
16972
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16973
16973
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16974
16974
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16975
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
16975
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16976
16976
|
let fetchResult;
|
|
16977
16977
|
try {
|
|
16978
16978
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17097,7 +17097,7 @@ var Application = class Application extends Object$1 {
|
|
|
17097
17097
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17098
17098
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17099
17099
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17100
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17100
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17101
17101
|
let fetchResult;
|
|
17102
17102
|
try {
|
|
17103
17103
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17220,7 +17220,7 @@ var Application = class Application extends Object$1 {
|
|
|
17220
17220
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17221
17221
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17222
17222
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17223
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17223
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17224
17224
|
let fetchResult;
|
|
17225
17225
|
try {
|
|
17226
17226
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17343,7 +17343,7 @@ var Application = class Application extends Object$1 {
|
|
|
17343
17343
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17344
17344
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17345
17345
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17346
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17346
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17347
17347
|
let fetchResult;
|
|
17348
17348
|
try {
|
|
17349
17349
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17505,7 +17505,7 @@ var Application = class Application extends Object$1 {
|
|
|
17505
17505
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17506
17506
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17507
17507
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17508
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17508
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17509
17509
|
let fetchResult;
|
|
17510
17510
|
try {
|
|
17511
17511
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17671,7 +17671,7 @@ var Application = class Application extends Object$1 {
|
|
|
17671
17671
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17672
17672
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17673
17673
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17674
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17674
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17675
17675
|
let fetchResult;
|
|
17676
17676
|
try {
|
|
17677
17677
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17885,7 +17885,7 @@ var Application = class Application extends Object$1 {
|
|
|
17885
17885
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17886
17886
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17887
17887
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17888
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17888
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17889
17889
|
let fetchResult;
|
|
17890
17890
|
try {
|
|
17891
17891
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18570,7 +18570,7 @@ var Application = class Application extends Object$1 {
|
|
|
18570
18570
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18571
18571
|
*/
|
|
18572
18572
|
static async fromJsonLd(json, options = {}) {
|
|
18573
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
18573
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18574
18574
|
try {
|
|
18575
18575
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
18576
18576
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19158,7 +19158,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
19158
19158
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19159
19159
|
*/
|
|
19160
19160
|
static async fromJsonLd(json, options = {}) {
|
|
19161
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
19161
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19162
19162
|
try {
|
|
19163
19163
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
19164
19164
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19311,7 +19311,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
19311
19311
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19312
19312
|
*/
|
|
19313
19313
|
static async fromJsonLd(json, options = {}) {
|
|
19314
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
19314
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19315
19315
|
try {
|
|
19316
19316
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
19317
19317
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19441,7 +19441,7 @@ var Article = class Article extends Object$1 {
|
|
|
19441
19441
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19442
19442
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19443
19443
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19444
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
19444
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19445
19445
|
let fetchResult;
|
|
19446
19446
|
try {
|
|
19447
19447
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19579,7 +19579,7 @@ var Article = class Article extends Object$1 {
|
|
|
19579
19579
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19580
19580
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19581
19581
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19582
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
19582
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19583
19583
|
let fetchResult;
|
|
19584
19584
|
try {
|
|
19585
19585
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19865,7 +19865,7 @@ var Article = class Article extends Object$1 {
|
|
|
19865
19865
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19866
19866
|
*/
|
|
19867
19867
|
static async fromJsonLd(json, options = {}) {
|
|
19868
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
19868
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19869
19869
|
try {
|
|
19870
19870
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
19871
19871
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20146,7 +20146,7 @@ var Document = class Document extends Object$1 {
|
|
|
20146
20146
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20147
20147
|
*/
|
|
20148
20148
|
static async fromJsonLd(json, options = {}) {
|
|
20149
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
20149
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20150
20150
|
try {
|
|
20151
20151
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
20152
20152
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20341,7 +20341,7 @@ var Audio = class Audio extends Document {
|
|
|
20341
20341
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20342
20342
|
*/
|
|
20343
20343
|
static async fromJsonLd(json, options = {}) {
|
|
20344
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
20344
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20345
20345
|
try {
|
|
20346
20346
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
20347
20347
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20490,7 +20490,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
20490
20490
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20491
20491
|
*/
|
|
20492
20492
|
static async fromJsonLd(json, options = {}) {
|
|
20493
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
20493
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20494
20494
|
try {
|
|
20495
20495
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
20496
20496
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20642,7 +20642,7 @@ var Block = class Block extends Ignore {
|
|
|
20642
20642
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20643
20643
|
*/
|
|
20644
20644
|
static async fromJsonLd(json, options = {}) {
|
|
20645
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
20645
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20646
20646
|
try {
|
|
20647
20647
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
20648
20648
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20906,7 +20906,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20906
20906
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20907
20907
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20908
20908
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20909
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
20909
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20910
20910
|
let fetchResult;
|
|
20911
20911
|
try {
|
|
20912
20912
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21027,7 +21027,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21027
21027
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21028
21028
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21029
21029
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21030
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
21030
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21031
21031
|
let fetchResult;
|
|
21032
21032
|
try {
|
|
21033
21033
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21148,7 +21148,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21148
21148
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21149
21149
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21150
21150
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21151
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
21151
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21152
21152
|
let fetchResult;
|
|
21153
21153
|
try {
|
|
21154
21154
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21269,7 +21269,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21269
21269
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21270
21270
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21271
21271
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21272
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
21272
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21273
21273
|
let fetchResult;
|
|
21274
21274
|
try {
|
|
21275
21275
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21400,7 +21400,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21400
21400
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21401
21401
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21402
21402
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21403
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
21403
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21404
21404
|
let fetchResult;
|
|
21405
21405
|
try {
|
|
21406
21406
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21520,7 +21520,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21520
21520
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21521
21521
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21522
21522
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21523
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
21523
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21524
21524
|
let fetchResult;
|
|
21525
21525
|
try {
|
|
21526
21526
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21640,7 +21640,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21640
21640
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21641
21641
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21642
21642
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21643
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
21643
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21644
21644
|
let fetchResult;
|
|
21645
21645
|
try {
|
|
21646
21646
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21760,7 +21760,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21760
21760
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21761
21761
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21762
21762
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21763
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
21763
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21764
21764
|
let fetchResult;
|
|
21765
21765
|
try {
|
|
21766
21766
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21880,7 +21880,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21880
21880
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21881
21881
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21882
21882
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21883
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
21883
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21884
21884
|
let fetchResult;
|
|
21885
21885
|
try {
|
|
21886
21886
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22000,7 +22000,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22000
22000
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22001
22001
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22002
22002
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22003
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22003
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22004
22004
|
let fetchResult;
|
|
22005
22005
|
try {
|
|
22006
22006
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22120,7 +22120,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22120
22120
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22121
22121
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22122
22122
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22123
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22123
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22124
22124
|
let fetchResult;
|
|
22125
22125
|
try {
|
|
22126
22126
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22240,7 +22240,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22240
22240
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22241
22241
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22242
22242
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22243
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22243
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22244
22244
|
let fetchResult;
|
|
22245
22245
|
try {
|
|
22246
22246
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22689,7 +22689,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22689
22689
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22690
22690
|
*/
|
|
22691
22691
|
static async fromJsonLd(json, options = {}) {
|
|
22692
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
22692
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22693
22693
|
try {
|
|
22694
22694
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
22695
22695
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23169,7 +23169,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
23169
23169
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23170
23170
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23171
23171
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23172
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23172
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23173
23173
|
let fetchResult;
|
|
23174
23174
|
try {
|
|
23175
23175
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23290,7 +23290,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
23290
23290
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23291
23291
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23292
23292
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23293
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23293
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23294
23294
|
let fetchResult;
|
|
23295
23295
|
try {
|
|
23296
23296
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23410,7 +23410,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
23410
23410
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23411
23411
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23412
23412
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23413
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23413
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23414
23414
|
let fetchResult;
|
|
23415
23415
|
try {
|
|
23416
23416
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23696,7 +23696,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
23696
23696
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23697
23697
|
*/
|
|
23698
23698
|
static async fromJsonLd(json, options = {}) {
|
|
23699
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
23699
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23700
23700
|
try {
|
|
23701
23701
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
23702
23702
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23939,7 +23939,7 @@ var Create = class Create extends Activity {
|
|
|
23939
23939
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23940
23940
|
*/
|
|
23941
23941
|
static async fromJsonLd(json, options = {}) {
|
|
23942
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
23942
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23943
23943
|
try {
|
|
23944
23944
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
23945
23945
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24114,7 +24114,7 @@ var Delete = class Delete extends Activity {
|
|
|
24114
24114
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24115
24115
|
*/
|
|
24116
24116
|
static async fromJsonLd(json, options = {}) {
|
|
24117
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
24117
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24118
24118
|
try {
|
|
24119
24119
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
24120
24120
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24266,7 +24266,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
24266
24266
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24267
24267
|
*/
|
|
24268
24268
|
static async fromJsonLd(json, options = {}) {
|
|
24269
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
24269
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24270
24270
|
try {
|
|
24271
24271
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
24272
24272
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24611,7 +24611,7 @@ var Endpoints = class {
|
|
|
24611
24611
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24612
24612
|
*/
|
|
24613
24613
|
static async fromJsonLd(json, options = {}) {
|
|
24614
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
24614
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24615
24615
|
try {
|
|
24616
24616
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
24617
24617
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24857,7 +24857,7 @@ var Event = class Event extends Object$1 {
|
|
|
24857
24857
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24858
24858
|
*/
|
|
24859
24859
|
static async fromJsonLd(json, options = {}) {
|
|
24860
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
24860
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24861
24861
|
try {
|
|
24862
24862
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
24863
24863
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25007,7 +25007,7 @@ var Flag = class Flag extends Activity {
|
|
|
25007
25007
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25008
25008
|
*/
|
|
25009
25009
|
static async fromJsonLd(json, options = {}) {
|
|
25010
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25010
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25011
25011
|
try {
|
|
25012
25012
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
25013
25013
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25161,7 +25161,7 @@ var Follow = class Follow extends Activity {
|
|
|
25161
25161
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25162
25162
|
*/
|
|
25163
25163
|
static async fromJsonLd(json, options = {}) {
|
|
25164
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25164
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25165
25165
|
try {
|
|
25166
25166
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
25167
25167
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25556,7 +25556,7 @@ var Group = class Group extends Object$1 {
|
|
|
25556
25556
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25557
25557
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25558
25558
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25559
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
25559
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25560
25560
|
let fetchResult;
|
|
25561
25561
|
try {
|
|
25562
25562
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25718,7 +25718,7 @@ var Group = class Group extends Object$1 {
|
|
|
25718
25718
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25719
25719
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25720
25720
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25721
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
25721
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25722
25722
|
let fetchResult;
|
|
25723
25723
|
try {
|
|
25724
25724
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25898,7 +25898,7 @@ var Group = class Group extends Object$1 {
|
|
|
25898
25898
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25899
25899
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25900
25900
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25901
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
25901
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25902
25902
|
let fetchResult;
|
|
25903
25903
|
try {
|
|
25904
25904
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26040,7 +26040,7 @@ var Group = class Group extends Object$1 {
|
|
|
26040
26040
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26041
26041
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26042
26042
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26043
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
26043
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26044
26044
|
let fetchResult;
|
|
26045
26045
|
try {
|
|
26046
26046
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26179,7 +26179,7 @@ var Group = class Group extends Object$1 {
|
|
|
26179
26179
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26180
26180
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26181
26181
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26182
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
26182
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26183
26183
|
let fetchResult;
|
|
26184
26184
|
try {
|
|
26185
26185
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26303,7 +26303,7 @@ var Group = class Group extends Object$1 {
|
|
|
26303
26303
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26304
26304
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26305
26305
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26306
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
26306
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26307
26307
|
let fetchResult;
|
|
26308
26308
|
try {
|
|
26309
26309
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26430,7 +26430,7 @@ var Group = class Group extends Object$1 {
|
|
|
26430
26430
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26431
26431
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26432
26432
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26433
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
26433
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26434
26434
|
let fetchResult;
|
|
26435
26435
|
try {
|
|
26436
26436
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26555,7 +26555,7 @@ var Group = class Group extends Object$1 {
|
|
|
26555
26555
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26556
26556
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26557
26557
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26558
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
26558
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26559
26559
|
let fetchResult;
|
|
26560
26560
|
try {
|
|
26561
26561
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26678,7 +26678,7 @@ var Group = class Group extends Object$1 {
|
|
|
26678
26678
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26679
26679
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26680
26680
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26681
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
26681
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26682
26682
|
let fetchResult;
|
|
26683
26683
|
try {
|
|
26684
26684
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26801,7 +26801,7 @@ var Group = class Group extends Object$1 {
|
|
|
26801
26801
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26802
26802
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26803
26803
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26804
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
26804
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26805
26805
|
let fetchResult;
|
|
26806
26806
|
try {
|
|
26807
26807
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26963,7 +26963,7 @@ var Group = class Group extends Object$1 {
|
|
|
26963
26963
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26964
26964
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26965
26965
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26966
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
26966
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26967
26967
|
let fetchResult;
|
|
26968
26968
|
try {
|
|
26969
26969
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27129,7 +27129,7 @@ var Group = class Group extends Object$1 {
|
|
|
27129
27129
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27130
27130
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27131
27131
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27132
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27132
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27133
27133
|
let fetchResult;
|
|
27134
27134
|
try {
|
|
27135
27135
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27343,7 +27343,7 @@ var Group = class Group extends Object$1 {
|
|
|
27343
27343
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27344
27344
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27345
27345
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27346
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27346
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27347
27347
|
let fetchResult;
|
|
27348
27348
|
try {
|
|
27349
27349
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28028,7 +28028,7 @@ var Group = class Group extends Object$1 {
|
|
|
28028
28028
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28029
28029
|
*/
|
|
28030
28030
|
static async fromJsonLd(json, options = {}) {
|
|
28031
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
28031
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28032
28032
|
try {
|
|
28033
28033
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
28034
28034
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28754,7 +28754,7 @@ var Link = class Link {
|
|
|
28754
28754
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28755
28755
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28756
28756
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28757
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28757
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28758
28758
|
let fetchResult;
|
|
28759
28759
|
try {
|
|
28760
28760
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29046,7 +29046,7 @@ var Link = class Link {
|
|
|
29046
29046
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29047
29047
|
*/
|
|
29048
29048
|
static async fromJsonLd(json, options = {}) {
|
|
29049
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
29049
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29050
29050
|
try {
|
|
29051
29051
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
29052
29052
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29394,7 +29394,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
29394
29394
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29395
29395
|
*/
|
|
29396
29396
|
static async fromJsonLd(json, options = {}) {
|
|
29397
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
29397
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29398
29398
|
try {
|
|
29399
29399
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
29400
29400
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29556,7 +29556,7 @@ var Image = class Image extends Document {
|
|
|
29556
29556
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29557
29557
|
*/
|
|
29558
29558
|
static async fromJsonLd(json, options = {}) {
|
|
29559
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
29559
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29560
29560
|
try {
|
|
29561
29561
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
29562
29562
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29706,7 +29706,7 @@ var Offer = class Offer extends Activity {
|
|
|
29706
29706
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29707
29707
|
*/
|
|
29708
29708
|
static async fromJsonLd(json, options = {}) {
|
|
29709
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
29709
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29710
29710
|
try {
|
|
29711
29711
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
29712
29712
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29856,7 +29856,7 @@ var Invite = class Invite extends Offer {
|
|
|
29856
29856
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29857
29857
|
*/
|
|
29858
29858
|
static async fromJsonLd(json, options = {}) {
|
|
29859
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
29859
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29860
29860
|
try {
|
|
29861
29861
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
29862
29862
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30005,7 +30005,7 @@ var Join = class Join extends Activity {
|
|
|
30005
30005
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30006
30006
|
*/
|
|
30007
30007
|
static async fromJsonLd(json, options = {}) {
|
|
30008
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
30008
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30009
30009
|
try {
|
|
30010
30010
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
30011
30011
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30154,7 +30154,7 @@ var Leave = class Leave extends Activity {
|
|
|
30154
30154
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30155
30155
|
*/
|
|
30156
30156
|
static async fromJsonLd(json, options = {}) {
|
|
30157
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
30157
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30158
30158
|
try {
|
|
30159
30159
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
30160
30160
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30307,7 +30307,7 @@ var Like = class Like extends Activity {
|
|
|
30307
30307
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30308
30308
|
*/
|
|
30309
30309
|
static async fromJsonLd(json, options = {}) {
|
|
30310
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
30310
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30311
30311
|
try {
|
|
30312
30312
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
30313
30313
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30455,7 +30455,7 @@ var Listen = class Listen extends Activity {
|
|
|
30455
30455
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30456
30456
|
*/
|
|
30457
30457
|
static async fromJsonLd(json, options = {}) {
|
|
30458
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
30458
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30459
30459
|
try {
|
|
30460
30460
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
30461
30461
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30606,7 +30606,7 @@ var Mention = class Mention extends Link {
|
|
|
30606
30606
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30607
30607
|
*/
|
|
30608
30608
|
static async fromJsonLd(json, options = {}) {
|
|
30609
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
30609
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30610
30610
|
try {
|
|
30611
30611
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
30612
30612
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30756,7 +30756,7 @@ var Move = class Move extends Activity {
|
|
|
30756
30756
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30757
30757
|
*/
|
|
30758
30758
|
static async fromJsonLd(json, options = {}) {
|
|
30759
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
30759
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30760
30760
|
try {
|
|
30761
30761
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
30762
30762
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30887,7 +30887,7 @@ var Note = class Note extends Object$1 {
|
|
|
30887
30887
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30888
30888
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30889
30889
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30890
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
30890
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30891
30891
|
let fetchResult;
|
|
30892
30892
|
try {
|
|
30893
30893
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31025,7 +31025,7 @@ var Note = class Note extends Object$1 {
|
|
|
31025
31025
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31026
31026
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31027
31027
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31028
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
31028
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31029
31029
|
let fetchResult;
|
|
31030
31030
|
try {
|
|
31031
31031
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31311,7 +31311,7 @@ var Note = class Note extends Object$1 {
|
|
|
31311
31311
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31312
31312
|
*/
|
|
31313
31313
|
static async fromJsonLd(json, options = {}) {
|
|
31314
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31314
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31315
31315
|
try {
|
|
31316
31316
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
31317
31317
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31484,7 +31484,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
31484
31484
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31485
31485
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31486
31486
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31487
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
31487
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31488
31488
|
let fetchResult;
|
|
31489
31489
|
try {
|
|
31490
31490
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31754,7 +31754,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
31754
31754
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31755
31755
|
*/
|
|
31756
31756
|
static async fromJsonLd(json, options = {}) {
|
|
31757
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31757
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31758
31758
|
try {
|
|
31759
31759
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
31760
31760
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31969,7 +31969,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
31969
31969
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31970
31970
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31971
31971
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31972
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
31972
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31973
31973
|
let fetchResult;
|
|
31974
31974
|
try {
|
|
31975
31975
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32262,7 +32262,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
32262
32262
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32263
32263
|
*/
|
|
32264
32264
|
static async fromJsonLd(json, options = {}) {
|
|
32265
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32265
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32266
32266
|
try {
|
|
32267
32267
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
32268
32268
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32765,7 +32765,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32765
32765
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32766
32766
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32767
32767
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32768
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
32768
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32769
32769
|
let fetchResult;
|
|
32770
32770
|
try {
|
|
32771
32771
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32927,7 +32927,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32927
32927
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32928
32928
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32929
32929
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32930
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
32930
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32931
32931
|
let fetchResult;
|
|
32932
32932
|
try {
|
|
32933
32933
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33107,7 +33107,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33107
33107
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33108
33108
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33109
33109
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33110
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33110
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33111
33111
|
let fetchResult;
|
|
33112
33112
|
try {
|
|
33113
33113
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33249,7 +33249,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33249
33249
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33250
33250
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33251
33251
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33252
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33252
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33253
33253
|
let fetchResult;
|
|
33254
33254
|
try {
|
|
33255
33255
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33388,7 +33388,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33388
33388
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33389
33389
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33390
33390
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33391
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33391
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33392
33392
|
let fetchResult;
|
|
33393
33393
|
try {
|
|
33394
33394
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33512,7 +33512,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33512
33512
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33513
33513
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33514
33514
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33515
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33515
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33516
33516
|
let fetchResult;
|
|
33517
33517
|
try {
|
|
33518
33518
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33639,7 +33639,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33639
33639
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33640
33640
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33641
33641
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33642
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33642
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33643
33643
|
let fetchResult;
|
|
33644
33644
|
try {
|
|
33645
33645
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33764,7 +33764,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33764
33764
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33765
33765
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33766
33766
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33767
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33767
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33768
33768
|
let fetchResult;
|
|
33769
33769
|
try {
|
|
33770
33770
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33887,7 +33887,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33887
33887
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33888
33888
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33889
33889
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33890
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33890
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33891
33891
|
let fetchResult;
|
|
33892
33892
|
try {
|
|
33893
33893
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34010,7 +34010,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34010
34010
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34011
34011
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34012
34012
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34013
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34013
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34014
34014
|
let fetchResult;
|
|
34015
34015
|
try {
|
|
34016
34016
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34172,7 +34172,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34172
34172
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34173
34173
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34174
34174
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34175
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34175
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34176
34176
|
let fetchResult;
|
|
34177
34177
|
try {
|
|
34178
34178
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34338,7 +34338,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34338
34338
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34339
34339
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34340
34340
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34341
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34341
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34342
34342
|
let fetchResult;
|
|
34343
34343
|
try {
|
|
34344
34344
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34552,7 +34552,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34552
34552
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34553
34553
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34554
34554
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34555
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34555
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34556
34556
|
let fetchResult;
|
|
34557
34557
|
try {
|
|
34558
34558
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35237,7 +35237,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35237
35237
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35238
35238
|
*/
|
|
35239
35239
|
static async fromJsonLd(json, options = {}) {
|
|
35240
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
35240
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35241
35241
|
try {
|
|
35242
35242
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
35243
35243
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35837,7 +35837,7 @@ var Page = class Page extends Document {
|
|
|
35837
35837
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35838
35838
|
*/
|
|
35839
35839
|
static async fromJsonLd(json, options = {}) {
|
|
35840
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
35840
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35841
35841
|
try {
|
|
35842
35842
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
35843
35843
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36232,7 +36232,7 @@ var Person = class Person extends Object$1 {
|
|
|
36232
36232
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36233
36233
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36234
36234
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36235
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36235
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36236
36236
|
let fetchResult;
|
|
36237
36237
|
try {
|
|
36238
36238
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36394,7 +36394,7 @@ var Person = class Person extends Object$1 {
|
|
|
36394
36394
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36395
36395
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36396
36396
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36397
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36397
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36398
36398
|
let fetchResult;
|
|
36399
36399
|
try {
|
|
36400
36400
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36574,7 +36574,7 @@ var Person = class Person extends Object$1 {
|
|
|
36574
36574
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36575
36575
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36576
36576
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36577
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36577
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36578
36578
|
let fetchResult;
|
|
36579
36579
|
try {
|
|
36580
36580
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36716,7 +36716,7 @@ var Person = class Person extends Object$1 {
|
|
|
36716
36716
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36717
36717
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36718
36718
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36719
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36719
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36720
36720
|
let fetchResult;
|
|
36721
36721
|
try {
|
|
36722
36722
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36855,7 +36855,7 @@ var Person = class Person extends Object$1 {
|
|
|
36855
36855
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36856
36856
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36857
36857
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36858
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36858
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36859
36859
|
let fetchResult;
|
|
36860
36860
|
try {
|
|
36861
36861
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36979,7 +36979,7 @@ var Person = class Person extends Object$1 {
|
|
|
36979
36979
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36980
36980
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36981
36981
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36982
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
36982
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36983
36983
|
let fetchResult;
|
|
36984
36984
|
try {
|
|
36985
36985
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37106,7 +37106,7 @@ var Person = class Person extends Object$1 {
|
|
|
37106
37106
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37107
37107
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37108
37108
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37109
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
37109
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37110
37110
|
let fetchResult;
|
|
37111
37111
|
try {
|
|
37112
37112
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37231,7 +37231,7 @@ var Person = class Person extends Object$1 {
|
|
|
37231
37231
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37232
37232
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37233
37233
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37234
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
37234
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37235
37235
|
let fetchResult;
|
|
37236
37236
|
try {
|
|
37237
37237
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37354,7 +37354,7 @@ var Person = class Person extends Object$1 {
|
|
|
37354
37354
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37355
37355
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37356
37356
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37357
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
37357
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37358
37358
|
let fetchResult;
|
|
37359
37359
|
try {
|
|
37360
37360
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37477,7 +37477,7 @@ var Person = class Person extends Object$1 {
|
|
|
37477
37477
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37478
37478
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37479
37479
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37480
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
37480
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37481
37481
|
let fetchResult;
|
|
37482
37482
|
try {
|
|
37483
37483
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37639,7 +37639,7 @@ var Person = class Person extends Object$1 {
|
|
|
37639
37639
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37640
37640
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37641
37641
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37642
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
37642
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37643
37643
|
let fetchResult;
|
|
37644
37644
|
try {
|
|
37645
37645
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37805,7 +37805,7 @@ var Person = class Person extends Object$1 {
|
|
|
37805
37805
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37806
37806
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37807
37807
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37808
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
37808
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37809
37809
|
let fetchResult;
|
|
37810
37810
|
try {
|
|
37811
37811
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38019,7 +38019,7 @@ var Person = class Person extends Object$1 {
|
|
|
38019
38019
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38020
38020
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38021
38021
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38022
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38022
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38023
38023
|
let fetchResult;
|
|
38024
38024
|
try {
|
|
38025
38025
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38704,7 +38704,7 @@ var Person = class Person extends Object$1 {
|
|
|
38704
38704
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38705
38705
|
*/
|
|
38706
38706
|
static async fromJsonLd(json, options = {}) {
|
|
38707
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
38707
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38708
38708
|
try {
|
|
38709
38709
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
38710
38710
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39481,7 +39481,7 @@ var Place = class Place extends Object$1 {
|
|
|
39481
39481
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39482
39482
|
*/
|
|
39483
39483
|
static async fromJsonLd(json, options = {}) {
|
|
39484
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
39484
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39485
39485
|
try {
|
|
39486
39486
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
39487
39487
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39682,7 +39682,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
39682
39682
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39683
39683
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39684
39684
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39685
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39685
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39686
39686
|
let fetchResult;
|
|
39687
39687
|
try {
|
|
39688
39688
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39883,7 +39883,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
39883
39883
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39884
39884
|
*/
|
|
39885
39885
|
static async fromJsonLd(json, options = {}) {
|
|
39886
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
39886
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39887
39887
|
try {
|
|
39888
39888
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
39889
39889
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40080,7 +40080,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
40080
40080
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40081
40081
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40082
40082
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40083
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
40083
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40084
40084
|
let fetchResult;
|
|
40085
40085
|
try {
|
|
40086
40086
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40202,7 +40202,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
40202
40202
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40203
40203
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40204
40204
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40205
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
40205
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40206
40206
|
let fetchResult;
|
|
40207
40207
|
try {
|
|
40208
40208
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40340,7 +40340,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
40340
40340
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40341
40341
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40342
40342
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40343
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
40343
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40344
40344
|
let fetchResult;
|
|
40345
40345
|
try {
|
|
40346
40346
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40478,7 +40478,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
40478
40478
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40479
40479
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40480
40480
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40481
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
40481
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40482
40482
|
let fetchResult;
|
|
40483
40483
|
try {
|
|
40484
40484
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40730,7 +40730,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
40730
40730
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40731
40731
|
*/
|
|
40732
40732
|
static async fromJsonLd(json, options = {}) {
|
|
40733
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
40733
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40734
40734
|
try {
|
|
40735
40735
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
40736
40736
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41007,7 +41007,7 @@ var Read = class Read extends Activity {
|
|
|
41007
41007
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41008
41008
|
*/
|
|
41009
41009
|
static async fromJsonLd(json, options = {}) {
|
|
41010
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
41010
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41011
41011
|
try {
|
|
41012
41012
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
41013
41013
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41156,7 +41156,7 @@ var Reject = class Reject extends Activity {
|
|
|
41156
41156
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41157
41157
|
*/
|
|
41158
41158
|
static async fromJsonLd(json, options = {}) {
|
|
41159
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
41159
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41160
41160
|
try {
|
|
41161
41161
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
41162
41162
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41329,7 +41329,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
41329
41329
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41330
41330
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41331
41331
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41332
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
41332
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41333
41333
|
let fetchResult;
|
|
41334
41334
|
try {
|
|
41335
41335
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41452,7 +41452,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
41452
41452
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41453
41453
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41454
41454
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41455
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
41455
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41456
41456
|
let fetchResult;
|
|
41457
41457
|
try {
|
|
41458
41458
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41614,7 +41614,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
41614
41614
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41615
41615
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41616
41616
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41617
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
41617
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41618
41618
|
let fetchResult;
|
|
41619
41619
|
try {
|
|
41620
41620
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41892,7 +41892,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
41892
41892
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41893
41893
|
*/
|
|
41894
41894
|
static async fromJsonLd(json, options = {}) {
|
|
41895
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
41895
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41896
41896
|
try {
|
|
41897
41897
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
41898
41898
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42107,7 +42107,7 @@ var Remove = class Remove extends Activity {
|
|
|
42107
42107
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42108
42108
|
*/
|
|
42109
42109
|
static async fromJsonLd(json, options = {}) {
|
|
42110
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
42110
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42111
42111
|
try {
|
|
42112
42112
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
42113
42113
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42502,7 +42502,7 @@ var Service = class Service extends Object$1 {
|
|
|
42502
42502
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42503
42503
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42504
42504
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42505
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42505
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42506
42506
|
let fetchResult;
|
|
42507
42507
|
try {
|
|
42508
42508
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42664,7 +42664,7 @@ var Service = class Service extends Object$1 {
|
|
|
42664
42664
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42665
42665
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42666
42666
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42667
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42667
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42668
42668
|
let fetchResult;
|
|
42669
42669
|
try {
|
|
42670
42670
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42844,7 +42844,7 @@ var Service = class Service extends Object$1 {
|
|
|
42844
42844
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42845
42845
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42846
42846
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42847
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42847
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42848
42848
|
let fetchResult;
|
|
42849
42849
|
try {
|
|
42850
42850
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42986,7 +42986,7 @@ var Service = class Service extends Object$1 {
|
|
|
42986
42986
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42987
42987
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42988
42988
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42989
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42989
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42990
42990
|
let fetchResult;
|
|
42991
42991
|
try {
|
|
42992
42992
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43125,7 +43125,7 @@ var Service = class Service extends Object$1 {
|
|
|
43125
43125
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43126
43126
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43127
43127
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43128
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
43128
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43129
43129
|
let fetchResult;
|
|
43130
43130
|
try {
|
|
43131
43131
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43249,7 +43249,7 @@ var Service = class Service extends Object$1 {
|
|
|
43249
43249
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43250
43250
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43251
43251
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43252
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
43252
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43253
43253
|
let fetchResult;
|
|
43254
43254
|
try {
|
|
43255
43255
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43376,7 +43376,7 @@ var Service = class Service extends Object$1 {
|
|
|
43376
43376
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43377
43377
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43378
43378
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43379
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
43379
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43380
43380
|
let fetchResult;
|
|
43381
43381
|
try {
|
|
43382
43382
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43501,7 +43501,7 @@ var Service = class Service extends Object$1 {
|
|
|
43501
43501
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43502
43502
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43503
43503
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43504
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
43504
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43505
43505
|
let fetchResult;
|
|
43506
43506
|
try {
|
|
43507
43507
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43624,7 +43624,7 @@ var Service = class Service extends Object$1 {
|
|
|
43624
43624
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43625
43625
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43626
43626
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43627
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
43627
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43628
43628
|
let fetchResult;
|
|
43629
43629
|
try {
|
|
43630
43630
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43747,7 +43747,7 @@ var Service = class Service extends Object$1 {
|
|
|
43747
43747
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43748
43748
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43749
43749
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43750
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
43750
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43751
43751
|
let fetchResult;
|
|
43752
43752
|
try {
|
|
43753
43753
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43909,7 +43909,7 @@ var Service = class Service extends Object$1 {
|
|
|
43909
43909
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43910
43910
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43911
43911
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43912
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
43912
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43913
43913
|
let fetchResult;
|
|
43914
43914
|
try {
|
|
43915
43915
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44075,7 +44075,7 @@ var Service = class Service extends Object$1 {
|
|
|
44075
44075
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44076
44076
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44077
44077
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44078
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44078
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44079
44079
|
let fetchResult;
|
|
44080
44080
|
try {
|
|
44081
44081
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44289,7 +44289,7 @@ var Service = class Service extends Object$1 {
|
|
|
44289
44289
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44290
44290
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44291
44291
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44292
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44292
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44293
44293
|
let fetchResult;
|
|
44294
44294
|
try {
|
|
44295
44295
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44974,7 +44974,7 @@ var Service = class Service extends Object$1 {
|
|
|
44974
44974
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44975
44975
|
*/
|
|
44976
44976
|
static async fromJsonLd(json, options = {}) {
|
|
44977
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
44977
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44978
44978
|
try {
|
|
44979
44979
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
44980
44980
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45656,7 +45656,7 @@ var Source = class {
|
|
|
45656
45656
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45657
45657
|
*/
|
|
45658
45658
|
static async fromJsonLd(json, options = {}) {
|
|
45659
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
45659
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45660
45660
|
try {
|
|
45661
45661
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
45662
45662
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45834,7 +45834,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
45834
45834
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45835
45835
|
*/
|
|
45836
45836
|
static async fromJsonLd(json, options = {}) {
|
|
45837
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
45837
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45838
45838
|
try {
|
|
45839
45839
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
45840
45840
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45983,7 +45983,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
45983
45983
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45984
45984
|
*/
|
|
45985
45985
|
static async fromJsonLd(json, options = {}) {
|
|
45986
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
45986
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45987
45987
|
try {
|
|
45988
45988
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
45989
45989
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46221,7 +46221,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
46221
46221
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46222
46222
|
*/
|
|
46223
46223
|
static async fromJsonLd(json, options = {}) {
|
|
46224
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
46224
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46225
46225
|
try {
|
|
46226
46226
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
46227
46227
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46407,7 +46407,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
46407
46407
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46408
46408
|
*/
|
|
46409
46409
|
static async fromJsonLd(json, options = {}) {
|
|
46410
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
46410
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46411
46411
|
try {
|
|
46412
46412
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
46413
46413
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46570,7 +46570,7 @@ var Undo = class Undo extends Activity {
|
|
|
46570
46570
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46571
46571
|
*/
|
|
46572
46572
|
static async fromJsonLd(json, options = {}) {
|
|
46573
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
46573
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46574
46574
|
try {
|
|
46575
46575
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
46576
46576
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46781,7 +46781,7 @@ var Update = class Update extends Activity {
|
|
|
46781
46781
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46782
46782
|
*/
|
|
46783
46783
|
static async fromJsonLd(json, options = {}) {
|
|
46784
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
46784
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46785
46785
|
try {
|
|
46786
46786
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
46787
46787
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46943,7 +46943,7 @@ var Video = class Video extends Document {
|
|
|
46943
46943
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46944
46944
|
*/
|
|
46945
46945
|
static async fromJsonLd(json, options = {}) {
|
|
46946
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
46946
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46947
46947
|
try {
|
|
46948
46948
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
46949
46949
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -47091,7 +47091,7 @@ var View = class View extends Activity {
|
|
|
47091
47091
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47092
47092
|
*/
|
|
47093
47093
|
static async fromJsonLd(json, options = {}) {
|
|
47094
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
47094
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.3").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47095
47095
|
try {
|
|
47096
47096
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
47097
47097
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|