@fedify/vocab 2.1.20 → 2.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deno.json +1 -1
- package/dist/mod.cjs +202 -202
- package/dist/mod.js +202 -202
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/{deno-CxXWFCRg.mjs → deno-DSDRRjDK.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-DcoRO2lB.mjs → vocab-BZPebsj7.mjs} +201 -201
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
package/dist/mod.js
CHANGED
|
@@ -9,7 +9,7 @@ import { isTemporalDuration, isTemporalInstant } from "@fedify/vocab-runtime/tem
|
|
|
9
9
|
import { delay } from "es-toolkit";
|
|
10
10
|
//#region deno.json
|
|
11
11
|
var name = "@fedify/vocab";
|
|
12
|
-
var version = "2.1.
|
|
12
|
+
var version = "2.1.21";
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/type.ts
|
|
15
15
|
function getTypeId(object) {
|
|
@@ -694,7 +694,7 @@ var Object$1 = class Object$1 {
|
|
|
694
694
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
695
695
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
696
696
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
697
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
697
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
698
698
|
let fetchResult;
|
|
699
699
|
try {
|
|
700
700
|
fetchResult = await documentLoader(url.href);
|
|
@@ -840,7 +840,7 @@ var Object$1 = class Object$1 {
|
|
|
840
840
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
841
841
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
842
842
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
843
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
843
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
844
844
|
let fetchResult;
|
|
845
845
|
try {
|
|
846
846
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1052,7 +1052,7 @@ var Object$1 = class Object$1 {
|
|
|
1052
1052
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1053
1053
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1054
1054
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1055
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1055
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1056
1056
|
let fetchResult;
|
|
1057
1057
|
try {
|
|
1058
1058
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1236,7 +1236,7 @@ var Object$1 = class Object$1 {
|
|
|
1236
1236
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1237
1237
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1238
1238
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1239
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1239
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1240
1240
|
let fetchResult;
|
|
1241
1241
|
try {
|
|
1242
1242
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1398,7 +1398,7 @@ var Object$1 = class Object$1 {
|
|
|
1398
1398
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1399
1399
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1400
1400
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1401
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1401
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1402
1402
|
let fetchResult;
|
|
1403
1403
|
try {
|
|
1404
1404
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1528,7 +1528,7 @@ var Object$1 = class Object$1 {
|
|
|
1528
1528
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1529
1529
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1530
1530
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1531
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1531
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1532
1532
|
let fetchResult;
|
|
1533
1533
|
try {
|
|
1534
1534
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1694,7 +1694,7 @@ var Object$1 = class Object$1 {
|
|
|
1694
1694
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1695
1695
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1696
1696
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1697
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1697
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1698
1698
|
let fetchResult;
|
|
1699
1699
|
try {
|
|
1700
1700
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1860,7 +1860,7 @@ var Object$1 = class Object$1 {
|
|
|
1860
1860
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1861
1861
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1862
1862
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1863
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
1863
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1864
1864
|
let fetchResult;
|
|
1865
1865
|
try {
|
|
1866
1866
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2034,7 +2034,7 @@ var Object$1 = class Object$1 {
|
|
|
2034
2034
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2035
2035
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2036
2036
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2037
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2037
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2038
2038
|
let fetchResult;
|
|
2039
2039
|
try {
|
|
2040
2040
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2208,7 +2208,7 @@ var Object$1 = class Object$1 {
|
|
|
2208
2208
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2209
2209
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2210
2210
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2211
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2211
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2212
2212
|
let fetchResult;
|
|
2213
2213
|
try {
|
|
2214
2214
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2387,7 +2387,7 @@ var Object$1 = class Object$1 {
|
|
|
2387
2387
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2388
2388
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2389
2389
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2390
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2390
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2391
2391
|
let fetchResult;
|
|
2392
2392
|
try {
|
|
2393
2393
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2508,7 +2508,7 @@ var Object$1 = class Object$1 {
|
|
|
2508
2508
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2509
2509
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2510
2510
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2511
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2511
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2512
2512
|
let fetchResult;
|
|
2513
2513
|
try {
|
|
2514
2514
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2635,7 +2635,7 @@ var Object$1 = class Object$1 {
|
|
|
2635
2635
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2636
2636
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2637
2637
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2638
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2638
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2639
2639
|
let fetchResult;
|
|
2640
2640
|
try {
|
|
2641
2641
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2762,7 +2762,7 @@ var Object$1 = class Object$1 {
|
|
|
2762
2762
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2763
2763
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2764
2764
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2765
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2765
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2766
2766
|
let fetchResult;
|
|
2767
2767
|
try {
|
|
2768
2768
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2907,7 +2907,7 @@ var Object$1 = class Object$1 {
|
|
|
2907
2907
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2908
2908
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2909
2909
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2910
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
2910
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2911
2911
|
let fetchResult;
|
|
2912
2912
|
try {
|
|
2913
2913
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3059,7 +3059,7 @@ var Object$1 = class Object$1 {
|
|
|
3059
3059
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3060
3060
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3061
3061
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3062
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3062
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3063
3063
|
let fetchResult;
|
|
3064
3064
|
try {
|
|
3065
3065
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3223,7 +3223,7 @@ var Object$1 = class Object$1 {
|
|
|
3223
3223
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3224
3224
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3225
3225
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3226
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3226
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3227
3227
|
let fetchResult;
|
|
3228
3228
|
try {
|
|
3229
3229
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3387,7 +3387,7 @@ var Object$1 = class Object$1 {
|
|
|
3387
3387
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3388
3388
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3389
3389
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3390
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3390
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3391
3391
|
let fetchResult;
|
|
3392
3392
|
try {
|
|
3393
3393
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3551,7 +3551,7 @@ var Object$1 = class Object$1 {
|
|
|
3551
3551
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3552
3552
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3553
3553
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3554
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3554
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3555
3555
|
let fetchResult;
|
|
3556
3556
|
try {
|
|
3557
3557
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3752,7 +3752,7 @@ var Object$1 = class Object$1 {
|
|
|
3752
3752
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3753
3753
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3754
3754
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3755
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3755
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3756
3756
|
let fetchResult;
|
|
3757
3757
|
try {
|
|
3758
3758
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3939,7 +3939,7 @@ var Object$1 = class Object$1 {
|
|
|
3939
3939
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3940
3940
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3941
3941
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3942
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
3942
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3943
3943
|
let fetchResult;
|
|
3944
3944
|
try {
|
|
3945
3945
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4060,7 +4060,7 @@ var Object$1 = class Object$1 {
|
|
|
4060
4060
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4061
4061
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4062
4062
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4063
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4063
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4064
4064
|
let fetchResult;
|
|
4065
4065
|
try {
|
|
4066
4066
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4181,7 +4181,7 @@ var Object$1 = class Object$1 {
|
|
|
4181
4181
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4182
4182
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4183
4183
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4184
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
4184
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4185
4185
|
let fetchResult;
|
|
4186
4186
|
try {
|
|
4187
4187
|
fetchResult = await documentLoader(url.href);
|
|
@@ -5008,7 +5008,7 @@ var Object$1 = class Object$1 {
|
|
|
5008
5008
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5009
5009
|
*/
|
|
5010
5010
|
static async fromJsonLd(json, options = {}) {
|
|
5011
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
5011
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5012
5012
|
try {
|
|
5013
5013
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
5014
5014
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6484,7 +6484,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
6484
6484
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6485
6485
|
*/
|
|
6486
6486
|
static async fromJsonLd(json, options = {}) {
|
|
6487
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
6487
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6488
6488
|
try {
|
|
6489
6489
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
6490
6490
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6725,7 +6725,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6725
6725
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6726
6726
|
*/
|
|
6727
6727
|
static async fromJsonLd(json, options = {}) {
|
|
6728
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
6728
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6729
6729
|
try {
|
|
6730
6730
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
6731
6731
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7010,7 +7010,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7010
7010
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7011
7011
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7012
7012
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7013
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7013
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7014
7014
|
let fetchResult;
|
|
7015
7015
|
try {
|
|
7016
7016
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7222,7 +7222,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7222
7222
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7223
7223
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7224
7224
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7225
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7225
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7226
7226
|
let fetchResult;
|
|
7227
7227
|
try {
|
|
7228
7228
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7388,7 +7388,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7388
7388
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7389
7389
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7390
7390
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7391
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7391
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7392
7392
|
let fetchResult;
|
|
7393
7393
|
try {
|
|
7394
7394
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7560,7 +7560,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7560
7560
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7561
7561
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7562
7562
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7563
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7563
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7564
7564
|
let fetchResult;
|
|
7565
7565
|
try {
|
|
7566
7566
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7726,7 +7726,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7726
7726
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7727
7727
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7728
7728
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7729
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7729
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7730
7730
|
let fetchResult;
|
|
7731
7731
|
try {
|
|
7732
7732
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7894,7 +7894,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7894
7894
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7895
7895
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7896
7896
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7897
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
7897
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7898
7898
|
let fetchResult;
|
|
7899
7899
|
try {
|
|
7900
7900
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8145,7 +8145,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8145
8145
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8146
8146
|
*/
|
|
8147
8147
|
static async fromJsonLd(json, options = {}) {
|
|
8148
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
8148
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8149
8149
|
try {
|
|
8150
8150
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
8151
8151
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8483,7 +8483,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
8483
8483
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8484
8484
|
*/
|
|
8485
8485
|
static async fromJsonLd(json, options = {}) {
|
|
8486
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
8486
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8487
8487
|
try {
|
|
8488
8488
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
8489
8489
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8743,7 +8743,7 @@ var PropertyValue = class {
|
|
|
8743
8743
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8744
8744
|
*/
|
|
8745
8745
|
static async fromJsonLd(json, options = {}) {
|
|
8746
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
8746
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8747
8747
|
try {
|
|
8748
8748
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
8749
8749
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8913,7 +8913,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
8913
8913
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8914
8914
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8915
8915
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8916
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
8916
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8917
8917
|
let fetchResult;
|
|
8918
8918
|
try {
|
|
8919
8919
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9034,7 +9034,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9034
9034
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9035
9035
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9036
9036
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9037
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
9037
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9038
9038
|
let fetchResult;
|
|
9039
9039
|
try {
|
|
9040
9040
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9250,7 +9250,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9250
9250
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9251
9251
|
*/
|
|
9252
9252
|
static async fromJsonLd(json, options = {}) {
|
|
9253
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9253
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9254
9254
|
try {
|
|
9255
9255
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
9256
9256
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9453,7 +9453,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
9453
9453
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9454
9454
|
*/
|
|
9455
9455
|
static async fromJsonLd(json, options = {}) {
|
|
9456
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9456
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9457
9457
|
try {
|
|
9458
9458
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
9459
9459
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9707,7 +9707,7 @@ var InteractionPolicy = class {
|
|
|
9707
9707
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9708
9708
|
*/
|
|
9709
9709
|
static async fromJsonLd(json, options = {}) {
|
|
9710
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
9710
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9711
9711
|
try {
|
|
9712
9712
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
9713
9713
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10029,7 +10029,7 @@ var InteractionRule = class {
|
|
|
10029
10029
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10030
10030
|
*/
|
|
10031
10031
|
static async fromJsonLd(json, options = {}) {
|
|
10032
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
10032
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10033
10033
|
try {
|
|
10034
10034
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
10035
10035
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10192,7 +10192,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10192
10192
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10193
10193
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10194
10194
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10195
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10195
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10196
10196
|
let fetchResult;
|
|
10197
10197
|
try {
|
|
10198
10198
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10313,7 +10313,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10313
10313
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10314
10314
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10315
10315
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10316
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10316
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10317
10317
|
let fetchResult;
|
|
10318
10318
|
try {
|
|
10319
10319
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10529,7 +10529,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10529
10529
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10530
10530
|
*/
|
|
10531
10531
|
static async fromJsonLd(json, options = {}) {
|
|
10532
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
10532
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10533
10533
|
try {
|
|
10534
10534
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
10535
10535
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10731,7 +10731,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
10731
10731
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10732
10732
|
*/
|
|
10733
10733
|
static async fromJsonLd(json, options = {}) {
|
|
10734
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
10734
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10735
10735
|
try {
|
|
10736
10736
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
10737
10737
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10864,7 +10864,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
10864
10864
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10865
10865
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10866
10866
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10867
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10867
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10868
10868
|
let fetchResult;
|
|
10869
10869
|
try {
|
|
10870
10870
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10985,7 +10985,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
10985
10985
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10986
10986
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10987
10987
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10988
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
10988
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10989
10989
|
let fetchResult;
|
|
10990
10990
|
try {
|
|
10991
10991
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11201,7 +11201,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11201
11201
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11202
11202
|
*/
|
|
11203
11203
|
static async fromJsonLd(json, options = {}) {
|
|
11204
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11204
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11205
11205
|
try {
|
|
11206
11206
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
11207
11207
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11403,7 +11403,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
11403
11403
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11404
11404
|
*/
|
|
11405
11405
|
static async fromJsonLd(json, options = {}) {
|
|
11406
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11406
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11407
11407
|
try {
|
|
11408
11408
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
11409
11409
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11623,7 +11623,7 @@ var DidService = class {
|
|
|
11623
11623
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11624
11624
|
*/
|
|
11625
11625
|
static async fromJsonLd(json, options = {}) {
|
|
11626
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11626
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11627
11627
|
try {
|
|
11628
11628
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
11629
11629
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11781,7 +11781,7 @@ var Export = class Export extends DidService {
|
|
|
11781
11781
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11782
11782
|
*/
|
|
11783
11783
|
static async fromJsonLd(json, options = {}) {
|
|
11784
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
11784
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11785
11785
|
try {
|
|
11786
11786
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
11787
11787
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11968,7 +11968,7 @@ var DataIntegrityProof = class {
|
|
|
11968
11968
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11969
11969
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11970
11970
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11971
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
11971
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11972
11972
|
let fetchResult;
|
|
11973
11973
|
try {
|
|
11974
11974
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12187,7 +12187,7 @@ var DataIntegrityProof = class {
|
|
|
12187
12187
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12188
12188
|
*/
|
|
12189
12189
|
static async fromJsonLd(json, options = {}) {
|
|
12190
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12190
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12191
12191
|
try {
|
|
12192
12192
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
12193
12193
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12425,7 +12425,7 @@ var CryptographicKey = class {
|
|
|
12425
12425
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12426
12426
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12427
12427
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12428
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
12428
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12429
12429
|
let fetchResult;
|
|
12430
12430
|
try {
|
|
12431
12431
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12687,7 +12687,7 @@ var CryptographicKey = class {
|
|
|
12687
12687
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12688
12688
|
*/
|
|
12689
12689
|
static async fromJsonLd(json, options = {}) {
|
|
12690
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
12690
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12691
12691
|
try {
|
|
12692
12692
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
12693
12693
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12902,7 +12902,7 @@ var Multikey = class {
|
|
|
12902
12902
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12903
12903
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12904
12904
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12905
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
12905
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12906
12906
|
let fetchResult;
|
|
12907
12907
|
try {
|
|
12908
12908
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13170,7 +13170,7 @@ var Multikey = class {
|
|
|
13170
13170
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13171
13171
|
*/
|
|
13172
13172
|
static async fromJsonLd(json, options = {}) {
|
|
13173
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13173
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13174
13174
|
try {
|
|
13175
13175
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
13176
13176
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13373,7 +13373,7 @@ var Accept = class Accept extends Activity {
|
|
|
13373
13373
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13374
13374
|
*/
|
|
13375
13375
|
static async fromJsonLd(json, options = {}) {
|
|
13376
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13376
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13377
13377
|
try {
|
|
13378
13378
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
13379
13379
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13527,7 +13527,7 @@ var Add = class Add extends Activity {
|
|
|
13527
13527
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13528
13528
|
*/
|
|
13529
13529
|
static async fromJsonLd(json, options = {}) {
|
|
13530
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13530
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13531
13531
|
try {
|
|
13532
13532
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
13533
13533
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13698,7 +13698,7 @@ var Announce = class Announce extends Activity {
|
|
|
13698
13698
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13699
13699
|
*/
|
|
13700
13700
|
static async fromJsonLd(json, options = {}) {
|
|
13701
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
13701
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13702
13702
|
try {
|
|
13703
13703
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
13704
13704
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14095,7 +14095,7 @@ var Application = class Application extends Object$1 {
|
|
|
14095
14095
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14096
14096
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14097
14097
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14098
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14098
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14099
14099
|
let fetchResult;
|
|
14100
14100
|
try {
|
|
14101
14101
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14257,7 +14257,7 @@ var Application = class Application extends Object$1 {
|
|
|
14257
14257
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14258
14258
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14259
14259
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14260
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14260
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14261
14261
|
let fetchResult;
|
|
14262
14262
|
try {
|
|
14263
14263
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14437,7 +14437,7 @@ var Application = class Application extends Object$1 {
|
|
|
14437
14437
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14438
14438
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14439
14439
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14440
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14440
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14441
14441
|
let fetchResult;
|
|
14442
14442
|
try {
|
|
14443
14443
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14579,7 +14579,7 @@ var Application = class Application extends Object$1 {
|
|
|
14579
14579
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14580
14580
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14581
14581
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14582
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14582
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14583
14583
|
let fetchResult;
|
|
14584
14584
|
try {
|
|
14585
14585
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14718,7 +14718,7 @@ var Application = class Application extends Object$1 {
|
|
|
14718
14718
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14719
14719
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14720
14720
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14721
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14721
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14722
14722
|
let fetchResult;
|
|
14723
14723
|
try {
|
|
14724
14724
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14842,7 +14842,7 @@ var Application = class Application extends Object$1 {
|
|
|
14842
14842
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14843
14843
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14844
14844
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14845
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14845
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14846
14846
|
let fetchResult;
|
|
14847
14847
|
try {
|
|
14848
14848
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14969,7 +14969,7 @@ var Application = class Application extends Object$1 {
|
|
|
14969
14969
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14970
14970
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14971
14971
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14972
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
14972
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14973
14973
|
let fetchResult;
|
|
14974
14974
|
try {
|
|
14975
14975
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15094,7 +15094,7 @@ var Application = class Application extends Object$1 {
|
|
|
15094
15094
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15095
15095
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15096
15096
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15097
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15097
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15098
15098
|
let fetchResult;
|
|
15099
15099
|
try {
|
|
15100
15100
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15217,7 +15217,7 @@ var Application = class Application extends Object$1 {
|
|
|
15217
15217
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15218
15218
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15219
15219
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15220
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15220
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15221
15221
|
let fetchResult;
|
|
15222
15222
|
try {
|
|
15223
15223
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15340,7 +15340,7 @@ var Application = class Application extends Object$1 {
|
|
|
15340
15340
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15341
15341
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15342
15342
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15343
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15343
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15344
15344
|
let fetchResult;
|
|
15345
15345
|
try {
|
|
15346
15346
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15502,7 +15502,7 @@ var Application = class Application extends Object$1 {
|
|
|
15502
15502
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15503
15503
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15504
15504
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15505
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15505
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15506
15506
|
let fetchResult;
|
|
15507
15507
|
try {
|
|
15508
15508
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15668,7 +15668,7 @@ var Application = class Application extends Object$1 {
|
|
|
15668
15668
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15669
15669
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15670
15670
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15671
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15671
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15672
15672
|
let fetchResult;
|
|
15673
15673
|
try {
|
|
15674
15674
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15882,7 +15882,7 @@ var Application = class Application extends Object$1 {
|
|
|
15882
15882
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15883
15883
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15884
15884
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15885
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
15885
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15886
15886
|
let fetchResult;
|
|
15887
15887
|
try {
|
|
15888
15888
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16567,7 +16567,7 @@ var Application = class Application extends Object$1 {
|
|
|
16567
16567
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16568
16568
|
*/
|
|
16569
16569
|
static async fromJsonLd(json, options = {}) {
|
|
16570
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
16570
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16571
16571
|
try {
|
|
16572
16572
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
16573
16573
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17177,7 +17177,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
17177
17177
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17178
17178
|
*/
|
|
17179
17179
|
static async fromJsonLd(json, options = {}) {
|
|
17180
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17180
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17181
17181
|
try {
|
|
17182
17182
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
17183
17183
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17332,7 +17332,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
17332
17332
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17333
17333
|
*/
|
|
17334
17334
|
static async fromJsonLd(json, options = {}) {
|
|
17335
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17335
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17336
17336
|
try {
|
|
17337
17337
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
17338
17338
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17571,7 +17571,7 @@ var Article = class Article extends Object$1 {
|
|
|
17571
17571
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17572
17572
|
*/
|
|
17573
17573
|
static async fromJsonLd(json, options = {}) {
|
|
17574
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17574
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17575
17575
|
try {
|
|
17576
17576
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
17577
17577
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17812,7 +17812,7 @@ var Document = class Document extends Object$1 {
|
|
|
17812
17812
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17813
17813
|
*/
|
|
17814
17814
|
static async fromJsonLd(json, options = {}) {
|
|
17815
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
17815
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17816
17816
|
try {
|
|
17817
17817
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
17818
17818
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18009,7 +18009,7 @@ var Audio = class Audio extends Document {
|
|
|
18009
18009
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18010
18010
|
*/
|
|
18011
18011
|
static async fromJsonLd(json, options = {}) {
|
|
18012
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18012
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18013
18013
|
try {
|
|
18014
18014
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
18015
18015
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18160,7 +18160,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
18160
18160
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18161
18161
|
*/
|
|
18162
18162
|
static async fromJsonLd(json, options = {}) {
|
|
18163
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18163
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18164
18164
|
try {
|
|
18165
18165
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
18166
18166
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18314,7 +18314,7 @@ var Block = class Block extends Ignore {
|
|
|
18314
18314
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18315
18315
|
*/
|
|
18316
18316
|
static async fromJsonLd(json, options = {}) {
|
|
18317
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
18317
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18318
18318
|
try {
|
|
18319
18319
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
18320
18320
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18580,7 +18580,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18580
18580
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18581
18581
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18582
18582
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18583
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18583
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18584
18584
|
let fetchResult;
|
|
18585
18585
|
try {
|
|
18586
18586
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18701,7 +18701,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18701
18701
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18702
18702
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18703
18703
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18704
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18704
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18705
18705
|
let fetchResult;
|
|
18706
18706
|
try {
|
|
18707
18707
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18822,7 +18822,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18822
18822
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18823
18823
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18824
18824
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18825
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18825
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18826
18826
|
let fetchResult;
|
|
18827
18827
|
try {
|
|
18828
18828
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18943,7 +18943,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
18943
18943
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18944
18944
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18945
18945
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18946
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
18946
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18947
18947
|
let fetchResult;
|
|
18948
18948
|
try {
|
|
18949
18949
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19074,7 +19074,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19074
19074
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19075
19075
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19076
19076
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19077
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19077
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19078
19078
|
let fetchResult;
|
|
19079
19079
|
try {
|
|
19080
19080
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19194,7 +19194,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19194
19194
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19195
19195
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19196
19196
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19197
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19197
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19198
19198
|
let fetchResult;
|
|
19199
19199
|
try {
|
|
19200
19200
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19314,7 +19314,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19314
19314
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19315
19315
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19316
19316
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19317
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19317
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19318
19318
|
let fetchResult;
|
|
19319
19319
|
try {
|
|
19320
19320
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19434,7 +19434,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19434
19434
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19435
19435
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19436
19436
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19437
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19437
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19438
19438
|
let fetchResult;
|
|
19439
19439
|
try {
|
|
19440
19440
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19554,7 +19554,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19554
19554
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19555
19555
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19556
19556
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19557
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19557
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19558
19558
|
let fetchResult;
|
|
19559
19559
|
try {
|
|
19560
19560
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19674,7 +19674,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19674
19674
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19675
19675
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19676
19676
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19677
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19677
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19678
19678
|
let fetchResult;
|
|
19679
19679
|
try {
|
|
19680
19680
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19794,7 +19794,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19794
19794
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19795
19795
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19796
19796
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19797
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19797
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19798
19798
|
let fetchResult;
|
|
19799
19799
|
try {
|
|
19800
19800
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19914,7 +19914,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
19914
19914
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19915
19915
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19916
19916
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19917
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
19917
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19918
19918
|
let fetchResult;
|
|
19919
19919
|
try {
|
|
19920
19920
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20343,7 +20343,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20343
20343
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20344
20344
|
*/
|
|
20345
20345
|
static async fromJsonLd(json, options = {}) {
|
|
20346
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
20346
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20347
20347
|
try {
|
|
20348
20348
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
20349
20349
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20826,7 +20826,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
20826
20826
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20827
20827
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20828
20828
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20829
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20829
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20830
20830
|
let fetchResult;
|
|
20831
20831
|
try {
|
|
20832
20832
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20947,7 +20947,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
20947
20947
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20948
20948
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20949
20949
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20950
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
20950
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20951
20951
|
let fetchResult;
|
|
20952
20952
|
try {
|
|
20953
20953
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21067,7 +21067,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
21067
21067
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21068
21068
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21069
21069
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21070
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
21070
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21071
21071
|
let fetchResult;
|
|
21072
21072
|
try {
|
|
21073
21073
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21333,7 +21333,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
21333
21333
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21334
21334
|
*/
|
|
21335
21335
|
static async fromJsonLd(json, options = {}) {
|
|
21336
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21336
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21337
21337
|
try {
|
|
21338
21338
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
21339
21339
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21568,7 +21568,7 @@ var Create = class Create extends Activity {
|
|
|
21568
21568
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21569
21569
|
*/
|
|
21570
21570
|
static async fromJsonLd(json, options = {}) {
|
|
21571
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21571
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21572
21572
|
try {
|
|
21573
21573
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
21574
21574
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21735,7 +21735,7 @@ var Delete = class Delete extends Activity {
|
|
|
21735
21735
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21736
21736
|
*/
|
|
21737
21737
|
static async fromJsonLd(json, options = {}) {
|
|
21738
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21738
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21739
21739
|
try {
|
|
21740
21740
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
21741
21741
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21889,7 +21889,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
21889
21889
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21890
21890
|
*/
|
|
21891
21891
|
static async fromJsonLd(json, options = {}) {
|
|
21892
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
21892
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21893
21893
|
try {
|
|
21894
21894
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
21895
21895
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22248,7 +22248,7 @@ var Endpoints = class {
|
|
|
22248
22248
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22249
22249
|
*/
|
|
22250
22250
|
static async fromJsonLd(json, options = {}) {
|
|
22251
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22251
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22252
22252
|
try {
|
|
22253
22253
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
22254
22254
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22496,7 +22496,7 @@ var Event = class Event extends Object$1 {
|
|
|
22496
22496
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22497
22497
|
*/
|
|
22498
22498
|
static async fromJsonLd(json, options = {}) {
|
|
22499
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22499
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22500
22500
|
try {
|
|
22501
22501
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
22502
22502
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22648,7 +22648,7 @@ var Flag = class Flag extends Activity {
|
|
|
22648
22648
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22649
22649
|
*/
|
|
22650
22650
|
static async fromJsonLd(json, options = {}) {
|
|
22651
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22651
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22652
22652
|
try {
|
|
22653
22653
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
22654
22654
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22804,7 +22804,7 @@ var Follow = class Follow extends Activity {
|
|
|
22804
22804
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22805
22805
|
*/
|
|
22806
22806
|
static async fromJsonLd(json, options = {}) {
|
|
22807
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
22807
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22808
22808
|
try {
|
|
22809
22809
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
22810
22810
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23201,7 +23201,7 @@ var Group = class Group extends Object$1 {
|
|
|
23201
23201
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23202
23202
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23203
23203
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23204
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23204
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23205
23205
|
let fetchResult;
|
|
23206
23206
|
try {
|
|
23207
23207
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23363,7 +23363,7 @@ var Group = class Group extends Object$1 {
|
|
|
23363
23363
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23364
23364
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23365
23365
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23366
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23366
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23367
23367
|
let fetchResult;
|
|
23368
23368
|
try {
|
|
23369
23369
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23543,7 +23543,7 @@ var Group = class Group extends Object$1 {
|
|
|
23543
23543
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23544
23544
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23545
23545
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23546
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23546
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23547
23547
|
let fetchResult;
|
|
23548
23548
|
try {
|
|
23549
23549
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23685,7 +23685,7 @@ var Group = class Group extends Object$1 {
|
|
|
23685
23685
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23686
23686
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23687
23687
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23688
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23688
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23689
23689
|
let fetchResult;
|
|
23690
23690
|
try {
|
|
23691
23691
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23824,7 +23824,7 @@ var Group = class Group extends Object$1 {
|
|
|
23824
23824
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23825
23825
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23826
23826
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23827
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23827
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23828
23828
|
let fetchResult;
|
|
23829
23829
|
try {
|
|
23830
23830
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23948,7 +23948,7 @@ var Group = class Group extends Object$1 {
|
|
|
23948
23948
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23949
23949
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23950
23950
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23951
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
23951
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23952
23952
|
let fetchResult;
|
|
23953
23953
|
try {
|
|
23954
23954
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24075,7 +24075,7 @@ var Group = class Group extends Object$1 {
|
|
|
24075
24075
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24076
24076
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24077
24077
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24078
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24078
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24079
24079
|
let fetchResult;
|
|
24080
24080
|
try {
|
|
24081
24081
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24200,7 +24200,7 @@ var Group = class Group extends Object$1 {
|
|
|
24200
24200
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24201
24201
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24202
24202
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24203
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24203
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24204
24204
|
let fetchResult;
|
|
24205
24205
|
try {
|
|
24206
24206
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24323,7 +24323,7 @@ var Group = class Group extends Object$1 {
|
|
|
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.1.
|
|
24326
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24327
24327
|
let fetchResult;
|
|
24328
24328
|
try {
|
|
24329
24329
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24446,7 +24446,7 @@ var Group = class Group extends Object$1 {
|
|
|
24446
24446
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24447
24447
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24448
24448
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24449
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24449
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24450
24450
|
let fetchResult;
|
|
24451
24451
|
try {
|
|
24452
24452
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24608,7 +24608,7 @@ var Group = class Group extends Object$1 {
|
|
|
24608
24608
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24609
24609
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24610
24610
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24611
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24611
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24612
24612
|
let fetchResult;
|
|
24613
24613
|
try {
|
|
24614
24614
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24774,7 +24774,7 @@ var Group = class Group extends Object$1 {
|
|
|
24774
24774
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24775
24775
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24776
24776
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24777
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24777
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24778
24778
|
let fetchResult;
|
|
24779
24779
|
try {
|
|
24780
24780
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24988,7 +24988,7 @@ var Group = class Group extends Object$1 {
|
|
|
24988
24988
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24989
24989
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24990
24990
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24991
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
24991
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24992
24992
|
let fetchResult;
|
|
24993
24993
|
try {
|
|
24994
24994
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25673,7 +25673,7 @@ var Group = class Group extends Object$1 {
|
|
|
25673
25673
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25674
25674
|
*/
|
|
25675
25675
|
static async fromJsonLd(json, options = {}) {
|
|
25676
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
25676
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25677
25677
|
try {
|
|
25678
25678
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
25679
25679
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26433,7 +26433,7 @@ var Link = class Link {
|
|
|
26433
26433
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26434
26434
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26435
26435
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26436
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
26436
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26437
26437
|
let fetchResult;
|
|
26438
26438
|
try {
|
|
26439
26439
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26725,7 +26725,7 @@ var Link = class Link {
|
|
|
26725
26725
|
* @throws {TypeError} If the given `json` is invalid.
|
|
26726
26726
|
*/
|
|
26727
26727
|
static async fromJsonLd(json, options = {}) {
|
|
26728
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
26728
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
26729
26729
|
try {
|
|
26730
26730
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
26731
26731
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27080,7 +27080,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
27080
27080
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27081
27081
|
*/
|
|
27082
27082
|
static async fromJsonLd(json, options = {}) {
|
|
27083
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27083
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27084
27084
|
try {
|
|
27085
27085
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
27086
27086
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27244,7 +27244,7 @@ var Image = class Image extends Document {
|
|
|
27244
27244
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27245
27245
|
*/
|
|
27246
27246
|
static async fromJsonLd(json, options = {}) {
|
|
27247
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27247
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27248
27248
|
try {
|
|
27249
27249
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
27250
27250
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27396,7 +27396,7 @@ var Offer = class Offer extends Activity {
|
|
|
27396
27396
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27397
27397
|
*/
|
|
27398
27398
|
static async fromJsonLd(json, options = {}) {
|
|
27399
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27399
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27400
27400
|
try {
|
|
27401
27401
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
27402
27402
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27548,7 +27548,7 @@ var Invite = class Invite extends Offer {
|
|
|
27548
27548
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27549
27549
|
*/
|
|
27550
27550
|
static async fromJsonLd(json, options = {}) {
|
|
27551
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27551
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27552
27552
|
try {
|
|
27553
27553
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
27554
27554
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27699,7 +27699,7 @@ var Join = class Join extends Activity {
|
|
|
27699
27699
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27700
27700
|
*/
|
|
27701
27701
|
static async fromJsonLd(json, options = {}) {
|
|
27702
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27702
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27703
27703
|
try {
|
|
27704
27704
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
27705
27705
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -27850,7 +27850,7 @@ var Leave = class Leave extends Activity {
|
|
|
27850
27850
|
* @throws {TypeError} If the given `json` is invalid.
|
|
27851
27851
|
*/
|
|
27852
27852
|
static async fromJsonLd(json, options = {}) {
|
|
27853
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
27853
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
27854
27854
|
try {
|
|
27855
27855
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
27856
27856
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28005,7 +28005,7 @@ var Like = class Like extends Activity {
|
|
|
28005
28005
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28006
28006
|
*/
|
|
28007
28007
|
static async fromJsonLd(json, options = {}) {
|
|
28008
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28008
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28009
28009
|
try {
|
|
28010
28010
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
28011
28011
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28155,7 +28155,7 @@ var Listen = class Listen extends Activity {
|
|
|
28155
28155
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28156
28156
|
*/
|
|
28157
28157
|
static async fromJsonLd(json, options = {}) {
|
|
28158
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28158
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28159
28159
|
try {
|
|
28160
28160
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
28161
28161
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28308,7 +28308,7 @@ var Mention = class Mention extends Link {
|
|
|
28308
28308
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28309
28309
|
*/
|
|
28310
28310
|
static async fromJsonLd(json, options = {}) {
|
|
28311
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28311
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28312
28312
|
try {
|
|
28313
28313
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
28314
28314
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28460,7 +28460,7 @@ var Move = class Move extends Activity {
|
|
|
28460
28460
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28461
28461
|
*/
|
|
28462
28462
|
static async fromJsonLd(json, options = {}) {
|
|
28463
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28463
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28464
28464
|
try {
|
|
28465
28465
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
28466
28466
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28700,7 +28700,7 @@ var Note = class Note extends Object$1 {
|
|
|
28700
28700
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28701
28701
|
*/
|
|
28702
28702
|
static async fromJsonLd(json, options = {}) {
|
|
28703
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
28703
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28704
28704
|
try {
|
|
28705
28705
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
28706
28706
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28833,7 +28833,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
28833
28833
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28834
28834
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28835
28835
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28836
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
28836
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28837
28837
|
let fetchResult;
|
|
28838
28838
|
try {
|
|
28839
28839
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29083,7 +29083,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
29083
29083
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29084
29084
|
*/
|
|
29085
29085
|
static async fromJsonLd(json, options = {}) {
|
|
29086
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
29086
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29087
29087
|
try {
|
|
29088
29088
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
29089
29089
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29301,7 +29301,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
29301
29301
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29302
29302
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29303
29303
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29304
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
29304
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29305
29305
|
let fetchResult;
|
|
29306
29306
|
try {
|
|
29307
29307
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29574,7 +29574,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
29574
29574
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29575
29575
|
*/
|
|
29576
29576
|
static async fromJsonLd(json, options = {}) {
|
|
29577
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
29577
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29578
29578
|
try {
|
|
29579
29579
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
29580
29580
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30080,7 +30080,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30080
30080
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30081
30081
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30082
30082
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30083
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30083
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30084
30084
|
let fetchResult;
|
|
30085
30085
|
try {
|
|
30086
30086
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30242,7 +30242,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30242
30242
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30243
30243
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30244
30244
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30245
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30245
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30246
30246
|
let fetchResult;
|
|
30247
30247
|
try {
|
|
30248
30248
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30422,7 +30422,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30422
30422
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30423
30423
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30424
30424
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30425
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30425
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30426
30426
|
let fetchResult;
|
|
30427
30427
|
try {
|
|
30428
30428
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30564,7 +30564,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30564
30564
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30565
30565
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30566
30566
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30567
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30567
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30568
30568
|
let fetchResult;
|
|
30569
30569
|
try {
|
|
30570
30570
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30703,7 +30703,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30703
30703
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30704
30704
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30705
30705
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30706
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30706
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30707
30707
|
let fetchResult;
|
|
30708
30708
|
try {
|
|
30709
30709
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30827,7 +30827,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30827
30827
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30828
30828
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30829
30829
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30830
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30830
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30831
30831
|
let fetchResult;
|
|
30832
30832
|
try {
|
|
30833
30833
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30954,7 +30954,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
30954
30954
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30955
30955
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30956
30956
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30957
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
30957
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30958
30958
|
let fetchResult;
|
|
30959
30959
|
try {
|
|
30960
30960
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31079,7 +31079,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31079
31079
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31080
31080
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31081
31081
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31082
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31082
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31083
31083
|
let fetchResult;
|
|
31084
31084
|
try {
|
|
31085
31085
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31202,7 +31202,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31202
31202
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31203
31203
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31204
31204
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31205
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31205
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31206
31206
|
let fetchResult;
|
|
31207
31207
|
try {
|
|
31208
31208
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31325,7 +31325,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31325
31325
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31326
31326
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31327
31327
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31328
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31328
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31329
31329
|
let fetchResult;
|
|
31330
31330
|
try {
|
|
31331
31331
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31487,7 +31487,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31487
31487
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31488
31488
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31489
31489
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31490
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31490
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31491
31491
|
let fetchResult;
|
|
31492
31492
|
try {
|
|
31493
31493
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31653,7 +31653,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31653
31653
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31654
31654
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31655
31655
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31656
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31656
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31657
31657
|
let fetchResult;
|
|
31658
31658
|
try {
|
|
31659
31659
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31867,7 +31867,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
31867
31867
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31868
31868
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31869
31869
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31870
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
31870
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31871
31871
|
let fetchResult;
|
|
31872
31872
|
try {
|
|
31873
31873
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32552,7 +32552,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32552
32552
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32553
32553
|
*/
|
|
32554
32554
|
static async fromJsonLd(json, options = {}) {
|
|
32555
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
32555
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32556
32556
|
try {
|
|
32557
32557
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
32558
32558
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33174,7 +33174,7 @@ var Page = class Page extends Document {
|
|
|
33174
33174
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33175
33175
|
*/
|
|
33176
33176
|
static async fromJsonLd(json, options = {}) {
|
|
33177
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
33177
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33178
33178
|
try {
|
|
33179
33179
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
33180
33180
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33571,7 +33571,7 @@ var Person = class Person extends Object$1 {
|
|
|
33571
33571
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33572
33572
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33573
33573
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33574
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33574
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33575
33575
|
let fetchResult;
|
|
33576
33576
|
try {
|
|
33577
33577
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33733,7 +33733,7 @@ var Person = class Person extends Object$1 {
|
|
|
33733
33733
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33734
33734
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33735
33735
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33736
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33736
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33737
33737
|
let fetchResult;
|
|
33738
33738
|
try {
|
|
33739
33739
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33913,7 +33913,7 @@ var Person = class Person extends Object$1 {
|
|
|
33913
33913
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33914
33914
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33915
33915
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33916
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
33916
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33917
33917
|
let fetchResult;
|
|
33918
33918
|
try {
|
|
33919
33919
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34055,7 +34055,7 @@ var Person = class Person extends Object$1 {
|
|
|
34055
34055
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34056
34056
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34057
34057
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34058
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34058
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34059
34059
|
let fetchResult;
|
|
34060
34060
|
try {
|
|
34061
34061
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34194,7 +34194,7 @@ var Person = class Person extends Object$1 {
|
|
|
34194
34194
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34195
34195
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34196
34196
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34197
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34197
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34198
34198
|
let fetchResult;
|
|
34199
34199
|
try {
|
|
34200
34200
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34318,7 +34318,7 @@ var Person = class Person extends Object$1 {
|
|
|
34318
34318
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34319
34319
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34320
34320
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34321
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34321
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34322
34322
|
let fetchResult;
|
|
34323
34323
|
try {
|
|
34324
34324
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34445,7 +34445,7 @@ var Person = class Person extends Object$1 {
|
|
|
34445
34445
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34446
34446
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34447
34447
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34448
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34448
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34449
34449
|
let fetchResult;
|
|
34450
34450
|
try {
|
|
34451
34451
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34570,7 +34570,7 @@ var Person = class Person extends Object$1 {
|
|
|
34570
34570
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34571
34571
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34572
34572
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34573
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34573
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34574
34574
|
let fetchResult;
|
|
34575
34575
|
try {
|
|
34576
34576
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34693,7 +34693,7 @@ var Person = class Person extends Object$1 {
|
|
|
34693
34693
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34694
34694
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34695
34695
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34696
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34696
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34697
34697
|
let fetchResult;
|
|
34698
34698
|
try {
|
|
34699
34699
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34816,7 +34816,7 @@ var Person = class Person extends Object$1 {
|
|
|
34816
34816
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34817
34817
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34818
34818
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34819
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34819
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34820
34820
|
let fetchResult;
|
|
34821
34821
|
try {
|
|
34822
34822
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34978,7 +34978,7 @@ var Person = class Person extends Object$1 {
|
|
|
34978
34978
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34979
34979
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34980
34980
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34981
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
34981
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34982
34982
|
let fetchResult;
|
|
34983
34983
|
try {
|
|
34984
34984
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35144,7 +35144,7 @@ var Person = class Person extends Object$1 {
|
|
|
35144
35144
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35145
35145
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35146
35146
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35147
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35147
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35148
35148
|
let fetchResult;
|
|
35149
35149
|
try {
|
|
35150
35150
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35358,7 +35358,7 @@ var Person = class Person extends Object$1 {
|
|
|
35358
35358
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35359
35359
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35360
35360
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35361
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
35361
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35362
35362
|
let fetchResult;
|
|
35363
35363
|
try {
|
|
35364
35364
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36043,7 +36043,7 @@ var Person = class Person extends Object$1 {
|
|
|
36043
36043
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36044
36044
|
*/
|
|
36045
36045
|
static async fromJsonLd(json, options = {}) {
|
|
36046
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
36046
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36047
36047
|
try {
|
|
36048
36048
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
36049
36049
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36842,7 +36842,7 @@ var Place = class Place extends Object$1 {
|
|
|
36842
36842
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36843
36843
|
*/
|
|
36844
36844
|
static async fromJsonLd(json, options = {}) {
|
|
36845
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
36845
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36846
36846
|
try {
|
|
36847
36847
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
36848
36848
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37049,7 +37049,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
37049
37049
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37050
37050
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37051
37051
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37052
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
37052
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37053
37053
|
let fetchResult;
|
|
37054
37054
|
try {
|
|
37055
37055
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37250,7 +37250,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
37250
37250
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37251
37251
|
*/
|
|
37252
37252
|
static async fromJsonLd(json, options = {}) {
|
|
37253
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
37253
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37254
37254
|
try {
|
|
37255
37255
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
37256
37256
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37425,7 +37425,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
37425
37425
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37426
37426
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37427
37427
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37428
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
37428
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37429
37429
|
let fetchResult;
|
|
37430
37430
|
try {
|
|
37431
37431
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37547,7 +37547,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
37547
37547
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37548
37548
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37549
37549
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37550
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
37550
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37551
37551
|
let fetchResult;
|
|
37552
37552
|
try {
|
|
37553
37553
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37811,7 +37811,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
37811
37811
|
* @throws {TypeError} If the given `json` is invalid.
|
|
37812
37812
|
*/
|
|
37813
37813
|
static async fromJsonLd(json, options = {}) {
|
|
37814
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
37814
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
37815
37815
|
try {
|
|
37816
37816
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
37817
37817
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38052,7 +38052,7 @@ var Read = class Read extends Activity {
|
|
|
38052
38052
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38053
38053
|
*/
|
|
38054
38054
|
static async fromJsonLd(json, options = {}) {
|
|
38055
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
38055
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38056
38056
|
try {
|
|
38057
38057
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
38058
38058
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38203,7 +38203,7 @@ var Reject = class Reject extends Activity {
|
|
|
38203
38203
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38204
38204
|
*/
|
|
38205
38205
|
static async fromJsonLd(json, options = {}) {
|
|
38206
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
38206
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38207
38207
|
try {
|
|
38208
38208
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
38209
38209
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38378,7 +38378,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
38378
38378
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38379
38379
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38380
38380
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38381
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
38381
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38382
38382
|
let fetchResult;
|
|
38383
38383
|
try {
|
|
38384
38384
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38501,7 +38501,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
38501
38501
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38502
38502
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38503
38503
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38504
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
38504
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38505
38505
|
let fetchResult;
|
|
38506
38506
|
try {
|
|
38507
38507
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38663,7 +38663,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
38663
38663
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38664
38664
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38665
38665
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38666
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
38666
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38667
38667
|
let fetchResult;
|
|
38668
38668
|
try {
|
|
38669
38669
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38941,7 +38941,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
38941
38941
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38942
38942
|
*/
|
|
38943
38943
|
static async fromJsonLd(json, options = {}) {
|
|
38944
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
38944
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38945
38945
|
try {
|
|
38946
38946
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
38947
38947
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39158,7 +39158,7 @@ var Remove = class Remove extends Activity {
|
|
|
39158
39158
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39159
39159
|
*/
|
|
39160
39160
|
static async fromJsonLd(json, options = {}) {
|
|
39161
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
39161
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39162
39162
|
try {
|
|
39163
39163
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
39164
39164
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39555,7 +39555,7 @@ var Service = class Service extends Object$1 {
|
|
|
39555
39555
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39556
39556
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39557
39557
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39558
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39558
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39559
39559
|
let fetchResult;
|
|
39560
39560
|
try {
|
|
39561
39561
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39717,7 +39717,7 @@ var Service = class Service extends Object$1 {
|
|
|
39717
39717
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39718
39718
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39719
39719
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39720
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39720
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39721
39721
|
let fetchResult;
|
|
39722
39722
|
try {
|
|
39723
39723
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39897,7 +39897,7 @@ var Service = class Service extends Object$1 {
|
|
|
39897
39897
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39898
39898
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39899
39899
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39900
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
39900
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39901
39901
|
let fetchResult;
|
|
39902
39902
|
try {
|
|
39903
39903
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40039,7 +40039,7 @@ var Service = class Service extends Object$1 {
|
|
|
40039
40039
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40040
40040
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40041
40041
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40042
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40042
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40043
40043
|
let fetchResult;
|
|
40044
40044
|
try {
|
|
40045
40045
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40178,7 +40178,7 @@ var Service = class Service extends Object$1 {
|
|
|
40178
40178
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40179
40179
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40180
40180
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40181
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40181
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40182
40182
|
let fetchResult;
|
|
40183
40183
|
try {
|
|
40184
40184
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40302,7 +40302,7 @@ var Service = class Service extends Object$1 {
|
|
|
40302
40302
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40303
40303
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40304
40304
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40305
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40305
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40306
40306
|
let fetchResult;
|
|
40307
40307
|
try {
|
|
40308
40308
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40429,7 +40429,7 @@ var Service = class Service extends Object$1 {
|
|
|
40429
40429
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40430
40430
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40431
40431
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40432
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40432
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40433
40433
|
let fetchResult;
|
|
40434
40434
|
try {
|
|
40435
40435
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40554,7 +40554,7 @@ var Service = class Service extends Object$1 {
|
|
|
40554
40554
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40555
40555
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40556
40556
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40557
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40557
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40558
40558
|
let fetchResult;
|
|
40559
40559
|
try {
|
|
40560
40560
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40677,7 +40677,7 @@ var Service = class Service extends Object$1 {
|
|
|
40677
40677
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40678
40678
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40679
40679
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40680
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40680
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40681
40681
|
let fetchResult;
|
|
40682
40682
|
try {
|
|
40683
40683
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40800,7 +40800,7 @@ var Service = class Service extends Object$1 {
|
|
|
40800
40800
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40801
40801
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40802
40802
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40803
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40803
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40804
40804
|
let fetchResult;
|
|
40805
40805
|
try {
|
|
40806
40806
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40962,7 +40962,7 @@ var Service = class Service extends Object$1 {
|
|
|
40962
40962
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40963
40963
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40964
40964
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40965
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
40965
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40966
40966
|
let fetchResult;
|
|
40967
40967
|
try {
|
|
40968
40968
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41128,7 +41128,7 @@ var Service = class Service extends Object$1 {
|
|
|
41128
41128
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41129
41129
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41130
41130
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41131
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41131
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41132
41132
|
let fetchResult;
|
|
41133
41133
|
try {
|
|
41134
41134
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41342,7 +41342,7 @@ var Service = class Service extends Object$1 {
|
|
|
41342
41342
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41343
41343
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41344
41344
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41345
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.
|
|
41345
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41346
41346
|
let fetchResult;
|
|
41347
41347
|
try {
|
|
41348
41348
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42027,7 +42027,7 @@ var Service = class Service extends Object$1 {
|
|
|
42027
42027
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42028
42028
|
*/
|
|
42029
42029
|
static async fromJsonLd(json, options = {}) {
|
|
42030
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42030
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42031
42031
|
try {
|
|
42032
42032
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
42033
42033
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42743,7 +42743,7 @@ var Source = class {
|
|
|
42743
42743
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42744
42744
|
*/
|
|
42745
42745
|
static async fromJsonLd(json, options = {}) {
|
|
42746
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42746
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42747
42747
|
try {
|
|
42748
42748
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
42749
42749
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42927,7 +42927,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
42927
42927
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42928
42928
|
*/
|
|
42929
42929
|
static async fromJsonLd(json, options = {}) {
|
|
42930
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
42930
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42931
42931
|
try {
|
|
42932
42932
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
42933
42933
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43078,7 +43078,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
43078
43078
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43079
43079
|
*/
|
|
43080
43080
|
static async fromJsonLd(json, options = {}) {
|
|
43081
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
43081
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43082
43082
|
try {
|
|
43083
43083
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
43084
43084
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43275,7 +43275,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
43275
43275
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43276
43276
|
*/
|
|
43277
43277
|
static async fromJsonLd(json, options = {}) {
|
|
43278
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
43278
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43279
43279
|
try {
|
|
43280
43280
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
43281
43281
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43443,7 +43443,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
43443
43443
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43444
43444
|
*/
|
|
43445
43445
|
static async fromJsonLd(json, options = {}) {
|
|
43446
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
43446
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43447
43447
|
try {
|
|
43448
43448
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
43449
43449
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43608,7 +43608,7 @@ var Undo = class Undo extends Activity {
|
|
|
43608
43608
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43609
43609
|
*/
|
|
43610
43610
|
static async fromJsonLd(json, options = {}) {
|
|
43611
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
43611
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43612
43612
|
try {
|
|
43613
43613
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
43614
43614
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43811,7 +43811,7 @@ var Update = class Update extends Activity {
|
|
|
43811
43811
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43812
43812
|
*/
|
|
43813
43813
|
static async fromJsonLd(json, options = {}) {
|
|
43814
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
43814
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43815
43815
|
try {
|
|
43816
43816
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
43817
43817
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43975,7 +43975,7 @@ var Video = class Video extends Document {
|
|
|
43975
43975
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43976
43976
|
*/
|
|
43977
43977
|
static async fromJsonLd(json, options = {}) {
|
|
43978
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
43978
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43979
43979
|
try {
|
|
43980
43980
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
43981
43981
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -44125,7 +44125,7 @@ var View = class View extends Activity {
|
|
|
44125
44125
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44126
44126
|
*/
|
|
44127
44127
|
static async fromJsonLd(json, options = {}) {
|
|
44128
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.
|
|
44128
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.21").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44129
44129
|
try {
|
|
44130
44130
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
44131
44131
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|