@fedify/vocab 2.3.0 → 2.3.2-dev.1556
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 +219 -219
- package/dist/mod.js +219 -219
- package/dist-tests/{actor-DC4o9QsA.mjs → actor-B3yhEluK.mjs} +2 -2
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-DPq6zc4j.mjs → vocab-C9xeg7Od.mjs} +218 -218
- 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.3.
|
|
12
|
+
var version = "2.3.2-dev.1556+3e14f2d7";
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/type.ts
|
|
15
15
|
function getTypeId(object) {
|
|
@@ -711,7 +711,7 @@ var Object$1 = class Object$1 {
|
|
|
711
711
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
712
712
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
713
713
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
714
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
714
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
715
715
|
let fetchResult;
|
|
716
716
|
try {
|
|
717
717
|
fetchResult = await documentLoader(url.href);
|
|
@@ -860,7 +860,7 @@ var Object$1 = class Object$1 {
|
|
|
860
860
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
861
861
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
862
862
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
863
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
863
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
864
864
|
let fetchResult;
|
|
865
865
|
try {
|
|
866
866
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1078,7 +1078,7 @@ var Object$1 = class Object$1 {
|
|
|
1078
1078
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1079
1079
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1080
1080
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1081
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1081
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1082
1082
|
let fetchResult;
|
|
1083
1083
|
try {
|
|
1084
1084
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1268,7 +1268,7 @@ var Object$1 = class Object$1 {
|
|
|
1268
1268
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1269
1269
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1270
1270
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1271
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1271
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1272
1272
|
let fetchResult;
|
|
1273
1273
|
try {
|
|
1274
1274
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1433,7 +1433,7 @@ var Object$1 = class Object$1 {
|
|
|
1433
1433
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1434
1434
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1435
1435
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1436
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1436
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1437
1437
|
let fetchResult;
|
|
1438
1438
|
try {
|
|
1439
1439
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1566,7 +1566,7 @@ var Object$1 = class Object$1 {
|
|
|
1566
1566
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1567
1567
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1568
1568
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1569
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1569
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1570
1570
|
let fetchResult;
|
|
1571
1571
|
try {
|
|
1572
1572
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1754,7 +1754,7 @@ var Object$1 = class Object$1 {
|
|
|
1754
1754
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1755
1755
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1756
1756
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1757
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1757
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1758
1758
|
let fetchResult;
|
|
1759
1759
|
try {
|
|
1760
1760
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1942,7 +1942,7 @@ var Object$1 = class Object$1 {
|
|
|
1942
1942
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1943
1943
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1944
1944
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1945
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
1945
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1946
1946
|
let fetchResult;
|
|
1947
1947
|
try {
|
|
1948
1948
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2122,7 +2122,7 @@ var Object$1 = class Object$1 {
|
|
|
2122
2122
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2123
2123
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2124
2124
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2125
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2125
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2126
2126
|
let fetchResult;
|
|
2127
2127
|
try {
|
|
2128
2128
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2302,7 +2302,7 @@ var Object$1 = class Object$1 {
|
|
|
2302
2302
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2303
2303
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2304
2304
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2305
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2305
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2306
2306
|
let fetchResult;
|
|
2307
2307
|
try {
|
|
2308
2308
|
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.3.
|
|
2490
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2491
2491
|
let fetchResult;
|
|
2492
2492
|
try {
|
|
2493
2493
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2611,7 +2611,7 @@ var Object$1 = class Object$1 {
|
|
|
2611
2611
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2612
2612
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2613
2613
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2614
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2614
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2615
2615
|
let fetchResult;
|
|
2616
2616
|
try {
|
|
2617
2617
|
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.3.
|
|
2744
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2745
2745
|
let fetchResult;
|
|
2746
2746
|
try {
|
|
2747
2747
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2871,7 +2871,7 @@ var Object$1 = class Object$1 {
|
|
|
2871
2871
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2872
2872
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2873
2873
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2874
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
2874
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2875
2875
|
let fetchResult;
|
|
2876
2876
|
try {
|
|
2877
2877
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3019,7 +3019,7 @@ var Object$1 = class Object$1 {
|
|
|
3019
3019
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3020
3020
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3021
3021
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3022
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3022
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3023
3023
|
let fetchResult;
|
|
3024
3024
|
try {
|
|
3025
3025
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3174,7 +3174,7 @@ var Object$1 = class Object$1 {
|
|
|
3174
3174
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3175
3175
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3176
3176
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3177
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3177
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3178
3178
|
let fetchResult;
|
|
3179
3179
|
try {
|
|
3180
3180
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3344,7 +3344,7 @@ var Object$1 = class Object$1 {
|
|
|
3344
3344
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3345
3345
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3346
3346
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3347
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3347
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3348
3348
|
let fetchResult;
|
|
3349
3349
|
try {
|
|
3350
3350
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3514,7 +3514,7 @@ var Object$1 = class Object$1 {
|
|
|
3514
3514
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3515
3515
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3516
3516
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3517
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3517
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3518
3518
|
let fetchResult;
|
|
3519
3519
|
try {
|
|
3520
3520
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3684,7 +3684,7 @@ var Object$1 = class Object$1 {
|
|
|
3684
3684
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3685
3685
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3686
3686
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3687
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3687
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3688
3688
|
let fetchResult;
|
|
3689
3689
|
try {
|
|
3690
3690
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3891,7 +3891,7 @@ var Object$1 = class Object$1 {
|
|
|
3891
3891
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3892
3892
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3893
3893
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3894
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
3894
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3895
3895
|
let fetchResult;
|
|
3896
3896
|
try {
|
|
3897
3897
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4084,7 +4084,7 @@ var Object$1 = class Object$1 {
|
|
|
4084
4084
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4085
4085
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4086
4086
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4087
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4087
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4088
4088
|
let fetchResult;
|
|
4089
4089
|
try {
|
|
4090
4090
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4208,7 +4208,7 @@ var Object$1 = class Object$1 {
|
|
|
4208
4208
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4209
4209
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4210
4210
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4211
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4211
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4212
4212
|
let fetchResult;
|
|
4213
4213
|
try {
|
|
4214
4214
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4332,7 +4332,7 @@ var Object$1 = class Object$1 {
|
|
|
4332
4332
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4333
4333
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4334
4334
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4335
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
4335
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4336
4336
|
let fetchResult;
|
|
4337
4337
|
try {
|
|
4338
4338
|
fetchResult = await documentLoader(url.href);
|
|
@@ -5162,7 +5162,7 @@ var Object$1 = class Object$1 {
|
|
|
5162
5162
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5163
5163
|
*/
|
|
5164
5164
|
static async fromJsonLd(json, options = {}) {
|
|
5165
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
5165
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5166
5166
|
try {
|
|
5167
5167
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
5168
5168
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6678,7 +6678,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
6678
6678
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6679
6679
|
*/
|
|
6680
6680
|
static async fromJsonLd(json, options = {}) {
|
|
6681
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
6681
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6682
6682
|
try {
|
|
6683
6683
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
6684
6684
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6813,7 +6813,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6813
6813
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6814
6814
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6815
6815
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6816
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
6816
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6817
6817
|
let fetchResult;
|
|
6818
6818
|
try {
|
|
6819
6819
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6954,7 +6954,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6954
6954
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6955
6955
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6956
6956
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6957
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
6957
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6958
6958
|
let fetchResult;
|
|
6959
6959
|
try {
|
|
6960
6960
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7241,7 +7241,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7241
7241
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7242
7242
|
*/
|
|
7243
7243
|
static async fromJsonLd(json, options = {}) {
|
|
7244
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
7244
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7245
7245
|
try {
|
|
7246
7246
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
7247
7247
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7569,7 +7569,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7569
7569
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7570
7570
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7571
7571
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7572
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
7572
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7573
7573
|
let fetchResult;
|
|
7574
7574
|
try {
|
|
7575
7575
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7787,7 +7787,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7787
7787
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7788
7788
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7789
7789
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7790
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
7790
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7791
7791
|
let fetchResult;
|
|
7792
7792
|
try {
|
|
7793
7793
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7959,7 +7959,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7959
7959
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7960
7960
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7961
7961
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7962
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
7962
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7963
7963
|
let fetchResult;
|
|
7964
7964
|
try {
|
|
7965
7965
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8137,7 +8137,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8137
8137
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8138
8138
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8139
8139
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8140
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8140
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8141
8141
|
let fetchResult;
|
|
8142
8142
|
try {
|
|
8143
8143
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8309,7 +8309,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8309
8309
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8310
8310
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8311
8311
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8312
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8312
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8313
8313
|
let fetchResult;
|
|
8314
8314
|
try {
|
|
8315
8315
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8483,7 +8483,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8483
8483
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8484
8484
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8485
8485
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8486
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
8486
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8487
8487
|
let fetchResult;
|
|
8488
8488
|
try {
|
|
8489
8489
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8740,7 +8740,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8740
8740
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8741
8741
|
*/
|
|
8742
8742
|
static async fromJsonLd(json, options = {}) {
|
|
8743
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
8743
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8744
8744
|
try {
|
|
8745
8745
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
8746
8746
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9080,7 +9080,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
9080
9080
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9081
9081
|
*/
|
|
9082
9082
|
static async fromJsonLd(json, options = {}) {
|
|
9083
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
9083
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9084
9084
|
try {
|
|
9085
9085
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
9086
9086
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9333,7 +9333,7 @@ var PropertyValue = class {
|
|
|
9333
9333
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9334
9334
|
*/
|
|
9335
9335
|
static async fromJsonLd(json, options = {}) {
|
|
9336
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
9336
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9337
9337
|
try {
|
|
9338
9338
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
9339
9339
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9605,7 +9605,7 @@ var Measure = class {
|
|
|
9605
9605
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9606
9606
|
*/
|
|
9607
9607
|
static async fromJsonLd(json, options = {}) {
|
|
9608
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
9608
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9609
9609
|
try {
|
|
9610
9610
|
const object = await this.__fromJsonLd__Measure__(json, span, options);
|
|
9611
9611
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9766,7 +9766,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9766
9766
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9767
9767
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9768
9768
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9769
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
9769
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9770
9770
|
let fetchResult;
|
|
9771
9771
|
try {
|
|
9772
9772
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9890,7 +9890,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9890
9890
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9891
9891
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9892
9892
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9893
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
9893
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9894
9894
|
let fetchResult;
|
|
9895
9895
|
try {
|
|
9896
9896
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10109,7 +10109,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10109
10109
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10110
10110
|
*/
|
|
10111
10111
|
static async fromJsonLd(json, options = {}) {
|
|
10112
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
10112
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10113
10113
|
try {
|
|
10114
10114
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
10115
10115
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10313,7 +10313,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
10313
10313
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10314
10314
|
*/
|
|
10315
10315
|
static async fromJsonLd(json, options = {}) {
|
|
10316
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
10316
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10317
10317
|
try {
|
|
10318
10318
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
10319
10319
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10584,7 +10584,7 @@ var InteractionPolicy = 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.3.
|
|
10587
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10588
10588
|
try {
|
|
10589
10589
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
10590
10590
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10916,7 +10916,7 @@ var InteractionRule = class {
|
|
|
10916
10916
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10917
10917
|
*/
|
|
10918
10918
|
static async fromJsonLd(json, options = {}) {
|
|
10919
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
10919
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10920
10920
|
try {
|
|
10921
10921
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
10922
10922
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11078,7 +11078,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11078
11078
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11079
11079
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11080
11080
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11081
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
11081
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11082
11082
|
let fetchResult;
|
|
11083
11083
|
try {
|
|
11084
11084
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11202,7 +11202,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11202
11202
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11203
11203
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11204
11204
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11205
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
11205
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11206
11206
|
let fetchResult;
|
|
11207
11207
|
try {
|
|
11208
11208
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11421,7 +11421,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11421
11421
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11422
11422
|
*/
|
|
11423
11423
|
static async fromJsonLd(json, options = {}) {
|
|
11424
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
11424
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11425
11425
|
try {
|
|
11426
11426
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
11427
11427
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11624,7 +11624,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
11624
11624
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11625
11625
|
*/
|
|
11626
11626
|
static async fromJsonLd(json, options = {}) {
|
|
11627
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
11627
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11628
11628
|
try {
|
|
11629
11629
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
11630
11630
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11756,7 +11756,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11756
11756
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11757
11757
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11758
11758
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11759
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
11759
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11760
11760
|
let fetchResult;
|
|
11761
11761
|
try {
|
|
11762
11762
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11880,7 +11880,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11880
11880
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11881
11881
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11882
11882
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11883
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
11883
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11884
11884
|
let fetchResult;
|
|
11885
11885
|
try {
|
|
11886
11886
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12099,7 +12099,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12099
12099
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12100
12100
|
*/
|
|
12101
12101
|
static async fromJsonLd(json, options = {}) {
|
|
12102
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
12102
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12103
12103
|
try {
|
|
12104
12104
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
12105
12105
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12302,7 +12302,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
12302
12302
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12303
12303
|
*/
|
|
12304
12304
|
static async fromJsonLd(json, options = {}) {
|
|
12305
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
12305
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12306
12306
|
try {
|
|
12307
12307
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
12308
12308
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12434,7 +12434,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
12434
12434
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12435
12435
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12436
12436
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12437
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
12437
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12438
12438
|
let fetchResult;
|
|
12439
12439
|
try {
|
|
12440
12440
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12557,7 +12557,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
12557
12557
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12558
12558
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12559
12559
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12560
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
12560
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12561
12561
|
let fetchResult;
|
|
12562
12562
|
try {
|
|
12563
12563
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12778,7 +12778,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
12778
12778
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12779
12779
|
*/
|
|
12780
12780
|
static async fromJsonLd(json, options = {}) {
|
|
12781
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
12781
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12782
12782
|
try {
|
|
12783
12783
|
const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
|
|
12784
12784
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13011,7 +13011,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
|
|
|
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.3.
|
|
13014
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13015
13015
|
try {
|
|
13016
13016
|
const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
|
|
13017
13017
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13224,7 +13224,7 @@ var DidService = class {
|
|
|
13224
13224
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13225
13225
|
*/
|
|
13226
13226
|
static async fromJsonLd(json, options = {}) {
|
|
13227
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
13227
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13228
13228
|
try {
|
|
13229
13229
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
13230
13230
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13381,7 +13381,7 @@ var Export = class Export extends DidService {
|
|
|
13381
13381
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13382
13382
|
*/
|
|
13383
13383
|
static async fromJsonLd(json, options = {}) {
|
|
13384
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
13384
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13385
13385
|
try {
|
|
13386
13386
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
13387
13387
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13561,7 +13561,7 @@ var DataIntegrityProof = class {
|
|
|
13561
13561
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13562
13562
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13563
13563
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13564
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
13564
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13565
13565
|
let fetchResult;
|
|
13566
13566
|
try {
|
|
13567
13567
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13780,7 +13780,7 @@ var DataIntegrityProof = class {
|
|
|
13780
13780
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13781
13781
|
*/
|
|
13782
13782
|
static async fromJsonLd(json, options = {}) {
|
|
13783
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
13783
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13784
13784
|
try {
|
|
13785
13785
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
13786
13786
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14012,7 +14012,7 @@ var CryptographicKey = class {
|
|
|
14012
14012
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14013
14013
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14014
14014
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14015
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
14015
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14016
14016
|
let fetchResult;
|
|
14017
14017
|
try {
|
|
14018
14018
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14277,7 +14277,7 @@ var CryptographicKey = class {
|
|
|
14277
14277
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14278
14278
|
*/
|
|
14279
14279
|
static async fromJsonLd(json, options = {}) {
|
|
14280
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
14280
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14281
14281
|
try {
|
|
14282
14282
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
14283
14283
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14482,7 +14482,7 @@ var Multikey = class {
|
|
|
14482
14482
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14483
14483
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14484
14484
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14485
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
14485
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14486
14486
|
let fetchResult;
|
|
14487
14487
|
try {
|
|
14488
14488
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14753,7 +14753,7 @@ var Multikey = class {
|
|
|
14753
14753
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14754
14754
|
*/
|
|
14755
14755
|
static async fromJsonLd(json, options = {}) {
|
|
14756
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
14756
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14757
14757
|
try {
|
|
14758
14758
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
14759
14759
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15081,7 +15081,7 @@ var Agreement = class Agreement extends Object$1 {
|
|
|
15081
15081
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15082
15082
|
*/
|
|
15083
15083
|
static async fromJsonLd(json, options = {}) {
|
|
15084
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
15084
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15085
15085
|
try {
|
|
15086
15086
|
const object = await this.__fromJsonLd__Agreement__(json, span, options);
|
|
15087
15087
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15382,7 +15382,7 @@ var Commitment = class {
|
|
|
15382
15382
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15383
15383
|
*/
|
|
15384
15384
|
static async fromJsonLd(json, options = {}) {
|
|
15385
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
15385
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15386
15386
|
try {
|
|
15387
15387
|
const object = await this.__fromJsonLd__Commitment__(json, span, options);
|
|
15388
15388
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15761,7 +15761,7 @@ var Intent = class {
|
|
|
15761
15761
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15762
15762
|
*/
|
|
15763
15763
|
static async fromJsonLd(json, options = {}) {
|
|
15764
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
15764
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15765
15765
|
try {
|
|
15766
15766
|
const object = await this.__fromJsonLd__Intent__(json, span, options);
|
|
15767
15767
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16179,7 +16179,7 @@ var Proposal = class Proposal extends Object$1 {
|
|
|
16179
16179
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16180
16180
|
*/
|
|
16181
16181
|
static async fromJsonLd(json, options = {}) {
|
|
16182
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
16182
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16183
16183
|
try {
|
|
16184
16184
|
const object = await this.__fromJsonLd__Proposal__(json, span, options);
|
|
16185
16185
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16393,7 +16393,7 @@ var Accept = class Accept extends Activity {
|
|
|
16393
16393
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16394
16394
|
*/
|
|
16395
16395
|
static async fromJsonLd(json, options = {}) {
|
|
16396
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
16396
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16397
16397
|
try {
|
|
16398
16398
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
16399
16399
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16546,7 +16546,7 @@ var Add = class Add extends Activity {
|
|
|
16546
16546
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16547
16547
|
*/
|
|
16548
16548
|
static async fromJsonLd(json, options = {}) {
|
|
16549
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
16549
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16550
16550
|
try {
|
|
16551
16551
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
16552
16552
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16726,7 +16726,7 @@ var Announce = class Announce extends Activity {
|
|
|
16726
16726
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16727
16727
|
*/
|
|
16728
16728
|
static async fromJsonLd(json, options = {}) {
|
|
16729
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
16729
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16730
16730
|
try {
|
|
16731
16731
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
16732
16732
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17122,7 +17122,7 @@ var Application = class Application extends Object$1 {
|
|
|
17122
17122
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17123
17123
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17124
17124
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17125
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
17125
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17126
17126
|
let fetchResult;
|
|
17127
17127
|
try {
|
|
17128
17128
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17290,7 +17290,7 @@ var Application = class Application extends Object$1 {
|
|
|
17290
17290
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17291
17291
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17292
17292
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17293
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
17293
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17294
17294
|
let fetchResult;
|
|
17295
17295
|
try {
|
|
17296
17296
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17476,7 +17476,7 @@ var Application = class Application extends Object$1 {
|
|
|
17476
17476
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17477
17477
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17478
17478
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17479
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
17479
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17480
17480
|
let fetchResult;
|
|
17481
17481
|
try {
|
|
17482
17482
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17621,7 +17621,7 @@ var Application = class Application extends Object$1 {
|
|
|
17621
17621
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17622
17622
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17623
17623
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17624
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
17624
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17625
17625
|
let fetchResult;
|
|
17626
17626
|
try {
|
|
17627
17627
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17763,7 +17763,7 @@ var Application = class Application extends Object$1 {
|
|
|
17763
17763
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17764
17764
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17765
17765
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17766
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
17766
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17767
17767
|
let fetchResult;
|
|
17768
17768
|
try {
|
|
17769
17769
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17890,7 +17890,7 @@ var Application = class Application extends Object$1 {
|
|
|
17890
17890
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17891
17891
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17892
17892
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17893
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
17893
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17894
17894
|
let fetchResult;
|
|
17895
17895
|
try {
|
|
17896
17896
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18020,7 +18020,7 @@ var Application = class Application extends Object$1 {
|
|
|
18020
18020
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18021
18021
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18022
18022
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18023
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18023
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18024
18024
|
let fetchResult;
|
|
18025
18025
|
try {
|
|
18026
18026
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18148,7 +18148,7 @@ var Application = class Application extends Object$1 {
|
|
|
18148
18148
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18149
18149
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18150
18150
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18151
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18151
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18152
18152
|
let fetchResult;
|
|
18153
18153
|
try {
|
|
18154
18154
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18274,7 +18274,7 @@ var Application = class Application extends Object$1 {
|
|
|
18274
18274
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18275
18275
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18276
18276
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18277
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18277
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18278
18278
|
let fetchResult;
|
|
18279
18279
|
try {
|
|
18280
18280
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18400,7 +18400,7 @@ var Application = class Application extends Object$1 {
|
|
|
18400
18400
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18401
18401
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18402
18402
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18403
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18403
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18404
18404
|
let fetchResult;
|
|
18405
18405
|
try {
|
|
18406
18406
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18565,7 +18565,7 @@ var Application = class Application extends Object$1 {
|
|
|
18565
18565
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18566
18566
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18567
18567
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18568
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18568
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18569
18569
|
let fetchResult;
|
|
18570
18570
|
try {
|
|
18571
18571
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18734,7 +18734,7 @@ var Application = class Application extends Object$1 {
|
|
|
18734
18734
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18735
18735
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18736
18736
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18737
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18737
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18738
18738
|
let fetchResult;
|
|
18739
18739
|
try {
|
|
18740
18740
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18954,7 +18954,7 @@ var Application = class Application extends Object$1 {
|
|
|
18954
18954
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18955
18955
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18956
18956
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18957
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
18957
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18958
18958
|
let fetchResult;
|
|
18959
18959
|
try {
|
|
18960
18960
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19645,7 +19645,7 @@ var Application = class Application extends Object$1 {
|
|
|
19645
19645
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19646
19646
|
*/
|
|
19647
19647
|
static async fromJsonLd(json, options = {}) {
|
|
19648
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
19648
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19649
19649
|
try {
|
|
19650
19650
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
19651
19651
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20247,7 +20247,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
20247
20247
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20248
20248
|
*/
|
|
20249
20249
|
static async fromJsonLd(json, options = {}) {
|
|
20250
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
20250
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20251
20251
|
try {
|
|
20252
20252
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
20253
20253
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20401,7 +20401,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
20401
20401
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20402
20402
|
*/
|
|
20403
20403
|
static async fromJsonLd(json, options = {}) {
|
|
20404
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
20404
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20405
20405
|
try {
|
|
20406
20406
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
20407
20407
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20532,7 +20532,7 @@ var Article = class Article extends Object$1 {
|
|
|
20532
20532
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20533
20533
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20534
20534
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20535
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
20535
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20536
20536
|
let fetchResult;
|
|
20537
20537
|
try {
|
|
20538
20538
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20673,7 +20673,7 @@ var Article = class Article extends Object$1 {
|
|
|
20673
20673
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20674
20674
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20675
20675
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20676
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
20676
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20677
20677
|
let fetchResult;
|
|
20678
20678
|
try {
|
|
20679
20679
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20962,7 +20962,7 @@ var Article = class Article extends Object$1 {
|
|
|
20962
20962
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20963
20963
|
*/
|
|
20964
20964
|
static async fromJsonLd(json, options = {}) {
|
|
20965
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
20965
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20966
20966
|
try {
|
|
20967
20967
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
20968
20968
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21246,7 +21246,7 @@ var Document = class Document extends Object$1 {
|
|
|
21246
21246
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21247
21247
|
*/
|
|
21248
21248
|
static async fromJsonLd(json, options = {}) {
|
|
21249
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
21249
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21250
21250
|
try {
|
|
21251
21251
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
21252
21252
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21442,7 +21442,7 @@ var Audio = class Audio extends Document {
|
|
|
21442
21442
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21443
21443
|
*/
|
|
21444
21444
|
static async fromJsonLd(json, options = {}) {
|
|
21445
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
21445
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21446
21446
|
try {
|
|
21447
21447
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
21448
21448
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21592,7 +21592,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
21592
21592
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21593
21593
|
*/
|
|
21594
21594
|
static async fromJsonLd(json, options = {}) {
|
|
21595
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
21595
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21596
21596
|
try {
|
|
21597
21597
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
21598
21598
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21745,7 +21745,7 @@ var Block = class Block extends Ignore {
|
|
|
21745
21745
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21746
21746
|
*/
|
|
21747
21747
|
static async fromJsonLd(json, options = {}) {
|
|
21748
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
21748
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21749
21749
|
try {
|
|
21750
21750
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
21751
21751
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22010,7 +22010,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22010
22010
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22011
22011
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22012
22012
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22013
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
22013
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22014
22014
|
let fetchResult;
|
|
22015
22015
|
try {
|
|
22016
22016
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22134,7 +22134,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22134
22134
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22135
22135
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22136
22136
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22137
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
22137
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22138
22138
|
let fetchResult;
|
|
22139
22139
|
try {
|
|
22140
22140
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22258,7 +22258,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22258
22258
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22259
22259
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22260
22260
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22261
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
22261
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22262
22262
|
let fetchResult;
|
|
22263
22263
|
try {
|
|
22264
22264
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22382,7 +22382,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22382
22382
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22383
22383
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22384
22384
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22385
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
22385
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22386
22386
|
let fetchResult;
|
|
22387
22387
|
try {
|
|
22388
22388
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22516,7 +22516,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22516
22516
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22517
22517
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22518
22518
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22519
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
22519
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22520
22520
|
let fetchResult;
|
|
22521
22521
|
try {
|
|
22522
22522
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22639,7 +22639,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22639
22639
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22640
22640
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22641
22641
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22642
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
22642
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22643
22643
|
let fetchResult;
|
|
22644
22644
|
try {
|
|
22645
22645
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22762,7 +22762,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22762
22762
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22763
22763
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22764
22764
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22765
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
22765
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22766
22766
|
let fetchResult;
|
|
22767
22767
|
try {
|
|
22768
22768
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22885,7 +22885,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22885
22885
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22886
22886
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22887
22887
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22888
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
22888
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22889
22889
|
let fetchResult;
|
|
22890
22890
|
try {
|
|
22891
22891
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23008,7 +23008,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23008
23008
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23009
23009
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23010
23010
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23011
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23011
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23012
23012
|
let fetchResult;
|
|
23013
23013
|
try {
|
|
23014
23014
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23131,7 +23131,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23131
23131
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23132
23132
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23133
23133
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23134
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23134
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23135
23135
|
let fetchResult;
|
|
23136
23136
|
try {
|
|
23137
23137
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23254,7 +23254,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23254
23254
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23255
23255
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23256
23256
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23257
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23257
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23258
23258
|
let fetchResult;
|
|
23259
23259
|
try {
|
|
23260
23260
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23377,7 +23377,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23377
23377
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23378
23378
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23379
23379
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23380
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
23380
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23381
23381
|
let fetchResult;
|
|
23382
23382
|
try {
|
|
23383
23383
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23829,7 +23829,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23829
23829
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23830
23830
|
*/
|
|
23831
23831
|
static async fromJsonLd(json, options = {}) {
|
|
23832
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
23832
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23833
23833
|
try {
|
|
23834
23834
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
23835
23835
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24323,7 +24323,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
24323
24323
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24324
24324
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24325
24325
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24326
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24326
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24327
24327
|
let fetchResult;
|
|
24328
24328
|
try {
|
|
24329
24329
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24447,7 +24447,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
24447
24447
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24448
24448
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24449
24449
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24450
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24450
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24451
24451
|
let fetchResult;
|
|
24452
24452
|
try {
|
|
24453
24453
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24570,7 +24570,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
24570
24570
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24571
24571
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24572
24572
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24573
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
24573
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24574
24574
|
let fetchResult;
|
|
24575
24575
|
try {
|
|
24576
24576
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24859,7 +24859,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
24859
24859
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24860
24860
|
*/
|
|
24861
24861
|
static async fromJsonLd(json, options = {}) {
|
|
24862
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
24862
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24863
24863
|
try {
|
|
24864
24864
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
24865
24865
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25106,7 +25106,7 @@ var Create = class Create extends Activity {
|
|
|
25106
25106
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25107
25107
|
*/
|
|
25108
25108
|
static async fromJsonLd(json, options = {}) {
|
|
25109
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
25109
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25110
25110
|
try {
|
|
25111
25111
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
25112
25112
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25282,7 +25282,7 @@ var Delete = class Delete extends Activity {
|
|
|
25282
25282
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25283
25283
|
*/
|
|
25284
25284
|
static async fromJsonLd(json, options = {}) {
|
|
25285
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
25285
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25286
25286
|
try {
|
|
25287
25287
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
25288
25288
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25435,7 +25435,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
25435
25435
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25436
25436
|
*/
|
|
25437
25437
|
static async fromJsonLd(json, options = {}) {
|
|
25438
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
25438
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25439
25439
|
try {
|
|
25440
25440
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
25441
25441
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25787,7 +25787,7 @@ var Endpoints = class {
|
|
|
25787
25787
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25788
25788
|
*/
|
|
25789
25789
|
static async fromJsonLd(json, options = {}) {
|
|
25790
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
25790
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25791
25791
|
try {
|
|
25792
25792
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
25793
25793
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26034,7 +26034,7 @@ var Event = class Event extends Object$1 {
|
|
|
26034
26034
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26035
26035
|
*/
|
|
26036
26036
|
static async fromJsonLd(json, options = {}) {
|
|
26037
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
26037
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26038
26038
|
try {
|
|
26039
26039
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
26040
26040
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26185,7 +26185,7 @@ var Flag = class Flag extends Activity {
|
|
|
26185
26185
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26186
26186
|
*/
|
|
26187
26187
|
static async fromJsonLd(json, options = {}) {
|
|
26188
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
26188
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26189
26189
|
try {
|
|
26190
26190
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
26191
26191
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26340,7 +26340,7 @@ var Follow = class Follow extends Activity {
|
|
|
26340
26340
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26341
26341
|
*/
|
|
26342
26342
|
static async fromJsonLd(json, options = {}) {
|
|
26343
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
26343
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26344
26344
|
try {
|
|
26345
26345
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
26346
26346
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26736,7 +26736,7 @@ var Group = class Group extends Object$1 {
|
|
|
26736
26736
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26737
26737
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26738
26738
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26739
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
26739
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26740
26740
|
let fetchResult;
|
|
26741
26741
|
try {
|
|
26742
26742
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26904,7 +26904,7 @@ var Group = class Group extends Object$1 {
|
|
|
26904
26904
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26905
26905
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26906
26906
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26907
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
26907
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26908
26908
|
let fetchResult;
|
|
26909
26909
|
try {
|
|
26910
26910
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27090,7 +27090,7 @@ var Group = class Group extends Object$1 {
|
|
|
27090
27090
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27091
27091
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27092
27092
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27093
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
27093
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27094
27094
|
let fetchResult;
|
|
27095
27095
|
try {
|
|
27096
27096
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27235,7 +27235,7 @@ var Group = class Group extends Object$1 {
|
|
|
27235
27235
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27236
27236
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27237
27237
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27238
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
27238
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27239
27239
|
let fetchResult;
|
|
27240
27240
|
try {
|
|
27241
27241
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27377,7 +27377,7 @@ var Group = class Group extends Object$1 {
|
|
|
27377
27377
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27378
27378
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27379
27379
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27380
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
27380
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27381
27381
|
let fetchResult;
|
|
27382
27382
|
try {
|
|
27383
27383
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27504,7 +27504,7 @@ var Group = class Group extends Object$1 {
|
|
|
27504
27504
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27505
27505
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27506
27506
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27507
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
27507
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27508
27508
|
let fetchResult;
|
|
27509
27509
|
try {
|
|
27510
27510
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27634,7 +27634,7 @@ var Group = class Group extends Object$1 {
|
|
|
27634
27634
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27635
27635
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27636
27636
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27637
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
27637
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27638
27638
|
let fetchResult;
|
|
27639
27639
|
try {
|
|
27640
27640
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27762,7 +27762,7 @@ var Group = class Group extends Object$1 {
|
|
|
27762
27762
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27763
27763
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27764
27764
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27765
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
27765
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27766
27766
|
let fetchResult;
|
|
27767
27767
|
try {
|
|
27768
27768
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27888,7 +27888,7 @@ var Group = class Group extends Object$1 {
|
|
|
27888
27888
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27889
27889
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27890
27890
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27891
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
27891
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27892
27892
|
let fetchResult;
|
|
27893
27893
|
try {
|
|
27894
27894
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28014,7 +28014,7 @@ var Group = class Group extends Object$1 {
|
|
|
28014
28014
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28015
28015
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28016
28016
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28017
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28017
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28018
28018
|
let fetchResult;
|
|
28019
28019
|
try {
|
|
28020
28020
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28179,7 +28179,7 @@ var Group = class Group extends Object$1 {
|
|
|
28179
28179
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28180
28180
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28181
28181
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28182
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28182
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28183
28183
|
let fetchResult;
|
|
28184
28184
|
try {
|
|
28185
28185
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28348,7 +28348,7 @@ var Group = class Group extends Object$1 {
|
|
|
28348
28348
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28349
28349
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28350
28350
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28351
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28351
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28352
28352
|
let fetchResult;
|
|
28353
28353
|
try {
|
|
28354
28354
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28568,7 +28568,7 @@ var Group = class Group extends Object$1 {
|
|
|
28568
28568
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28569
28569
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28570
28570
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28571
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
28571
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28572
28572
|
let fetchResult;
|
|
28573
28573
|
try {
|
|
28574
28574
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29259,7 +29259,7 @@ var Group = class Group extends Object$1 {
|
|
|
29259
29259
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29260
29260
|
*/
|
|
29261
29261
|
static async fromJsonLd(json, options = {}) {
|
|
29262
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
29262
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29263
29263
|
try {
|
|
29264
29264
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
29265
29265
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30005,7 +30005,7 @@ var Link = class Link {
|
|
|
30005
30005
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30006
30006
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30007
30007
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30008
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
30008
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30009
30009
|
let fetchResult;
|
|
30010
30010
|
try {
|
|
30011
30011
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30300,7 +30300,7 @@ var Link = class Link {
|
|
|
30300
30300
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30301
30301
|
*/
|
|
30302
30302
|
static async fromJsonLd(json, options = {}) {
|
|
30303
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
30303
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30304
30304
|
try {
|
|
30305
30305
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
30306
30306
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30651,7 +30651,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
30651
30651
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30652
30652
|
*/
|
|
30653
30653
|
static async fromJsonLd(json, options = {}) {
|
|
30654
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
30654
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30655
30655
|
try {
|
|
30656
30656
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
30657
30657
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30814,7 +30814,7 @@ var Image = class Image extends Document {
|
|
|
30814
30814
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30815
30815
|
*/
|
|
30816
30816
|
static async fromJsonLd(json, options = {}) {
|
|
30817
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
30817
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30818
30818
|
try {
|
|
30819
30819
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
30820
30820
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30965,7 +30965,7 @@ var Offer = class Offer extends Activity {
|
|
|
30965
30965
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30966
30966
|
*/
|
|
30967
30967
|
static async fromJsonLd(json, options = {}) {
|
|
30968
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
30968
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30969
30969
|
try {
|
|
30970
30970
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
30971
30971
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31116,7 +31116,7 @@ var Invite = class Invite extends Offer {
|
|
|
31116
31116
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31117
31117
|
*/
|
|
31118
31118
|
static async fromJsonLd(json, options = {}) {
|
|
31119
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
31119
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31120
31120
|
try {
|
|
31121
31121
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
31122
31122
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31266,7 +31266,7 @@ var Join = class Join extends Activity {
|
|
|
31266
31266
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31267
31267
|
*/
|
|
31268
31268
|
static async fromJsonLd(json, options = {}) {
|
|
31269
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
31269
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31270
31270
|
try {
|
|
31271
31271
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
31272
31272
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31416,7 +31416,7 @@ var Leave = class Leave extends Activity {
|
|
|
31416
31416
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31417
31417
|
*/
|
|
31418
31418
|
static async fromJsonLd(json, options = {}) {
|
|
31419
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
31419
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31420
31420
|
try {
|
|
31421
31421
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
31422
31422
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31570,7 +31570,7 @@ var Like = class Like extends Activity {
|
|
|
31570
31570
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31571
31571
|
*/
|
|
31572
31572
|
static async fromJsonLd(json, options = {}) {
|
|
31573
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
31573
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31574
31574
|
try {
|
|
31575
31575
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
31576
31576
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31719,7 +31719,7 @@ var Listen = class Listen extends Activity {
|
|
|
31719
31719
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31720
31720
|
*/
|
|
31721
31721
|
static async fromJsonLd(json, options = {}) {
|
|
31722
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
31722
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31723
31723
|
try {
|
|
31724
31724
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
31725
31725
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31871,7 +31871,7 @@ var Mention = class Mention extends Link {
|
|
|
31871
31871
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31872
31872
|
*/
|
|
31873
31873
|
static async fromJsonLd(json, options = {}) {
|
|
31874
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
31874
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31875
31875
|
try {
|
|
31876
31876
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
31877
31877
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32022,7 +32022,7 @@ var Move = class Move extends Activity {
|
|
|
32022
32022
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32023
32023
|
*/
|
|
32024
32024
|
static async fromJsonLd(json, options = {}) {
|
|
32025
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32025
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32026
32026
|
try {
|
|
32027
32027
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
32028
32028
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32154,7 +32154,7 @@ var Note = class Note extends Object$1 {
|
|
|
32154
32154
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32155
32155
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32156
32156
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32157
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
32157
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32158
32158
|
let fetchResult;
|
|
32159
32159
|
try {
|
|
32160
32160
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32295,7 +32295,7 @@ var Note = class Note extends Object$1 {
|
|
|
32295
32295
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32296
32296
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32297
32297
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32298
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
32298
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32299
32299
|
let fetchResult;
|
|
32300
32300
|
try {
|
|
32301
32301
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32584,7 +32584,7 @@ var Note = class Note extends Object$1 {
|
|
|
32584
32584
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32585
32585
|
*/
|
|
32586
32586
|
static async fromJsonLd(json, options = {}) {
|
|
32587
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
32587
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32588
32588
|
try {
|
|
32589
32589
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
32590
32590
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32760,7 +32760,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
32760
32760
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32761
32761
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32762
32762
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32763
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
32763
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32764
32764
|
let fetchResult;
|
|
32765
32765
|
try {
|
|
32766
32766
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33033,7 +33033,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
33033
33033
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33034
33034
|
*/
|
|
33035
33035
|
static async fromJsonLd(json, options = {}) {
|
|
33036
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33036
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33037
33037
|
try {
|
|
33038
33038
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
33039
33039
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33251,7 +33251,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
33251
33251
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33252
33252
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33253
33253
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33254
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
33254
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33255
33255
|
let fetchResult;
|
|
33256
33256
|
try {
|
|
33257
33257
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33547,7 +33547,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
33547
33547
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33548
33548
|
*/
|
|
33549
33549
|
static async fromJsonLd(json, options = {}) {
|
|
33550
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
33550
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33551
33551
|
try {
|
|
33552
33552
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
33553
33553
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34053,7 +34053,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34053
34053
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34054
34054
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34055
34055
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34056
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
34056
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34057
34057
|
let fetchResult;
|
|
34058
34058
|
try {
|
|
34059
34059
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34221,7 +34221,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34221
34221
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34222
34222
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34223
34223
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34224
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
34224
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34225
34225
|
let fetchResult;
|
|
34226
34226
|
try {
|
|
34227
34227
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34407,7 +34407,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34407
34407
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34408
34408
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34409
34409
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34410
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
34410
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34411
34411
|
let fetchResult;
|
|
34412
34412
|
try {
|
|
34413
34413
|
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.3.
|
|
34555
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34556
34556
|
let fetchResult;
|
|
34557
34557
|
try {
|
|
34558
34558
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34694,7 +34694,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34694
34694
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34695
34695
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34696
34696
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34697
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
34697
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34698
34698
|
let fetchResult;
|
|
34699
34699
|
try {
|
|
34700
34700
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34821,7 +34821,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34821
34821
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34822
34822
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34823
34823
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34824
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
34824
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34825
34825
|
let fetchResult;
|
|
34826
34826
|
try {
|
|
34827
34827
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34951,7 +34951,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34951
34951
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34952
34952
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34953
34953
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34954
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
34954
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34955
34955
|
let fetchResult;
|
|
34956
34956
|
try {
|
|
34957
34957
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35079,7 +35079,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35079
35079
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35080
35080
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35081
35081
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35082
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
35082
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35083
35083
|
let fetchResult;
|
|
35084
35084
|
try {
|
|
35085
35085
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35205,7 +35205,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35205
35205
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35206
35206
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35207
35207
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35208
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
35208
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35209
35209
|
let fetchResult;
|
|
35210
35210
|
try {
|
|
35211
35211
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35331,7 +35331,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35331
35331
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35332
35332
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35333
35333
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35334
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
35334
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35335
35335
|
let fetchResult;
|
|
35336
35336
|
try {
|
|
35337
35337
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35496,7 +35496,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35496
35496
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35497
35497
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35498
35498
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35499
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
35499
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35500
35500
|
let fetchResult;
|
|
35501
35501
|
try {
|
|
35502
35502
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35665,7 +35665,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35665
35665
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35666
35666
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35667
35667
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35668
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
35668
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35669
35669
|
let fetchResult;
|
|
35670
35670
|
try {
|
|
35671
35671
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35885,7 +35885,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35885
35885
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35886
35886
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35887
35887
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35888
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
35888
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35889
35889
|
let fetchResult;
|
|
35890
35890
|
try {
|
|
35891
35891
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36576,7 +36576,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36576
36576
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36577
36577
|
*/
|
|
36578
36578
|
static async fromJsonLd(json, options = {}) {
|
|
36579
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
36579
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36580
36580
|
try {
|
|
36581
36581
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
36582
36582
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37190,7 +37190,7 @@ var Page = class Page extends Document {
|
|
|
37190
37190
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37191
37191
|
*/
|
|
37192
37192
|
static async fromJsonLd(json, options = {}) {
|
|
37193
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
37193
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37194
37194
|
try {
|
|
37195
37195
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
37196
37196
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37586,7 +37586,7 @@ var Person = class Person extends Object$1 {
|
|
|
37586
37586
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37587
37587
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37588
37588
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37589
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37589
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37590
37590
|
let fetchResult;
|
|
37591
37591
|
try {
|
|
37592
37592
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37754,7 +37754,7 @@ var Person = class Person extends Object$1 {
|
|
|
37754
37754
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37755
37755
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37756
37756
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37757
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37757
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37758
37758
|
let fetchResult;
|
|
37759
37759
|
try {
|
|
37760
37760
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37940,7 +37940,7 @@ var Person = class Person extends Object$1 {
|
|
|
37940
37940
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37941
37941
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37942
37942
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37943
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
37943
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37944
37944
|
let fetchResult;
|
|
37945
37945
|
try {
|
|
37946
37946
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38085,7 +38085,7 @@ var Person = class Person extends Object$1 {
|
|
|
38085
38085
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38086
38086
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38087
38087
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38088
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
38088
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38089
38089
|
let fetchResult;
|
|
38090
38090
|
try {
|
|
38091
38091
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38227,7 +38227,7 @@ var Person = class Person extends Object$1 {
|
|
|
38227
38227
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38228
38228
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38229
38229
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38230
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
38230
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38231
38231
|
let fetchResult;
|
|
38232
38232
|
try {
|
|
38233
38233
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38354,7 +38354,7 @@ var Person = class Person extends Object$1 {
|
|
|
38354
38354
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38355
38355
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38356
38356
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38357
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
38357
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38358
38358
|
let fetchResult;
|
|
38359
38359
|
try {
|
|
38360
38360
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38484,7 +38484,7 @@ var Person = class Person extends Object$1 {
|
|
|
38484
38484
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38485
38485
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38486
38486
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38487
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
38487
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38488
38488
|
let fetchResult;
|
|
38489
38489
|
try {
|
|
38490
38490
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38612,7 +38612,7 @@ var Person = class Person extends Object$1 {
|
|
|
38612
38612
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38613
38613
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38614
38614
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38615
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
38615
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38616
38616
|
let fetchResult;
|
|
38617
38617
|
try {
|
|
38618
38618
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38738,7 +38738,7 @@ var Person = class Person extends Object$1 {
|
|
|
38738
38738
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38739
38739
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38740
38740
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38741
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
38741
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38742
38742
|
let fetchResult;
|
|
38743
38743
|
try {
|
|
38744
38744
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38864,7 +38864,7 @@ var Person = class Person extends Object$1 {
|
|
|
38864
38864
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38865
38865
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38866
38866
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38867
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
38867
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38868
38868
|
let fetchResult;
|
|
38869
38869
|
try {
|
|
38870
38870
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39029,7 +39029,7 @@ var Person = class Person extends Object$1 {
|
|
|
39029
39029
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39030
39030
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39031
39031
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39032
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
39032
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39033
39033
|
let fetchResult;
|
|
39034
39034
|
try {
|
|
39035
39035
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39198,7 +39198,7 @@ var Person = class Person extends Object$1 {
|
|
|
39198
39198
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39199
39199
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39200
39200
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39201
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
39201
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39202
39202
|
let fetchResult;
|
|
39203
39203
|
try {
|
|
39204
39204
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39418,7 +39418,7 @@ var Person = class Person extends Object$1 {
|
|
|
39418
39418
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39419
39419
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39420
39420
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39421
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
39421
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39422
39422
|
let fetchResult;
|
|
39423
39423
|
try {
|
|
39424
39424
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40109,7 +40109,7 @@ var Person = class Person extends Object$1 {
|
|
|
40109
40109
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40110
40110
|
*/
|
|
40111
40111
|
static async fromJsonLd(json, options = {}) {
|
|
40112
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
40112
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40113
40113
|
try {
|
|
40114
40114
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
40115
40115
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40900,7 +40900,7 @@ var Place = class Place extends Object$1 {
|
|
|
40900
40900
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40901
40901
|
*/
|
|
40902
40902
|
static async fromJsonLd(json, options = {}) {
|
|
40903
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
40903
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40904
40904
|
try {
|
|
40905
40905
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
40906
40906
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41102,7 +41102,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
41102
41102
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41103
41103
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41104
41104
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41105
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41105
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41106
41106
|
let fetchResult;
|
|
41107
41107
|
try {
|
|
41108
41108
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41306,7 +41306,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
41306
41306
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41307
41307
|
*/
|
|
41308
41308
|
static async fromJsonLd(json, options = {}) {
|
|
41309
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
41309
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41310
41310
|
try {
|
|
41311
41311
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
41312
41312
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41505,7 +41505,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
41505
41505
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41506
41506
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41507
41507
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41508
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41508
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41509
41509
|
let fetchResult;
|
|
41510
41510
|
try {
|
|
41511
41511
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41630,7 +41630,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
41630
41630
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41631
41631
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41632
41632
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41633
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41633
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41634
41634
|
let fetchResult;
|
|
41635
41635
|
try {
|
|
41636
41636
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41771,7 +41771,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
41771
41771
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41772
41772
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41773
41773
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41774
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41774
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41775
41775
|
let fetchResult;
|
|
41776
41776
|
try {
|
|
41777
41777
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41912,7 +41912,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
41912
41912
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41913
41913
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41914
41914
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41915
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
41915
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41916
41916
|
let fetchResult;
|
|
41917
41917
|
try {
|
|
41918
41918
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42167,7 +42167,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
42167
42167
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42168
42168
|
*/
|
|
42169
42169
|
static async fromJsonLd(json, options = {}) {
|
|
42170
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
42170
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42171
42171
|
try {
|
|
42172
42172
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
42173
42173
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42449,7 +42449,7 @@ var Read = class Read extends Activity {
|
|
|
42449
42449
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42450
42450
|
*/
|
|
42451
42451
|
static async fromJsonLd(json, options = {}) {
|
|
42452
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
42452
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42453
42453
|
try {
|
|
42454
42454
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
42455
42455
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42599,7 +42599,7 @@ var Reject = class Reject extends Activity {
|
|
|
42599
42599
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42600
42600
|
*/
|
|
42601
42601
|
static async fromJsonLd(json, options = {}) {
|
|
42602
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
42602
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42603
42603
|
try {
|
|
42604
42604
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
42605
42605
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42773,7 +42773,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
42773
42773
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42774
42774
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42775
42775
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42776
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
42776
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42777
42777
|
let fetchResult;
|
|
42778
42778
|
try {
|
|
42779
42779
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42899,7 +42899,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
42899
42899
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42900
42900
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42901
42901
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42902
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
42902
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42903
42903
|
let fetchResult;
|
|
42904
42904
|
try {
|
|
42905
42905
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43067,7 +43067,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
43067
43067
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43068
43068
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43069
43069
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43070
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
43070
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43071
43071
|
let fetchResult;
|
|
43072
43072
|
try {
|
|
43073
43073
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43351,7 +43351,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
43351
43351
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43352
43352
|
*/
|
|
43353
43353
|
static async fromJsonLd(json, options = {}) {
|
|
43354
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
43354
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43355
43355
|
try {
|
|
43356
43356
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
43357
43357
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43570,7 +43570,7 @@ var Remove = class Remove extends Activity {
|
|
|
43570
43570
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43571
43571
|
*/
|
|
43572
43572
|
static async fromJsonLd(json, options = {}) {
|
|
43573
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
43573
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43574
43574
|
try {
|
|
43575
43575
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
43576
43576
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43966,7 +43966,7 @@ var Service = class Service extends Object$1 {
|
|
|
43966
43966
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43967
43967
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43968
43968
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43969
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
43969
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43970
43970
|
let fetchResult;
|
|
43971
43971
|
try {
|
|
43972
43972
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44134,7 +44134,7 @@ var Service = class Service extends Object$1 {
|
|
|
44134
44134
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44135
44135
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44136
44136
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44137
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44137
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44138
44138
|
let fetchResult;
|
|
44139
44139
|
try {
|
|
44140
44140
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44320,7 +44320,7 @@ var Service = class Service extends Object$1 {
|
|
|
44320
44320
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44321
44321
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44322
44322
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44323
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44323
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44324
44324
|
let fetchResult;
|
|
44325
44325
|
try {
|
|
44326
44326
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44465,7 +44465,7 @@ var Service = class Service extends Object$1 {
|
|
|
44465
44465
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44466
44466
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44467
44467
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44468
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44468
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44469
44469
|
let fetchResult;
|
|
44470
44470
|
try {
|
|
44471
44471
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44607,7 +44607,7 @@ var Service = class Service extends Object$1 {
|
|
|
44607
44607
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44608
44608
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44609
44609
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44610
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44610
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44611
44611
|
let fetchResult;
|
|
44612
44612
|
try {
|
|
44613
44613
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44734,7 +44734,7 @@ var Service = class Service extends Object$1 {
|
|
|
44734
44734
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44735
44735
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44736
44736
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44737
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44737
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44738
44738
|
let fetchResult;
|
|
44739
44739
|
try {
|
|
44740
44740
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44864,7 +44864,7 @@ var Service = class Service extends Object$1 {
|
|
|
44864
44864
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44865
44865
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44866
44866
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44867
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44867
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44868
44868
|
let fetchResult;
|
|
44869
44869
|
try {
|
|
44870
44870
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44992,7 +44992,7 @@ var Service = class Service extends Object$1 {
|
|
|
44992
44992
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44993
44993
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44994
44994
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44995
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
44995
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44996
44996
|
let fetchResult;
|
|
44997
44997
|
try {
|
|
44998
44998
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45118,7 +45118,7 @@ var Service = class Service extends Object$1 {
|
|
|
45118
45118
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45119
45119
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45120
45120
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45121
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45121
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45122
45122
|
let fetchResult;
|
|
45123
45123
|
try {
|
|
45124
45124
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45244,7 +45244,7 @@ var Service = class Service extends Object$1 {
|
|
|
45244
45244
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45245
45245
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45246
45246
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45247
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45247
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45248
45248
|
let fetchResult;
|
|
45249
45249
|
try {
|
|
45250
45250
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45409,7 +45409,7 @@ var Service = class Service extends Object$1 {
|
|
|
45409
45409
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45410
45410
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45411
45411
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45412
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45412
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45413
45413
|
let fetchResult;
|
|
45414
45414
|
try {
|
|
45415
45415
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45578,7 +45578,7 @@ var Service = class Service extends Object$1 {
|
|
|
45578
45578
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45579
45579
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45580
45580
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45581
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45581
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45582
45582
|
let fetchResult;
|
|
45583
45583
|
try {
|
|
45584
45584
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45798,7 +45798,7 @@ var Service = class Service extends Object$1 {
|
|
|
45798
45798
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45799
45799
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45800
45800
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45801
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.
|
|
45801
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45802
45802
|
let fetchResult;
|
|
45803
45803
|
try {
|
|
45804
45804
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46489,7 +46489,7 @@ var Service = class Service extends Object$1 {
|
|
|
46489
46489
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46490
46490
|
*/
|
|
46491
46491
|
static async fromJsonLd(json, options = {}) {
|
|
46492
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
46492
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46493
46493
|
try {
|
|
46494
46494
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
46495
46495
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -47191,7 +47191,7 @@ var Source = class {
|
|
|
47191
47191
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47192
47192
|
*/
|
|
47193
47193
|
static async fromJsonLd(json, options = {}) {
|
|
47194
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
47194
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47195
47195
|
try {
|
|
47196
47196
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
47197
47197
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -47370,7 +47370,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
47370
47370
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47371
47371
|
*/
|
|
47372
47372
|
static async fromJsonLd(json, options = {}) {
|
|
47373
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
47373
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47374
47374
|
try {
|
|
47375
47375
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
47376
47376
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -47520,7 +47520,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
47520
47520
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47521
47521
|
*/
|
|
47522
47522
|
static async fromJsonLd(json, options = {}) {
|
|
47523
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
47523
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47524
47524
|
try {
|
|
47525
47525
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
47526
47526
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -47759,7 +47759,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
47759
47759
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47760
47760
|
*/
|
|
47761
47761
|
static async fromJsonLd(json, options = {}) {
|
|
47762
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
47762
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47763
47763
|
try {
|
|
47764
47764
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
47765
47765
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -47946,7 +47946,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
47946
47946
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47947
47947
|
*/
|
|
47948
47948
|
static async fromJsonLd(json, options = {}) {
|
|
47949
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
47949
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47950
47950
|
try {
|
|
47951
47951
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
47952
47952
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48110,7 +48110,7 @@ var Undo = class Undo extends Activity {
|
|
|
48110
48110
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48111
48111
|
*/
|
|
48112
48112
|
static async fromJsonLd(json, options = {}) {
|
|
48113
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
48113
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48114
48114
|
try {
|
|
48115
48115
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
48116
48116
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48322,7 +48322,7 @@ var Update = class Update extends Activity {
|
|
|
48322
48322
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48323
48323
|
*/
|
|
48324
48324
|
static async fromJsonLd(json, options = {}) {
|
|
48325
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
48325
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48326
48326
|
try {
|
|
48327
48327
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
48328
48328
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48485,7 +48485,7 @@ var Video = class Video extends Document {
|
|
|
48485
48485
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48486
48486
|
*/
|
|
48487
48487
|
static async fromJsonLd(json, options = {}) {
|
|
48488
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
48488
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48489
48489
|
try {
|
|
48490
48490
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
48491
48491
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48634,7 +48634,7 @@ var View = class View extends Activity {
|
|
|
48634
48634
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48635
48635
|
*/
|
|
48636
48636
|
static async fromJsonLd(json, options = {}) {
|
|
48637
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.
|
|
48637
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.2").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48638
48638
|
try {
|
|
48639
48639
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
48640
48640
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|