@fedify/vocab 2.2.8 → 2.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deno.json +1 -1
- package/dist/mod.cjs +217 -217
- package/dist/mod.js +217 -217
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/{deno-BDmh73g3.mjs → deno-CXuuT_od.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-KiMp-Gly.mjs → vocab-COeSgXU6.mjs} +216 -216
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
package/dist/mod.js
CHANGED
|
@@ -9,7 +9,7 @@ import { isTemporalDuration, isTemporalInstant } from "@fedify/vocab-runtime/tem
|
|
|
9
9
|
import { delay } from "es-toolkit";
|
|
10
10
|
//#region deno.json
|
|
11
11
|
var name = "@fedify/vocab";
|
|
12
|
-
var version = "2.2.
|
|
12
|
+
var version = "2.2.9";
|
|
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.2.
|
|
697
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").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.2.
|
|
843
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").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.2.
|
|
1055
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").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.2.
|
|
1239
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").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.2.
|
|
1401
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").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.2.
|
|
1531
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").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.2.
|
|
1697
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").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.2.
|
|
1863
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").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.2.
|
|
2037
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").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.2.
|
|
2211
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").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.2.
|
|
2390
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").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.2.
|
|
2511
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").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.2.
|
|
2638
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").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.2.
|
|
2765
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").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.2.
|
|
2910
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").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.2.
|
|
3062
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").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.2.
|
|
3226
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").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.2.
|
|
3390
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").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.2.
|
|
3554
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").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.2.
|
|
3755
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").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.2.
|
|
3942
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").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.2.
|
|
4063
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").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.2.
|
|
4184
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").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.2.
|
|
5011
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").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);
|
|
@@ -6608,7 +6608,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
6608
6608
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6609
6609
|
*/
|
|
6610
6610
|
static async fromJsonLd(json, options = {}) {
|
|
6611
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
6611
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6612
6612
|
try {
|
|
6613
6613
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
6614
6614
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6744,7 +6744,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6744
6744
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6745
6745
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6746
6746
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6747
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
6747
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6748
6748
|
let fetchResult;
|
|
6749
6749
|
try {
|
|
6750
6750
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6882,7 +6882,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6882
6882
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6883
6883
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6884
6884
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6885
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
6885
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6886
6886
|
let fetchResult;
|
|
6887
6887
|
try {
|
|
6888
6888
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7166,7 +7166,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7166
7166
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7167
7167
|
*/
|
|
7168
7168
|
static async fromJsonLd(json, options = {}) {
|
|
7169
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
7169
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7170
7170
|
try {
|
|
7171
7171
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
7172
7172
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7505,7 +7505,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7505
7505
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7506
7506
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7507
7507
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7508
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
7508
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7509
7509
|
let fetchResult;
|
|
7510
7510
|
try {
|
|
7511
7511
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7717,7 +7717,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7717
7717
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7718
7718
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7719
7719
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7720
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
7720
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7721
7721
|
let fetchResult;
|
|
7722
7722
|
try {
|
|
7723
7723
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7883,7 +7883,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7883
7883
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7884
7884
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7885
7885
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7886
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
7886
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7887
7887
|
let fetchResult;
|
|
7888
7888
|
try {
|
|
7889
7889
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8055,7 +8055,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8055
8055
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8056
8056
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8057
8057
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8058
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8058
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8059
8059
|
let fetchResult;
|
|
8060
8060
|
try {
|
|
8061
8061
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8221,7 +8221,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8221
8221
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8222
8222
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8223
8223
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8224
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8224
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8225
8225
|
let fetchResult;
|
|
8226
8226
|
try {
|
|
8227
8227
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8389,7 +8389,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8389
8389
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8390
8390
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8391
8391
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8392
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
8392
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8393
8393
|
let fetchResult;
|
|
8394
8394
|
try {
|
|
8395
8395
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8640,7 +8640,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8640
8640
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8641
8641
|
*/
|
|
8642
8642
|
static async fromJsonLd(json, options = {}) {
|
|
8643
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
8643
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8644
8644
|
try {
|
|
8645
8645
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
8646
8646
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8999,7 +8999,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
8999
8999
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9000
9000
|
*/
|
|
9001
9001
|
static async fromJsonLd(json, options = {}) {
|
|
9002
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
9002
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9003
9003
|
try {
|
|
9004
9004
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
9005
9005
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9259,7 +9259,7 @@ var PropertyValue = class {
|
|
|
9259
9259
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9260
9260
|
*/
|
|
9261
9261
|
static async fromJsonLd(json, options = {}) {
|
|
9262
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
9262
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9263
9263
|
try {
|
|
9264
9264
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
9265
9265
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9546,7 +9546,7 @@ var Measure = class {
|
|
|
9546
9546
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9547
9547
|
*/
|
|
9548
9548
|
static async fromJsonLd(json, options = {}) {
|
|
9549
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
9549
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9550
9550
|
try {
|
|
9551
9551
|
const object = await this.__fromJsonLd__Measure__(json, span, options);
|
|
9552
9552
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9716,7 +9716,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9716
9716
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9717
9717
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9718
9718
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9719
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
9719
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9720
9720
|
let fetchResult;
|
|
9721
9721
|
try {
|
|
9722
9722
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9837,7 +9837,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9837
9837
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9838
9838
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9839
9839
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9840
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
9840
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9841
9841
|
let fetchResult;
|
|
9842
9842
|
try {
|
|
9843
9843
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10053,7 +10053,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
10053
10053
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10054
10054
|
*/
|
|
10055
10055
|
static async fromJsonLd(json, options = {}) {
|
|
10056
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
10056
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10057
10057
|
try {
|
|
10058
10058
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
10059
10059
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10264,7 +10264,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
10264
10264
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10265
10265
|
*/
|
|
10266
10266
|
static async fromJsonLd(json, options = {}) {
|
|
10267
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
10267
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10268
10268
|
try {
|
|
10269
10269
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
10270
10270
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10542,7 +10542,7 @@ var InteractionPolicy = class {
|
|
|
10542
10542
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10543
10543
|
*/
|
|
10544
10544
|
static async fromJsonLd(json, options = {}) {
|
|
10545
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
10545
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10546
10546
|
try {
|
|
10547
10547
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
10548
10548
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10897,7 +10897,7 @@ var InteractionRule = class {
|
|
|
10897
10897
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10898
10898
|
*/
|
|
10899
10899
|
static async fromJsonLd(json, options = {}) {
|
|
10900
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
10900
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10901
10901
|
try {
|
|
10902
10902
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
10903
10903
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11068,7 +11068,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11068
11068
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11069
11069
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11070
11070
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11071
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
11071
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11072
11072
|
let fetchResult;
|
|
11073
11073
|
try {
|
|
11074
11074
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11189,7 +11189,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11189
11189
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11190
11190
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11191
11191
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11192
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
11192
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11193
11193
|
let fetchResult;
|
|
11194
11194
|
try {
|
|
11195
11195
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11405,7 +11405,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11405
11405
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11406
11406
|
*/
|
|
11407
11407
|
static async fromJsonLd(json, options = {}) {
|
|
11408
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
11408
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11409
11409
|
try {
|
|
11410
11410
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
11411
11411
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11615,7 +11615,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
11615
11615
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11616
11616
|
*/
|
|
11617
11617
|
static async fromJsonLd(json, options = {}) {
|
|
11618
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
11618
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11619
11619
|
try {
|
|
11620
11620
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
11621
11621
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11748,7 +11748,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11748
11748
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11749
11749
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11750
11750
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11751
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
11751
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11752
11752
|
let fetchResult;
|
|
11753
11753
|
try {
|
|
11754
11754
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11869,7 +11869,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11869
11869
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11870
11870
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11871
11871
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11872
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
11872
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11873
11873
|
let fetchResult;
|
|
11874
11874
|
try {
|
|
11875
11875
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12085,7 +12085,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
12085
12085
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12086
12086
|
*/
|
|
12087
12087
|
static async fromJsonLd(json, options = {}) {
|
|
12088
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12088
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12089
12089
|
try {
|
|
12090
12090
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
12091
12091
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12295,7 +12295,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
12295
12295
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12296
12296
|
*/
|
|
12297
12297
|
static async fromJsonLd(json, options = {}) {
|
|
12298
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12298
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12299
12299
|
try {
|
|
12300
12300
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
12301
12301
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12428,7 +12428,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
12428
12428
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12429
12429
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12430
12430
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12431
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
12431
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12432
12432
|
let fetchResult;
|
|
12433
12433
|
try {
|
|
12434
12434
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12548,7 +12548,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
12548
12548
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12549
12549
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12550
12550
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12551
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
12551
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12552
12552
|
let fetchResult;
|
|
12553
12553
|
try {
|
|
12554
12554
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12766,7 +12766,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
12766
12766
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12767
12767
|
*/
|
|
12768
12768
|
static async fromJsonLd(json, options = {}) {
|
|
12769
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
12769
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12770
12770
|
try {
|
|
12771
12771
|
const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
|
|
12772
12772
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13006,7 +13006,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
|
|
|
13006
13006
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13007
13007
|
*/
|
|
13008
13008
|
static async fromJsonLd(json, options = {}) {
|
|
13009
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13009
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13010
13010
|
try {
|
|
13011
13011
|
const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
|
|
13012
13012
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13226,7 +13226,7 @@ var DidService = class {
|
|
|
13226
13226
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13227
13227
|
*/
|
|
13228
13228
|
static async fromJsonLd(json, options = {}) {
|
|
13229
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13229
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13230
13230
|
try {
|
|
13231
13231
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
13232
13232
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13388,7 +13388,7 @@ var Export = class Export extends DidService {
|
|
|
13388
13388
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13389
13389
|
*/
|
|
13390
13390
|
static async fromJsonLd(json, options = {}) {
|
|
13391
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13391
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13392
13392
|
try {
|
|
13393
13393
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
13394
13394
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13575,7 +13575,7 @@ var DataIntegrityProof = class {
|
|
|
13575
13575
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13576
13576
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13577
13577
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13578
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
13578
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13579
13579
|
let fetchResult;
|
|
13580
13580
|
try {
|
|
13581
13581
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13794,7 +13794,7 @@ var DataIntegrityProof = class {
|
|
|
13794
13794
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13795
13795
|
*/
|
|
13796
13796
|
static async fromJsonLd(json, options = {}) {
|
|
13797
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
13797
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13798
13798
|
try {
|
|
13799
13799
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
13800
13800
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14052,7 +14052,7 @@ var CryptographicKey = class {
|
|
|
14052
14052
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14053
14053
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14054
14054
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14055
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
14055
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14056
14056
|
let fetchResult;
|
|
14057
14057
|
try {
|
|
14058
14058
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14314,7 +14314,7 @@ var CryptographicKey = class {
|
|
|
14314
14314
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14315
14315
|
*/
|
|
14316
14316
|
static async fromJsonLd(json, options = {}) {
|
|
14317
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
14317
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14318
14318
|
try {
|
|
14319
14319
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
14320
14320
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14533,7 +14533,7 @@ var Multikey = class {
|
|
|
14533
14533
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14534
14534
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14535
14535
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14536
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
14536
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14537
14537
|
let fetchResult;
|
|
14538
14538
|
try {
|
|
14539
14539
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14801,7 +14801,7 @@ var Multikey = class {
|
|
|
14801
14801
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14802
14802
|
*/
|
|
14803
14803
|
static async fromJsonLd(json, options = {}) {
|
|
14804
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
14804
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14805
14805
|
try {
|
|
14806
14806
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
14807
14807
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15211,7 +15211,7 @@ var Intent = class {
|
|
|
15211
15211
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15212
15212
|
*/
|
|
15213
15213
|
static async fromJsonLd(json, options = {}) {
|
|
15214
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
15214
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15215
15215
|
try {
|
|
15216
15216
|
const object = await this.__fromJsonLd__Intent__(json, span, options);
|
|
15217
15217
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15650,7 +15650,7 @@ var Proposal = class Proposal extends Object$1 {
|
|
|
15650
15650
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15651
15651
|
*/
|
|
15652
15652
|
static async fromJsonLd(json, options = {}) {
|
|
15653
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
15653
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15654
15654
|
try {
|
|
15655
15655
|
const object = await this.__fromJsonLd__Proposal__(json, span, options);
|
|
15656
15656
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15881,7 +15881,7 @@ var Accept = class Accept extends Activity {
|
|
|
15881
15881
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15882
15882
|
*/
|
|
15883
15883
|
static async fromJsonLd(json, options = {}) {
|
|
15884
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
15884
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15885
15885
|
try {
|
|
15886
15886
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
15887
15887
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16035,7 +16035,7 @@ var Add = class Add extends Activity {
|
|
|
16035
16035
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16036
16036
|
*/
|
|
16037
16037
|
static async fromJsonLd(json, options = {}) {
|
|
16038
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
16038
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16039
16039
|
try {
|
|
16040
16040
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
16041
16041
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16216,7 +16216,7 @@ var Announce = class Announce extends Activity {
|
|
|
16216
16216
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16217
16217
|
*/
|
|
16218
16218
|
static async fromJsonLd(json, options = {}) {
|
|
16219
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
16219
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16220
16220
|
try {
|
|
16221
16221
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
16222
16222
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16613,7 +16613,7 @@ var Application = class Application extends Object$1 {
|
|
|
16613
16613
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16614
16614
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16615
16615
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16616
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
16616
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16617
16617
|
let fetchResult;
|
|
16618
16618
|
try {
|
|
16619
16619
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16775,7 +16775,7 @@ var Application = class Application extends Object$1 {
|
|
|
16775
16775
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16776
16776
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16777
16777
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16778
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
16778
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16779
16779
|
let fetchResult;
|
|
16780
16780
|
try {
|
|
16781
16781
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16955,7 +16955,7 @@ var Application = class Application extends Object$1 {
|
|
|
16955
16955
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16956
16956
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16957
16957
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16958
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
16958
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16959
16959
|
let fetchResult;
|
|
16960
16960
|
try {
|
|
16961
16961
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17097,7 +17097,7 @@ var Application = class Application extends Object$1 {
|
|
|
17097
17097
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17098
17098
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17099
17099
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17100
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17100
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17101
17101
|
let fetchResult;
|
|
17102
17102
|
try {
|
|
17103
17103
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17236,7 +17236,7 @@ var Application = class Application extends Object$1 {
|
|
|
17236
17236
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17237
17237
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17238
17238
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17239
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17239
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17240
17240
|
let fetchResult;
|
|
17241
17241
|
try {
|
|
17242
17242
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17360,7 +17360,7 @@ var Application = class Application extends Object$1 {
|
|
|
17360
17360
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17361
17361
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17362
17362
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17363
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17363
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17364
17364
|
let fetchResult;
|
|
17365
17365
|
try {
|
|
17366
17366
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17487,7 +17487,7 @@ var Application = class Application extends Object$1 {
|
|
|
17487
17487
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17488
17488
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17489
17489
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17490
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17490
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17491
17491
|
let fetchResult;
|
|
17492
17492
|
try {
|
|
17493
17493
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17612,7 +17612,7 @@ var Application = class Application extends Object$1 {
|
|
|
17612
17612
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17613
17613
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17614
17614
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17615
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17615
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17616
17616
|
let fetchResult;
|
|
17617
17617
|
try {
|
|
17618
17618
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17735,7 +17735,7 @@ var Application = class Application extends Object$1 {
|
|
|
17735
17735
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17736
17736
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17737
17737
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17738
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17738
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17739
17739
|
let fetchResult;
|
|
17740
17740
|
try {
|
|
17741
17741
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17858,7 +17858,7 @@ var Application = class Application extends Object$1 {
|
|
|
17858
17858
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17859
17859
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17860
17860
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17861
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
17861
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17862
17862
|
let fetchResult;
|
|
17863
17863
|
try {
|
|
17864
17864
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18020,7 +18020,7 @@ var Application = class Application extends Object$1 {
|
|
|
18020
18020
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18021
18021
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18022
18022
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18023
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18023
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18024
18024
|
let fetchResult;
|
|
18025
18025
|
try {
|
|
18026
18026
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18186,7 +18186,7 @@ var Application = class Application extends Object$1 {
|
|
|
18186
18186
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18187
18187
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18188
18188
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18189
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18189
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18190
18190
|
let fetchResult;
|
|
18191
18191
|
try {
|
|
18192
18192
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18400,7 +18400,7 @@ var Application = class Application extends Object$1 {
|
|
|
18400
18400
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
18401
18401
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
18402
18402
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
18403
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
18403
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
18404
18404
|
let fetchResult;
|
|
18405
18405
|
try {
|
|
18406
18406
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19085,7 +19085,7 @@ var Application = class Application extends Object$1 {
|
|
|
19085
19085
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19086
19086
|
*/
|
|
19087
19087
|
static async fromJsonLd(json, options = {}) {
|
|
19088
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
19088
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19089
19089
|
try {
|
|
19090
19090
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
19091
19091
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19763,7 +19763,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
19763
19763
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19764
19764
|
*/
|
|
19765
19765
|
static async fromJsonLd(json, options = {}) {
|
|
19766
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
19766
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19767
19767
|
try {
|
|
19768
19768
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
19769
19769
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19918,7 +19918,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
19918
19918
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19919
19919
|
*/
|
|
19920
19920
|
static async fromJsonLd(json, options = {}) {
|
|
19921
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
19921
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19922
19922
|
try {
|
|
19923
19923
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
19924
19924
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20050,7 +20050,7 @@ var Article = class Article extends Object$1 {
|
|
|
20050
20050
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20051
20051
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20052
20052
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20053
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
20053
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20054
20054
|
let fetchResult;
|
|
20055
20055
|
try {
|
|
20056
20056
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20188,7 +20188,7 @@ var Article = class Article extends Object$1 {
|
|
|
20188
20188
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20189
20189
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20190
20190
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20191
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
20191
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20192
20192
|
let fetchResult;
|
|
20193
20193
|
try {
|
|
20194
20194
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20474,7 +20474,7 @@ var Article = class Article extends Object$1 {
|
|
|
20474
20474
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20475
20475
|
*/
|
|
20476
20476
|
static async fromJsonLd(json, options = {}) {
|
|
20477
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
20477
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20478
20478
|
try {
|
|
20479
20479
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
20480
20480
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20769,7 +20769,7 @@ var Document = class Document extends Object$1 {
|
|
|
20769
20769
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20770
20770
|
*/
|
|
20771
20771
|
static async fromJsonLd(json, options = {}) {
|
|
20772
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
20772
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20773
20773
|
try {
|
|
20774
20774
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
20775
20775
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20974,7 +20974,7 @@ var Audio = class Audio extends Document {
|
|
|
20974
20974
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20975
20975
|
*/
|
|
20976
20976
|
static async fromJsonLd(json, options = {}) {
|
|
20977
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
20977
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20978
20978
|
try {
|
|
20979
20979
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
20980
20980
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21125,7 +21125,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
21125
21125
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21126
21126
|
*/
|
|
21127
21127
|
static async fromJsonLd(json, options = {}) {
|
|
21128
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
21128
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21129
21129
|
try {
|
|
21130
21130
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
21131
21131
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21279,7 +21279,7 @@ var Block = class Block extends Ignore {
|
|
|
21279
21279
|
* @throws {TypeError} If the given `json` is invalid.
|
|
21280
21280
|
*/
|
|
21281
21281
|
static async fromJsonLd(json, options = {}) {
|
|
21282
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
21282
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
21283
21283
|
try {
|
|
21284
21284
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
21285
21285
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21545,7 +21545,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21545
21545
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21546
21546
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21547
21547
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21548
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
21548
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21549
21549
|
let fetchResult;
|
|
21550
21550
|
try {
|
|
21551
21551
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21666,7 +21666,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21666
21666
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21667
21667
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21668
21668
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21669
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
21669
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21670
21670
|
let fetchResult;
|
|
21671
21671
|
try {
|
|
21672
21672
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21787,7 +21787,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21787
21787
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21788
21788
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21789
21789
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21790
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
21790
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21791
21791
|
let fetchResult;
|
|
21792
21792
|
try {
|
|
21793
21793
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21908,7 +21908,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21908
21908
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21909
21909
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21910
21910
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21911
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
21911
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21912
21912
|
let fetchResult;
|
|
21913
21913
|
try {
|
|
21914
21914
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22039,7 +22039,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22039
22039
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22040
22040
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22041
22041
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22042
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22042
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22043
22043
|
let fetchResult;
|
|
22044
22044
|
try {
|
|
22045
22045
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22159,7 +22159,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22159
22159
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22160
22160
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22161
22161
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22162
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22162
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22163
22163
|
let fetchResult;
|
|
22164
22164
|
try {
|
|
22165
22165
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22279,7 +22279,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22279
22279
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22280
22280
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22281
22281
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22282
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22282
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22283
22283
|
let fetchResult;
|
|
22284
22284
|
try {
|
|
22285
22285
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22399,7 +22399,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22399
22399
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22400
22400
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22401
22401
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22402
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22402
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22403
22403
|
let fetchResult;
|
|
22404
22404
|
try {
|
|
22405
22405
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22519,7 +22519,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22519
22519
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22520
22520
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22521
22521
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22522
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22522
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22523
22523
|
let fetchResult;
|
|
22524
22524
|
try {
|
|
22525
22525
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22639,7 +22639,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22639
22639
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22640
22640
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22641
22641
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22642
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22642
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22643
22643
|
let fetchResult;
|
|
22644
22644
|
try {
|
|
22645
22645
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22759,7 +22759,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22759
22759
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22760
22760
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22761
22761
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22762
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22762
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22763
22763
|
let fetchResult;
|
|
22764
22764
|
try {
|
|
22765
22765
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22879,7 +22879,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22879
22879
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22880
22880
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22881
22881
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22882
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
22882
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22883
22883
|
let fetchResult;
|
|
22884
22884
|
try {
|
|
22885
22885
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23328,7 +23328,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
23328
23328
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23329
23329
|
*/
|
|
23330
23330
|
static async fromJsonLd(json, options = {}) {
|
|
23331
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
23331
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23332
23332
|
try {
|
|
23333
23333
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
23334
23334
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23862,7 +23862,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
23862
23862
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23863
23863
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23864
23864
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23865
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23865
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23866
23866
|
let fetchResult;
|
|
23867
23867
|
try {
|
|
23868
23868
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23983,7 +23983,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
23983
23983
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23984
23984
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23985
23985
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23986
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
23986
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23987
23987
|
let fetchResult;
|
|
23988
23988
|
try {
|
|
23989
23989
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24103,7 +24103,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
24103
24103
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
24104
24104
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
24105
24105
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
24106
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
24106
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
24107
24107
|
let fetchResult;
|
|
24108
24108
|
try {
|
|
24109
24109
|
fetchResult = await documentLoader(url.href);
|
|
@@ -24389,7 +24389,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
24389
24389
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24390
24390
|
*/
|
|
24391
24391
|
static async fromJsonLd(json, options = {}) {
|
|
24392
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
24392
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24393
24393
|
try {
|
|
24394
24394
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
24395
24395
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24646,7 +24646,7 @@ var Create = class Create extends Activity {
|
|
|
24646
24646
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24647
24647
|
*/
|
|
24648
24648
|
static async fromJsonLd(json, options = {}) {
|
|
24649
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
24649
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24650
24650
|
try {
|
|
24651
24651
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
24652
24652
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24823,7 +24823,7 @@ var Delete = class Delete extends Activity {
|
|
|
24823
24823
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24824
24824
|
*/
|
|
24825
24825
|
static async fromJsonLd(json, options = {}) {
|
|
24826
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
24826
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24827
24827
|
try {
|
|
24828
24828
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
24829
24829
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24977,7 +24977,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
24977
24977
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24978
24978
|
*/
|
|
24979
24979
|
static async fromJsonLd(json, options = {}) {
|
|
24980
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
24980
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24981
24981
|
try {
|
|
24982
24982
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
24983
24983
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25336,7 +25336,7 @@ var Endpoints = class {
|
|
|
25336
25336
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25337
25337
|
*/
|
|
25338
25338
|
static async fromJsonLd(json, options = {}) {
|
|
25339
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25339
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25340
25340
|
try {
|
|
25341
25341
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
25342
25342
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25608,7 +25608,7 @@ var Event = class Event extends Object$1 {
|
|
|
25608
25608
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25609
25609
|
*/
|
|
25610
25610
|
static async fromJsonLd(json, options = {}) {
|
|
25611
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25611
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25612
25612
|
try {
|
|
25613
25613
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
25614
25614
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25760,7 +25760,7 @@ var Flag = class Flag extends Activity {
|
|
|
25760
25760
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25761
25761
|
*/
|
|
25762
25762
|
static async fromJsonLd(json, options = {}) {
|
|
25763
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25763
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25764
25764
|
try {
|
|
25765
25765
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
25766
25766
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25916,7 +25916,7 @@ var Follow = class Follow extends Activity {
|
|
|
25916
25916
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25917
25917
|
*/
|
|
25918
25918
|
static async fromJsonLd(json, options = {}) {
|
|
25919
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
25919
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25920
25920
|
try {
|
|
25921
25921
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
25922
25922
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26313,7 +26313,7 @@ var Group = class Group extends Object$1 {
|
|
|
26313
26313
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26314
26314
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26315
26315
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26316
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
26316
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26317
26317
|
let fetchResult;
|
|
26318
26318
|
try {
|
|
26319
26319
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26475,7 +26475,7 @@ var Group = class Group extends Object$1 {
|
|
|
26475
26475
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26476
26476
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26477
26477
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26478
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
26478
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26479
26479
|
let fetchResult;
|
|
26480
26480
|
try {
|
|
26481
26481
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26655,7 +26655,7 @@ var Group = class Group extends Object$1 {
|
|
|
26655
26655
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26656
26656
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26657
26657
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26658
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
26658
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26659
26659
|
let fetchResult;
|
|
26660
26660
|
try {
|
|
26661
26661
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26797,7 +26797,7 @@ var Group = class Group extends Object$1 {
|
|
|
26797
26797
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26798
26798
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26799
26799
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26800
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
26800
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26801
26801
|
let fetchResult;
|
|
26802
26802
|
try {
|
|
26803
26803
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26936,7 +26936,7 @@ var Group = class Group extends Object$1 {
|
|
|
26936
26936
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26937
26937
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26938
26938
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26939
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
26939
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26940
26940
|
let fetchResult;
|
|
26941
26941
|
try {
|
|
26942
26942
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27060,7 +27060,7 @@ var Group = class Group extends Object$1 {
|
|
|
27060
27060
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27061
27061
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27062
27062
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27063
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27063
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27064
27064
|
let fetchResult;
|
|
27065
27065
|
try {
|
|
27066
27066
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27187,7 +27187,7 @@ var Group = class Group extends Object$1 {
|
|
|
27187
27187
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27188
27188
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27189
27189
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27190
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27190
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27191
27191
|
let fetchResult;
|
|
27192
27192
|
try {
|
|
27193
27193
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27312,7 +27312,7 @@ var Group = class Group extends Object$1 {
|
|
|
27312
27312
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27313
27313
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27314
27314
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27315
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27315
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27316
27316
|
let fetchResult;
|
|
27317
27317
|
try {
|
|
27318
27318
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27435,7 +27435,7 @@ var Group = class Group extends Object$1 {
|
|
|
27435
27435
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27436
27436
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27437
27437
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27438
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27438
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27439
27439
|
let fetchResult;
|
|
27440
27440
|
try {
|
|
27441
27441
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27558,7 +27558,7 @@ var Group = class Group extends Object$1 {
|
|
|
27558
27558
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27559
27559
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27560
27560
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27561
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27561
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27562
27562
|
let fetchResult;
|
|
27563
27563
|
try {
|
|
27564
27564
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27720,7 +27720,7 @@ var Group = class Group extends Object$1 {
|
|
|
27720
27720
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27721
27721
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27722
27722
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27723
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27723
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27724
27724
|
let fetchResult;
|
|
27725
27725
|
try {
|
|
27726
27726
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27886,7 +27886,7 @@ var Group = class Group extends Object$1 {
|
|
|
27886
27886
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27887
27887
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27888
27888
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27889
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
27889
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27890
27890
|
let fetchResult;
|
|
27891
27891
|
try {
|
|
27892
27892
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28100,7 +28100,7 @@ var Group = class Group extends Object$1 {
|
|
|
28100
28100
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28101
28101
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28102
28102
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28103
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
28103
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28104
28104
|
let fetchResult;
|
|
28105
28105
|
try {
|
|
28106
28106
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28785,7 +28785,7 @@ var Group = class Group extends Object$1 {
|
|
|
28785
28785
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28786
28786
|
*/
|
|
28787
28787
|
static async fromJsonLd(json, options = {}) {
|
|
28788
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
28788
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28789
28789
|
try {
|
|
28790
28790
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
28791
28791
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29613,7 +29613,7 @@ var Link = class Link {
|
|
|
29613
29613
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29614
29614
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29615
29615
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29616
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
29616
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29617
29617
|
let fetchResult;
|
|
29618
29618
|
try {
|
|
29619
29619
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29905,7 +29905,7 @@ var Link = class Link {
|
|
|
29905
29905
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29906
29906
|
*/
|
|
29907
29907
|
static async fromJsonLd(json, options = {}) {
|
|
29908
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
29908
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29909
29909
|
try {
|
|
29910
29910
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
29911
29911
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30287,7 +30287,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
30287
30287
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30288
30288
|
*/
|
|
30289
30289
|
static async fromJsonLd(json, options = {}) {
|
|
30290
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
30290
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30291
30291
|
try {
|
|
30292
30292
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
30293
30293
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30451,7 +30451,7 @@ var Image = class Image extends Document {
|
|
|
30451
30451
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30452
30452
|
*/
|
|
30453
30453
|
static async fromJsonLd(json, options = {}) {
|
|
30454
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
30454
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30455
30455
|
try {
|
|
30456
30456
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
30457
30457
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30603,7 +30603,7 @@ var Offer = class Offer extends Activity {
|
|
|
30603
30603
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30604
30604
|
*/
|
|
30605
30605
|
static async fromJsonLd(json, options = {}) {
|
|
30606
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
30606
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30607
30607
|
try {
|
|
30608
30608
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
30609
30609
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30755,7 +30755,7 @@ var Invite = class Invite extends Offer {
|
|
|
30755
30755
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30756
30756
|
*/
|
|
30757
30757
|
static async fromJsonLd(json, options = {}) {
|
|
30758
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
30758
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30759
30759
|
try {
|
|
30760
30760
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
30761
30761
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30906,7 +30906,7 @@ var Join = class Join extends Activity {
|
|
|
30906
30906
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30907
30907
|
*/
|
|
30908
30908
|
static async fromJsonLd(json, options = {}) {
|
|
30909
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
30909
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30910
30910
|
try {
|
|
30911
30911
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
30912
30912
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31057,7 +31057,7 @@ var Leave = class Leave extends Activity {
|
|
|
31057
31057
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31058
31058
|
*/
|
|
31059
31059
|
static async fromJsonLd(json, options = {}) {
|
|
31060
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31060
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31061
31061
|
try {
|
|
31062
31062
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
31063
31063
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31212,7 +31212,7 @@ var Like = class Like extends Activity {
|
|
|
31212
31212
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31213
31213
|
*/
|
|
31214
31214
|
static async fromJsonLd(json, options = {}) {
|
|
31215
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31215
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31216
31216
|
try {
|
|
31217
31217
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
31218
31218
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31362,7 +31362,7 @@ var Listen = class Listen extends Activity {
|
|
|
31362
31362
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31363
31363
|
*/
|
|
31364
31364
|
static async fromJsonLd(json, options = {}) {
|
|
31365
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31365
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31366
31366
|
try {
|
|
31367
31367
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
31368
31368
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31515,7 +31515,7 @@ var Mention = class Mention extends Link {
|
|
|
31515
31515
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31516
31516
|
*/
|
|
31517
31517
|
static async fromJsonLd(json, options = {}) {
|
|
31518
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31518
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31519
31519
|
try {
|
|
31520
31520
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
31521
31521
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31667,7 +31667,7 @@ var Move = class Move extends Activity {
|
|
|
31667
31667
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31668
31668
|
*/
|
|
31669
31669
|
static async fromJsonLd(json, options = {}) {
|
|
31670
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
31670
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31671
31671
|
try {
|
|
31672
31672
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
31673
31673
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31800,7 +31800,7 @@ var Note = class Note extends Object$1 {
|
|
|
31800
31800
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31801
31801
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31802
31802
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31803
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
31803
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31804
31804
|
let fetchResult;
|
|
31805
31805
|
try {
|
|
31806
31806
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31938,7 +31938,7 @@ var Note = class Note extends Object$1 {
|
|
|
31938
31938
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31939
31939
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31940
31940
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31941
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
31941
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31942
31942
|
let fetchResult;
|
|
31943
31943
|
try {
|
|
31944
31944
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32224,7 +32224,7 @@ var Note = class Note extends Object$1 {
|
|
|
32224
32224
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32225
32225
|
*/
|
|
32226
32226
|
static async fromJsonLd(json, options = {}) {
|
|
32227
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32227
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32228
32228
|
try {
|
|
32229
32229
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
32230
32230
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32411,7 +32411,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
32411
32411
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32412
32412
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32413
32413
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32414
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
32414
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32415
32415
|
let fetchResult;
|
|
32416
32416
|
try {
|
|
32417
32417
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32681,7 +32681,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
32681
32681
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32682
32682
|
*/
|
|
32683
32683
|
static async fromJsonLd(json, options = {}) {
|
|
32684
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
32684
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32685
32685
|
try {
|
|
32686
32686
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
32687
32687
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32902,7 +32902,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
32902
32902
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32903
32903
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32904
32904
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32905
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
32905
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32906
32906
|
let fetchResult;
|
|
32907
32907
|
try {
|
|
32908
32908
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33195,7 +33195,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
33195
33195
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33196
33196
|
*/
|
|
33197
33197
|
static async fromJsonLd(json, options = {}) {
|
|
33198
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
33198
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33199
33199
|
try {
|
|
33200
33200
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
33201
33201
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33708,7 +33708,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33708
33708
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33709
33709
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33710
33710
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33711
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33711
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33712
33712
|
let fetchResult;
|
|
33713
33713
|
try {
|
|
33714
33714
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33870,7 +33870,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33870
33870
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33871
33871
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33872
33872
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33873
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
33873
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33874
33874
|
let fetchResult;
|
|
33875
33875
|
try {
|
|
33876
33876
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34050,7 +34050,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34050
34050
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34051
34051
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34052
34052
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34053
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34053
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34054
34054
|
let fetchResult;
|
|
34055
34055
|
try {
|
|
34056
34056
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34192,7 +34192,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34192
34192
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34193
34193
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34194
34194
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34195
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34195
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34196
34196
|
let fetchResult;
|
|
34197
34197
|
try {
|
|
34198
34198
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34331,7 +34331,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34331
34331
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34332
34332
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34333
34333
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34334
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34334
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34335
34335
|
let fetchResult;
|
|
34336
34336
|
try {
|
|
34337
34337
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34455,7 +34455,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34455
34455
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34456
34456
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34457
34457
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34458
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34458
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34459
34459
|
let fetchResult;
|
|
34460
34460
|
try {
|
|
34461
34461
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34582,7 +34582,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34582
34582
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34583
34583
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34584
34584
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34585
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34585
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34586
34586
|
let fetchResult;
|
|
34587
34587
|
try {
|
|
34588
34588
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34707,7 +34707,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34707
34707
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34708
34708
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34709
34709
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34710
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34710
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34711
34711
|
let fetchResult;
|
|
34712
34712
|
try {
|
|
34713
34713
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34830,7 +34830,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34830
34830
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34831
34831
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34832
34832
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34833
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34833
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34834
34834
|
let fetchResult;
|
|
34835
34835
|
try {
|
|
34836
34836
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34953,7 +34953,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34953
34953
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34954
34954
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34955
34955
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34956
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
34956
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34957
34957
|
let fetchResult;
|
|
34958
34958
|
try {
|
|
34959
34959
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35115,7 +35115,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35115
35115
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35116
35116
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35117
35117
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35118
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35118
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35119
35119
|
let fetchResult;
|
|
35120
35120
|
try {
|
|
35121
35121
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35281,7 +35281,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35281
35281
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35282
35282
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35283
35283
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35284
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35284
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35285
35285
|
let fetchResult;
|
|
35286
35286
|
try {
|
|
35287
35287
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35495,7 +35495,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35495
35495
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35496
35496
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35497
35497
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35498
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
35498
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35499
35499
|
let fetchResult;
|
|
35500
35500
|
try {
|
|
35501
35501
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36180,7 +36180,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
36180
36180
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36181
36181
|
*/
|
|
36182
36182
|
static async fromJsonLd(json, options = {}) {
|
|
36183
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
36183
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36184
36184
|
try {
|
|
36185
36185
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
36186
36186
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36870,7 +36870,7 @@ var Page = class Page extends Document {
|
|
|
36870
36870
|
* @throws {TypeError} If the given `json` is invalid.
|
|
36871
36871
|
*/
|
|
36872
36872
|
static async fromJsonLd(json, options = {}) {
|
|
36873
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
36873
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
36874
36874
|
try {
|
|
36875
36875
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
36876
36876
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -37267,7 +37267,7 @@ var Person = class Person extends Object$1 {
|
|
|
37267
37267
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37268
37268
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37269
37269
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37270
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
37270
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37271
37271
|
let fetchResult;
|
|
37272
37272
|
try {
|
|
37273
37273
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37429,7 +37429,7 @@ var Person = class Person extends Object$1 {
|
|
|
37429
37429
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37430
37430
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37431
37431
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37432
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
37432
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37433
37433
|
let fetchResult;
|
|
37434
37434
|
try {
|
|
37435
37435
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37609,7 +37609,7 @@ var Person = class Person extends Object$1 {
|
|
|
37609
37609
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37610
37610
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37611
37611
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37612
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
37612
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37613
37613
|
let fetchResult;
|
|
37614
37614
|
try {
|
|
37615
37615
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37751,7 +37751,7 @@ var Person = class Person extends Object$1 {
|
|
|
37751
37751
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37752
37752
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37753
37753
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37754
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
37754
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37755
37755
|
let fetchResult;
|
|
37756
37756
|
try {
|
|
37757
37757
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37890,7 +37890,7 @@ var Person = class Person extends Object$1 {
|
|
|
37890
37890
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37891
37891
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37892
37892
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37893
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
37893
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37894
37894
|
let fetchResult;
|
|
37895
37895
|
try {
|
|
37896
37896
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38014,7 +38014,7 @@ var Person = class Person extends Object$1 {
|
|
|
38014
38014
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38015
38015
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38016
38016
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38017
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38017
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38018
38018
|
let fetchResult;
|
|
38019
38019
|
try {
|
|
38020
38020
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38141,7 +38141,7 @@ var Person = class Person extends Object$1 {
|
|
|
38141
38141
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38142
38142
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38143
38143
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38144
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38144
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38145
38145
|
let fetchResult;
|
|
38146
38146
|
try {
|
|
38147
38147
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38266,7 +38266,7 @@ var Person = class Person extends Object$1 {
|
|
|
38266
38266
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38267
38267
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38268
38268
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38269
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38269
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38270
38270
|
let fetchResult;
|
|
38271
38271
|
try {
|
|
38272
38272
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38389,7 +38389,7 @@ var Person = class Person extends Object$1 {
|
|
|
38389
38389
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38390
38390
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38391
38391
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38392
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38392
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38393
38393
|
let fetchResult;
|
|
38394
38394
|
try {
|
|
38395
38395
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38512,7 +38512,7 @@ var Person = class Person extends Object$1 {
|
|
|
38512
38512
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38513
38513
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38514
38514
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38515
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38515
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38516
38516
|
let fetchResult;
|
|
38517
38517
|
try {
|
|
38518
38518
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38674,7 +38674,7 @@ var Person = class Person extends Object$1 {
|
|
|
38674
38674
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38675
38675
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38676
38676
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38677
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38677
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38678
38678
|
let fetchResult;
|
|
38679
38679
|
try {
|
|
38680
38680
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38840,7 +38840,7 @@ var Person = class Person extends Object$1 {
|
|
|
38840
38840
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38841
38841
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38842
38842
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38843
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
38843
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38844
38844
|
let fetchResult;
|
|
38845
38845
|
try {
|
|
38846
38846
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39054,7 +39054,7 @@ var Person = class Person extends Object$1 {
|
|
|
39054
39054
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39055
39055
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39056
39056
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39057
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
39057
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39058
39058
|
let fetchResult;
|
|
39059
39059
|
try {
|
|
39060
39060
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39739,7 +39739,7 @@ var Person = class Person extends Object$1 {
|
|
|
39739
39739
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39740
39740
|
*/
|
|
39741
39741
|
static async fromJsonLd(json, options = {}) {
|
|
39742
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
39742
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39743
39743
|
try {
|
|
39744
39744
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
39745
39745
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40606,7 +40606,7 @@ var Place = class Place extends Object$1 {
|
|
|
40606
40606
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40607
40607
|
*/
|
|
40608
40608
|
static async fromJsonLd(json, options = {}) {
|
|
40609
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
40609
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40610
40610
|
try {
|
|
40611
40611
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
40612
40612
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40833,7 +40833,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
40833
40833
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40834
40834
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40835
40835
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40836
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
40836
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40837
40837
|
let fetchResult;
|
|
40838
40838
|
try {
|
|
40839
40839
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41034,7 +41034,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
41034
41034
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41035
41035
|
*/
|
|
41036
41036
|
static async fromJsonLd(json, options = {}) {
|
|
41037
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
41037
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41038
41038
|
try {
|
|
41039
41039
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
41040
41040
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41237,7 +41237,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
41237
41237
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41238
41238
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41239
41239
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41240
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
41240
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41241
41241
|
let fetchResult;
|
|
41242
41242
|
try {
|
|
41243
41243
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41359,7 +41359,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
41359
41359
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41360
41360
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41361
41361
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41362
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
41362
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41363
41363
|
let fetchResult;
|
|
41364
41364
|
try {
|
|
41365
41365
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41497,7 +41497,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
41497
41497
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41498
41498
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41499
41499
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41500
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
41500
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41501
41501
|
let fetchResult;
|
|
41502
41502
|
try {
|
|
41503
41503
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41635,7 +41635,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
41635
41635
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41636
41636
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41637
41637
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41638
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
41638
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41639
41639
|
let fetchResult;
|
|
41640
41640
|
try {
|
|
41641
41641
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41887,7 +41887,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
41887
41887
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41888
41888
|
*/
|
|
41889
41889
|
static async fromJsonLd(json, options = {}) {
|
|
41890
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
41890
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41891
41891
|
try {
|
|
41892
41892
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
41893
41893
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42194,7 +42194,7 @@ var Read = class Read extends Activity {
|
|
|
42194
42194
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42195
42195
|
*/
|
|
42196
42196
|
static async fromJsonLd(json, options = {}) {
|
|
42197
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
42197
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42198
42198
|
try {
|
|
42199
42199
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
42200
42200
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42345,7 +42345,7 @@ var Reject = class Reject extends Activity {
|
|
|
42345
42345
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42346
42346
|
*/
|
|
42347
42347
|
static async fromJsonLd(json, options = {}) {
|
|
42348
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
42348
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42349
42349
|
try {
|
|
42350
42350
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
42351
42351
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42520,7 +42520,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
42520
42520
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42521
42521
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42522
42522
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42523
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42523
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42524
42524
|
let fetchResult;
|
|
42525
42525
|
try {
|
|
42526
42526
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42643,7 +42643,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
42643
42643
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42644
42644
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42645
42645
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42646
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42646
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42647
42647
|
let fetchResult;
|
|
42648
42648
|
try {
|
|
42649
42649
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42805,7 +42805,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
42805
42805
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42806
42806
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42807
42807
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42808
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
42808
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42809
42809
|
let fetchResult;
|
|
42810
42810
|
try {
|
|
42811
42811
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43083,7 +43083,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
43083
43083
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43084
43084
|
*/
|
|
43085
43085
|
static async fromJsonLd(json, options = {}) {
|
|
43086
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
43086
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43087
43087
|
try {
|
|
43088
43088
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
43089
43089
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43312,7 +43312,7 @@ var Remove = class Remove extends Activity {
|
|
|
43312
43312
|
* @throws {TypeError} If the given `json` is invalid.
|
|
43313
43313
|
*/
|
|
43314
43314
|
static async fromJsonLd(json, options = {}) {
|
|
43315
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
43315
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
43316
43316
|
try {
|
|
43317
43317
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
43318
43318
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -43709,7 +43709,7 @@ var Service = class Service extends Object$1 {
|
|
|
43709
43709
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43710
43710
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43711
43711
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43712
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
43712
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43713
43713
|
let fetchResult;
|
|
43714
43714
|
try {
|
|
43715
43715
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43871,7 +43871,7 @@ var Service = class Service extends Object$1 {
|
|
|
43871
43871
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43872
43872
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43873
43873
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43874
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
43874
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43875
43875
|
let fetchResult;
|
|
43876
43876
|
try {
|
|
43877
43877
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44051,7 +44051,7 @@ var Service = class Service extends Object$1 {
|
|
|
44051
44051
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44052
44052
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44053
44053
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44054
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44054
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44055
44055
|
let fetchResult;
|
|
44056
44056
|
try {
|
|
44057
44057
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44193,7 +44193,7 @@ var Service = class Service extends Object$1 {
|
|
|
44193
44193
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44194
44194
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44195
44195
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44196
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44196
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44197
44197
|
let fetchResult;
|
|
44198
44198
|
try {
|
|
44199
44199
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44332,7 +44332,7 @@ var Service = class Service extends Object$1 {
|
|
|
44332
44332
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44333
44333
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44334
44334
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44335
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44335
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44336
44336
|
let fetchResult;
|
|
44337
44337
|
try {
|
|
44338
44338
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44456,7 +44456,7 @@ var Service = class Service extends Object$1 {
|
|
|
44456
44456
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44457
44457
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44458
44458
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44459
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44459
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44460
44460
|
let fetchResult;
|
|
44461
44461
|
try {
|
|
44462
44462
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44583,7 +44583,7 @@ var Service = class Service extends Object$1 {
|
|
|
44583
44583
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44584
44584
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44585
44585
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44586
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44586
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44587
44587
|
let fetchResult;
|
|
44588
44588
|
try {
|
|
44589
44589
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44708,7 +44708,7 @@ var Service = class Service extends Object$1 {
|
|
|
44708
44708
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44709
44709
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44710
44710
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44711
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44711
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44712
44712
|
let fetchResult;
|
|
44713
44713
|
try {
|
|
44714
44714
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44831,7 +44831,7 @@ var Service = class Service extends Object$1 {
|
|
|
44831
44831
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44832
44832
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44833
44833
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44834
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44834
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44835
44835
|
let fetchResult;
|
|
44836
44836
|
try {
|
|
44837
44837
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44954,7 +44954,7 @@ var Service = class Service extends Object$1 {
|
|
|
44954
44954
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44955
44955
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44956
44956
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44957
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
44957
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44958
44958
|
let fetchResult;
|
|
44959
44959
|
try {
|
|
44960
44960
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45116,7 +45116,7 @@ var Service = class Service extends Object$1 {
|
|
|
45116
45116
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45117
45117
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45118
45118
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45119
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
45119
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45120
45120
|
let fetchResult;
|
|
45121
45121
|
try {
|
|
45122
45122
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45282,7 +45282,7 @@ var Service = class Service extends Object$1 {
|
|
|
45282
45282
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45283
45283
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45284
45284
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45285
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
45285
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45286
45286
|
let fetchResult;
|
|
45287
45287
|
try {
|
|
45288
45288
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45496,7 +45496,7 @@ var Service = class Service extends Object$1 {
|
|
|
45496
45496
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
45497
45497
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
45498
45498
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
45499
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.
|
|
45499
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
45500
45500
|
let fetchResult;
|
|
45501
45501
|
try {
|
|
45502
45502
|
fetchResult = await documentLoader(url.href);
|
|
@@ -46181,7 +46181,7 @@ var Service = class Service extends Object$1 {
|
|
|
46181
46181
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46182
46182
|
*/
|
|
46183
46183
|
static async fromJsonLd(json, options = {}) {
|
|
46184
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
46184
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46185
46185
|
try {
|
|
46186
46186
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
46187
46187
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46965,7 +46965,7 @@ var Source = class {
|
|
|
46965
46965
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46966
46966
|
*/
|
|
46967
46967
|
static async fromJsonLd(json, options = {}) {
|
|
46968
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
46968
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46969
46969
|
try {
|
|
46970
46970
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
46971
46971
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -47153,7 +47153,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
47153
47153
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47154
47154
|
*/
|
|
47155
47155
|
static async fromJsonLd(json, options = {}) {
|
|
47156
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
47156
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47157
47157
|
try {
|
|
47158
47158
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
47159
47159
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -47304,7 +47304,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
47304
47304
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47305
47305
|
*/
|
|
47306
47306
|
static async fromJsonLd(json, options = {}) {
|
|
47307
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
47307
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47308
47308
|
try {
|
|
47309
47309
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
47310
47310
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -47544,7 +47544,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
47544
47544
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47545
47545
|
*/
|
|
47546
47546
|
static async fromJsonLd(json, options = {}) {
|
|
47547
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
47547
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47548
47548
|
try {
|
|
47549
47549
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
47550
47550
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -47740,7 +47740,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
47740
47740
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47741
47741
|
*/
|
|
47742
47742
|
static async fromJsonLd(json, options = {}) {
|
|
47743
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
47743
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47744
47744
|
try {
|
|
47745
47745
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
47746
47746
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -47905,7 +47905,7 @@ var Undo = class Undo extends Activity {
|
|
|
47905
47905
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47906
47906
|
*/
|
|
47907
47907
|
static async fromJsonLd(json, options = {}) {
|
|
47908
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
47908
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47909
47909
|
try {
|
|
47910
47910
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
47911
47911
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48118,7 +48118,7 @@ var Update = class Update extends Activity {
|
|
|
48118
48118
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48119
48119
|
*/
|
|
48120
48120
|
static async fromJsonLd(json, options = {}) {
|
|
48121
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
48121
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48122
48122
|
try {
|
|
48123
48123
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
48124
48124
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48282,7 +48282,7 @@ var Video = class Video extends Document {
|
|
|
48282
48282
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48283
48283
|
*/
|
|
48284
48284
|
static async fromJsonLd(json, options = {}) {
|
|
48285
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
48285
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48286
48286
|
try {
|
|
48287
48287
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
48288
48288
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -48432,7 +48432,7 @@ var View = class View extends Activity {
|
|
|
48432
48432
|
* @throws {TypeError} If the given `json` is invalid.
|
|
48433
48433
|
*/
|
|
48434
48434
|
static async fromJsonLd(json, options = {}) {
|
|
48435
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.
|
|
48435
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.9").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
48436
48436
|
try {
|
|
48437
48437
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
48438
48438
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|