@fedify/vocab 2.2.0 → 2.3.0-dev.1005
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-4Elj4eqt.mjs → deno-Dx2AD4O-.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-DKp-OcRQ.mjs → vocab-C7fgfBaH.mjs} +216 -216
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
package/dist/mod.js
CHANGED
|
@@ -8,7 +8,7 @@ import { LanguageString, LanguageString as LanguageString$1, decodeMultibase, en
|
|
|
8
8
|
import { delay } from "es-toolkit";
|
|
9
9
|
//#region deno.json
|
|
10
10
|
var name = "@fedify/vocab";
|
|
11
|
-
var version = "2.
|
|
11
|
+
var version = "2.3.0-dev.1005+16f9539d";
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/type.ts
|
|
14
14
|
function getTypeId(object) {
|
|
@@ -672,7 +672,7 @@ var Object$1 = class Object$1 {
|
|
|
672
672
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
673
673
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
674
674
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
675
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
675
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
676
676
|
let fetchResult;
|
|
677
677
|
try {
|
|
678
678
|
fetchResult = await documentLoader(url.href);
|
|
@@ -818,7 +818,7 @@ var Object$1 = class Object$1 {
|
|
|
818
818
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
819
819
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
820
820
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
821
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
821
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
822
822
|
let fetchResult;
|
|
823
823
|
try {
|
|
824
824
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1030,7 +1030,7 @@ var Object$1 = class Object$1 {
|
|
|
1030
1030
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1031
1031
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1032
1032
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1033
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
1033
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1034
1034
|
let fetchResult;
|
|
1035
1035
|
try {
|
|
1036
1036
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1214,7 +1214,7 @@ var Object$1 = class Object$1 {
|
|
|
1214
1214
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1215
1215
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1216
1216
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1217
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
1217
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1218
1218
|
let fetchResult;
|
|
1219
1219
|
try {
|
|
1220
1220
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1376,7 +1376,7 @@ var Object$1 = class Object$1 {
|
|
|
1376
1376
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1377
1377
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1378
1378
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1379
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
1379
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1380
1380
|
let fetchResult;
|
|
1381
1381
|
try {
|
|
1382
1382
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1506,7 +1506,7 @@ var Object$1 = class Object$1 {
|
|
|
1506
1506
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1507
1507
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1508
1508
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1509
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
1509
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1510
1510
|
let fetchResult;
|
|
1511
1511
|
try {
|
|
1512
1512
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1672,7 +1672,7 @@ var Object$1 = class Object$1 {
|
|
|
1672
1672
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1673
1673
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1674
1674
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1675
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
1675
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1676
1676
|
let fetchResult;
|
|
1677
1677
|
try {
|
|
1678
1678
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1838,7 +1838,7 @@ var Object$1 = class Object$1 {
|
|
|
1838
1838
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1839
1839
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1840
1840
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1841
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
1841
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1842
1842
|
let fetchResult;
|
|
1843
1843
|
try {
|
|
1844
1844
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2012,7 +2012,7 @@ var Object$1 = class Object$1 {
|
|
|
2012
2012
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2013
2013
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2014
2014
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2015
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
2015
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2016
2016
|
let fetchResult;
|
|
2017
2017
|
try {
|
|
2018
2018
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2186,7 +2186,7 @@ var Object$1 = class Object$1 {
|
|
|
2186
2186
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2187
2187
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2188
2188
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2189
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
2189
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2190
2190
|
let fetchResult;
|
|
2191
2191
|
try {
|
|
2192
2192
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2365,7 +2365,7 @@ var Object$1 = class Object$1 {
|
|
|
2365
2365
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2366
2366
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2367
2367
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2368
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
2368
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2369
2369
|
let fetchResult;
|
|
2370
2370
|
try {
|
|
2371
2371
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2486,7 +2486,7 @@ var Object$1 = class Object$1 {
|
|
|
2486
2486
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2487
2487
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2488
2488
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2489
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
2489
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2490
2490
|
let fetchResult;
|
|
2491
2491
|
try {
|
|
2492
2492
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2613,7 +2613,7 @@ var Object$1 = class Object$1 {
|
|
|
2613
2613
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2614
2614
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2615
2615
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2616
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
2616
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2617
2617
|
let fetchResult;
|
|
2618
2618
|
try {
|
|
2619
2619
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2740,7 +2740,7 @@ var Object$1 = class Object$1 {
|
|
|
2740
2740
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2741
2741
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2742
2742
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2743
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
2743
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2744
2744
|
let fetchResult;
|
|
2745
2745
|
try {
|
|
2746
2746
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2885,7 +2885,7 @@ var Object$1 = class Object$1 {
|
|
|
2885
2885
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2886
2886
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2887
2887
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2888
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
2888
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2889
2889
|
let fetchResult;
|
|
2890
2890
|
try {
|
|
2891
2891
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3037,7 +3037,7 @@ var Object$1 = class Object$1 {
|
|
|
3037
3037
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3038
3038
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3039
3039
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3040
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
3040
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3041
3041
|
let fetchResult;
|
|
3042
3042
|
try {
|
|
3043
3043
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3201,7 +3201,7 @@ var Object$1 = class Object$1 {
|
|
|
3201
3201
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3202
3202
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3203
3203
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3204
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
3204
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3205
3205
|
let fetchResult;
|
|
3206
3206
|
try {
|
|
3207
3207
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3365,7 +3365,7 @@ var Object$1 = class Object$1 {
|
|
|
3365
3365
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3366
3366
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3367
3367
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3368
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
3368
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3369
3369
|
let fetchResult;
|
|
3370
3370
|
try {
|
|
3371
3371
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3529,7 +3529,7 @@ var Object$1 = class Object$1 {
|
|
|
3529
3529
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3530
3530
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3531
3531
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3532
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
3532
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3533
3533
|
let fetchResult;
|
|
3534
3534
|
try {
|
|
3535
3535
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3730,7 +3730,7 @@ var Object$1 = class Object$1 {
|
|
|
3730
3730
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3731
3731
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3732
3732
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3733
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
3733
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3734
3734
|
let fetchResult;
|
|
3735
3735
|
try {
|
|
3736
3736
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3917,7 +3917,7 @@ var Object$1 = class Object$1 {
|
|
|
3917
3917
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3918
3918
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3919
3919
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3920
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
3920
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3921
3921
|
let fetchResult;
|
|
3922
3922
|
try {
|
|
3923
3923
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4038,7 +4038,7 @@ var Object$1 = class Object$1 {
|
|
|
4038
4038
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4039
4039
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4040
4040
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4041
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
4041
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4042
4042
|
let fetchResult;
|
|
4043
4043
|
try {
|
|
4044
4044
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4159,7 +4159,7 @@ var Object$1 = class Object$1 {
|
|
|
4159
4159
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4160
4160
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4161
4161
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4162
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
4162
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4163
4163
|
let fetchResult;
|
|
4164
4164
|
try {
|
|
4165
4165
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4986,7 +4986,7 @@ var Object$1 = class Object$1 {
|
|
|
4986
4986
|
* @throws {TypeError} If the given `json` is invalid.
|
|
4987
4987
|
*/
|
|
4988
4988
|
static async fromJsonLd(json, options = {}) {
|
|
4989
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
4989
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
4990
4990
|
try {
|
|
4991
4991
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
4992
4992
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6436,7 +6436,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
6436
6436
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6437
6437
|
*/
|
|
6438
6438
|
static async fromJsonLd(json, options = {}) {
|
|
6439
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
6439
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6440
6440
|
try {
|
|
6441
6441
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
6442
6442
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6570,7 +6570,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6570
6570
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6571
6571
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6572
6572
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6573
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
6573
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6574
6574
|
let fetchResult;
|
|
6575
6575
|
try {
|
|
6576
6576
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6708,7 +6708,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6708
6708
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6709
6709
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6710
6710
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6711
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
6711
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6712
6712
|
let fetchResult;
|
|
6713
6713
|
try {
|
|
6714
6714
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6992,7 +6992,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6992
6992
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6993
6993
|
*/
|
|
6994
6994
|
static async fromJsonLd(json, options = {}) {
|
|
6995
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
6995
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6996
6996
|
try {
|
|
6997
6997
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
6998
6998
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7317,7 +7317,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7317
7317
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7318
7318
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7319
7319
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7320
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
7320
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7321
7321
|
let fetchResult;
|
|
7322
7322
|
try {
|
|
7323
7323
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7529,7 +7529,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7529
7529
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7530
7530
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7531
7531
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7532
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
7532
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7533
7533
|
let fetchResult;
|
|
7534
7534
|
try {
|
|
7535
7535
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7695,7 +7695,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7695
7695
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7696
7696
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7697
7697
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7698
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
7698
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7699
7699
|
let fetchResult;
|
|
7700
7700
|
try {
|
|
7701
7701
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7867,7 +7867,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7867
7867
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7868
7868
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7869
7869
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7870
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
7870
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7871
7871
|
let fetchResult;
|
|
7872
7872
|
try {
|
|
7873
7873
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8033,7 +8033,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8033
8033
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8034
8034
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8035
8035
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8036
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
8036
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8037
8037
|
let fetchResult;
|
|
8038
8038
|
try {
|
|
8039
8039
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8201,7 +8201,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8201
8201
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8202
8202
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8203
8203
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8204
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
8204
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8205
8205
|
let fetchResult;
|
|
8206
8206
|
try {
|
|
8207
8207
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8452,7 +8452,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8452
8452
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8453
8453
|
*/
|
|
8454
8454
|
static async fromJsonLd(json, options = {}) {
|
|
8455
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
8455
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8456
8456
|
try {
|
|
8457
8457
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
8458
8458
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8785,7 +8785,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
8785
8785
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8786
8786
|
*/
|
|
8787
8787
|
static async fromJsonLd(json, options = {}) {
|
|
8788
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
8788
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8789
8789
|
try {
|
|
8790
8790
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
8791
8791
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9031,7 +9031,7 @@ var PropertyValue = class {
|
|
|
9031
9031
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9032
9032
|
*/
|
|
9033
9033
|
static async fromJsonLd(json, options = {}) {
|
|
9034
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
9034
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9035
9035
|
try {
|
|
9036
9036
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
9037
9037
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9296,7 +9296,7 @@ var Measure = class {
|
|
|
9296
9296
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9297
9297
|
*/
|
|
9298
9298
|
static async fromJsonLd(json, options = {}) {
|
|
9299
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
9299
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9300
9300
|
try {
|
|
9301
9301
|
const object = await this.__fromJsonLd__Measure__(json, span, options);
|
|
9302
9302
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9456,7 +9456,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9456
9456
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9457
9457
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9458
9458
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9459
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
9459
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9460
9460
|
let fetchResult;
|
|
9461
9461
|
try {
|
|
9462
9462
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9577,7 +9577,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9577
9577
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9578
9578
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9579
9579
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9580
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
9580
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9581
9581
|
let fetchResult;
|
|
9582
9582
|
try {
|
|
9583
9583
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9793,7 +9793,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9793
9793
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9794
9794
|
*/
|
|
9795
9795
|
static async fromJsonLd(json, options = {}) {
|
|
9796
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
9796
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9797
9797
|
try {
|
|
9798
9798
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
9799
9799
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9994,7 +9994,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
9994
9994
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9995
9995
|
*/
|
|
9996
9996
|
static async fromJsonLd(json, options = {}) {
|
|
9997
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
9997
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9998
9998
|
try {
|
|
9999
9999
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
10000
10000
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10258,7 +10258,7 @@ var InteractionPolicy = class {
|
|
|
10258
10258
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10259
10259
|
*/
|
|
10260
10260
|
static async fromJsonLd(json, options = {}) {
|
|
10261
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
10261
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10262
10262
|
try {
|
|
10263
10263
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
10264
10264
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10583,7 +10583,7 @@ var InteractionRule = class {
|
|
|
10583
10583
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10584
10584
|
*/
|
|
10585
10585
|
static async fromJsonLd(json, options = {}) {
|
|
10586
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
10586
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10587
10587
|
try {
|
|
10588
10588
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
10589
10589
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10744,7 +10744,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10744
10744
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10745
10745
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10746
10746
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10747
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
10747
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10748
10748
|
let fetchResult;
|
|
10749
10749
|
try {
|
|
10750
10750
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10865,7 +10865,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10865
10865
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10866
10866
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10867
10867
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10868
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
10868
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10869
10869
|
let fetchResult;
|
|
10870
10870
|
try {
|
|
10871
10871
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11081,7 +11081,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11081
11081
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11082
11082
|
*/
|
|
11083
11083
|
static async fromJsonLd(json, options = {}) {
|
|
11084
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
11084
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11085
11085
|
try {
|
|
11086
11086
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
11087
11087
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11281,7 +11281,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
11281
11281
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11282
11282
|
*/
|
|
11283
11283
|
static async fromJsonLd(json, options = {}) {
|
|
11284
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
11284
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11285
11285
|
try {
|
|
11286
11286
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
11287
11287
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11412,7 +11412,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11412
11412
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11413
11413
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11414
11414
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11415
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
11415
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11416
11416
|
let fetchResult;
|
|
11417
11417
|
try {
|
|
11418
11418
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11533,7 +11533,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11533
11533
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11534
11534
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11535
11535
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11536
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
11536
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11537
11537
|
let fetchResult;
|
|
11538
11538
|
try {
|
|
11539
11539
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11749,7 +11749,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11749
11749
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11750
11750
|
*/
|
|
11751
11751
|
static async fromJsonLd(json, options = {}) {
|
|
11752
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
11752
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11753
11753
|
try {
|
|
11754
11754
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
11755
11755
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11949,7 +11949,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
11949
11949
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11950
11950
|
*/
|
|
11951
11951
|
static async fromJsonLd(json, options = {}) {
|
|
11952
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
11952
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11953
11953
|
try {
|
|
11954
11954
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
11955
11955
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12080,7 +12080,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
12080
12080
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12081
12081
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12082
12082
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12083
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
12083
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12084
12084
|
let fetchResult;
|
|
12085
12085
|
try {
|
|
12086
12086
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12200,7 +12200,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
12200
12200
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12201
12201
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12202
12202
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12203
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
12203
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12204
12204
|
let fetchResult;
|
|
12205
12205
|
try {
|
|
12206
12206
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12418,7 +12418,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
12418
12418
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12419
12419
|
*/
|
|
12420
12420
|
static async fromJsonLd(json, options = {}) {
|
|
12421
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
12421
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12422
12422
|
try {
|
|
12423
12423
|
const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
|
|
12424
12424
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12648,7 +12648,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
|
|
|
12648
12648
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12649
12649
|
*/
|
|
12650
12650
|
static async fromJsonLd(json, options = {}) {
|
|
12651
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
12651
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12652
12652
|
try {
|
|
12653
12653
|
const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
|
|
12654
12654
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12854,7 +12854,7 @@ var DidService = class {
|
|
|
12854
12854
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12855
12855
|
*/
|
|
12856
12856
|
static async fromJsonLd(json, options = {}) {
|
|
12857
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
12857
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12858
12858
|
try {
|
|
12859
12859
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
12860
12860
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13010,7 +13010,7 @@ var Export = class Export extends DidService {
|
|
|
13010
13010
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13011
13011
|
*/
|
|
13012
13012
|
static async fromJsonLd(json, options = {}) {
|
|
13013
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
13013
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13014
13014
|
try {
|
|
13015
13015
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
13016
13016
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13183,7 +13183,7 @@ var DataIntegrityProof = class {
|
|
|
13183
13183
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13184
13184
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13185
13185
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13186
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
13186
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13187
13187
|
let fetchResult;
|
|
13188
13188
|
try {
|
|
13189
13189
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13402,7 +13402,7 @@ var DataIntegrityProof = class {
|
|
|
13402
13402
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13403
13403
|
*/
|
|
13404
13404
|
static async fromJsonLd(json, options = {}) {
|
|
13405
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
13405
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13406
13406
|
try {
|
|
13407
13407
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
13408
13408
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13626,7 +13626,7 @@ var CryptographicKey = class {
|
|
|
13626
13626
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13627
13627
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13628
13628
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13629
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
13629
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13630
13630
|
let fetchResult;
|
|
13631
13631
|
try {
|
|
13632
13632
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13888,7 +13888,7 @@ var CryptographicKey = class {
|
|
|
13888
13888
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13889
13889
|
*/
|
|
13890
13890
|
static async fromJsonLd(json, options = {}) {
|
|
13891
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
13891
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13892
13892
|
try {
|
|
13893
13893
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
13894
13894
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14085,7 +14085,7 @@ var Multikey = class {
|
|
|
14085
14085
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14086
14086
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14087
14087
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14088
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
14088
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14089
14089
|
let fetchResult;
|
|
14090
14090
|
try {
|
|
14091
14091
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14353,7 +14353,7 @@ var Multikey = class {
|
|
|
14353
14353
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14354
14354
|
*/
|
|
14355
14355
|
static async fromJsonLd(json, options = {}) {
|
|
14356
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
14356
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14357
14357
|
try {
|
|
14358
14358
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
14359
14359
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14741,7 +14741,7 @@ var Intent = class {
|
|
|
14741
14741
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14742
14742
|
*/
|
|
14743
14743
|
static async fromJsonLd(json, options = {}) {
|
|
14744
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
14744
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14745
14745
|
try {
|
|
14746
14746
|
const object = await this.__fromJsonLd__Intent__(json, span, options);
|
|
14747
14747
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15158,7 +15158,7 @@ var Proposal = class Proposal extends Object$1 {
|
|
|
15158
15158
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15159
15159
|
*/
|
|
15160
15160
|
static async fromJsonLd(json, options = {}) {
|
|
15161
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
15161
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15162
15162
|
try {
|
|
15163
15163
|
const object = await this.__fromJsonLd__Proposal__(json, span, options);
|
|
15164
15164
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15371,7 +15371,7 @@ var Accept = class Accept extends Activity {
|
|
|
15371
15371
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15372
15372
|
*/
|
|
15373
15373
|
static async fromJsonLd(json, options = {}) {
|
|
15374
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
15374
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15375
15375
|
try {
|
|
15376
15376
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
15377
15377
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15523,7 +15523,7 @@ var Add = class Add extends Activity {
|
|
|
15523
15523
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15524
15524
|
*/
|
|
15525
15525
|
static async fromJsonLd(json, options = {}) {
|
|
15526
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
15526
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15527
15527
|
try {
|
|
15528
15528
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
15529
15529
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15702,7 +15702,7 @@ var Announce = class Announce extends Activity {
|
|
|
15702
15702
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15703
15703
|
*/
|
|
15704
15704
|
static async fromJsonLd(json, options = {}) {
|
|
15705
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
15705
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15706
15706
|
try {
|
|
15707
15707
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
15708
15708
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16097,7 +16097,7 @@ var Application = class Application extends Object$1 {
|
|
|
16097
16097
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16098
16098
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16099
16099
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16100
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
16100
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16101
16101
|
let fetchResult;
|
|
16102
16102
|
try {
|
|
16103
16103
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16259,7 +16259,7 @@ var Application = class Application extends Object$1 {
|
|
|
16259
16259
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16260
16260
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16261
16261
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16262
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
16262
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16263
16263
|
let fetchResult;
|
|
16264
16264
|
try {
|
|
16265
16265
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16439,7 +16439,7 @@ var Application = class Application extends Object$1 {
|
|
|
16439
16439
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16440
16440
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16441
16441
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16442
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
16442
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16443
16443
|
let fetchResult;
|
|
16444
16444
|
try {
|
|
16445
16445
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16581,7 +16581,7 @@ var Application = class Application extends Object$1 {
|
|
|
16581
16581
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16582
16582
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16583
16583
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16584
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
16584
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16585
16585
|
let fetchResult;
|
|
16586
16586
|
try {
|
|
16587
16587
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16720,7 +16720,7 @@ var Application = class Application extends Object$1 {
|
|
|
16720
16720
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16721
16721
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16722
16722
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16723
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
16723
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16724
16724
|
let fetchResult;
|
|
16725
16725
|
try {
|
|
16726
16726
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16844,7 +16844,7 @@ var Application = class Application extends Object$1 {
|
|
|
16844
16844
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16845
16845
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16846
16846
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16847
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
16847
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16848
16848
|
let fetchResult;
|
|
16849
16849
|
try {
|
|
16850
16850
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16971,7 +16971,7 @@ var Application = class Application extends Object$1 {
|
|
|
16971
16971
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16972
16972
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16973
16973
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16974
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
16974
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16975
16975
|
let fetchResult;
|
|
16976
16976
|
try {
|
|
16977
16977
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17096,7 +17096,7 @@ var Application = class Application extends Object$1 {
|
|
|
17096
17096
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17097
17097
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17098
17098
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17099
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
17099
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17100
17100
|
let fetchResult;
|
|
17101
17101
|
try {
|
|
17102
17102
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17219,7 +17219,7 @@ var Application = class Application extends Object$1 {
|
|
|
17219
17219
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17220
17220
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17221
17221
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17222
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
17222
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17223
17223
|
let fetchResult;
|
|
17224
17224
|
try {
|
|
17225
17225
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17342,7 +17342,7 @@ var Application = class Application extends Object$1 {
|
|
|
17342
17342
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17343
17343
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17344
17344
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17345
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
17345
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17346
17346
|
let fetchResult;
|
|
17347
17347
|
try {
|
|
17348
17348
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17504,7 +17504,7 @@ var Application = class Application extends Object$1 {
|
|
|
17504
17504
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17505
17505
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17506
17506
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17507
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
17507
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17508
17508
|
let fetchResult;
|
|
17509
17509
|
try {
|
|
17510
17510
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17670,7 +17670,7 @@ var Application = class Application extends Object$1 {
|
|
|
17670
17670
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17671
17671
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17672
17672
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17673
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
17673
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17674
17674
|
let fetchResult;
|
|
17675
17675
|
try {
|
|
17676
17676
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17884,7 +17884,7 @@ var Application = class Application extends Object$1 {
|
|
|
17884
17884
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17885
17885
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17886
17886
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17887
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
17887
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17888
17888
|
let fetchResult;
|
|
17889
17889
|
try {
|
|
17890
17890
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18569,7 +18569,7 @@ var Application = class Application extends Object$1 {
|
|
|
18569
18569
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18570
18570
|
*/
|
|
18571
18571
|
static async fromJsonLd(json, options = {}) {
|
|
18572
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
18572
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18573
18573
|
try {
|
|
18574
18574
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
18575
18575
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19157,7 +19157,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
19157
19157
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19158
19158
|
*/
|
|
19159
19159
|
static async fromJsonLd(json, options = {}) {
|
|
19160
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
19160
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19161
19161
|
try {
|
|
19162
19162
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
19163
19163
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19310,7 +19310,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
19310
19310
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19311
19311
|
*/
|
|
19312
19312
|
static async fromJsonLd(json, options = {}) {
|
|
19313
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
19313
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19314
19314
|
try {
|
|
19315
19315
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
19316
19316
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19440,7 +19440,7 @@ var Article = class Article extends Object$1 {
|
|
|
19440
19440
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19441
19441
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19442
19442
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19443
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
19443
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19444
19444
|
let fetchResult;
|
|
19445
19445
|
try {
|
|
19446
19446
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19578,7 +19578,7 @@ var Article = class Article extends Object$1 {
|
|
|
19578
19578
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19579
19579
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19580
19580
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19581
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
19581
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19582
19582
|
let fetchResult;
|
|
19583
19583
|
try {
|
|
19584
19584
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19864,7 +19864,7 @@ var Article = class Article extends Object$1 {
|
|
|
19864
19864
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19865
19865
|
*/
|
|
19866
19866
|
static async fromJsonLd(json, options = {}) {
|
|
19867
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
19867
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19868
19868
|
try {
|
|
19869
19869
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
19870
19870
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20145,7 +20145,7 @@ var Document = class Document extends Object$1 {
|
|
|
20145
20145
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20146
20146
|
*/
|
|
20147
20147
|
static async fromJsonLd(json, options = {}) {
|
|
20148
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
20148
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20149
20149
|
try {
|
|
20150
20150
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
20151
20151
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20340,7 +20340,7 @@ var Audio = class Audio extends Document {
|
|
|
20340
20340
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20341
20341
|
*/
|
|
20342
20342
|
static async fromJsonLd(json, options = {}) {
|
|
20343
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
20343
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20344
20344
|
try {
|
|
20345
20345
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
20346
20346
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20489,7 +20489,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
20489
20489
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20490
20490
|
*/
|
|
20491
20491
|
static async fromJsonLd(json, options = {}) {
|
|
20492
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
20492
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20493
20493
|
try {
|
|
20494
20494
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
20495
20495
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20641,7 +20641,7 @@ var Block = class Block extends Ignore {
|
|
|
20641
20641
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20642
20642
|
*/
|
|
20643
20643
|
static async fromJsonLd(json, options = {}) {
|
|
20644
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
20644
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20645
20645
|
try {
|
|
20646
20646
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
20647
20647
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20905,7 +20905,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
20905
20905
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20906
20906
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20907
20907
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20908
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
20908
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20909
20909
|
let fetchResult;
|
|
20910
20910
|
try {
|
|
20911
20911
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21026,7 +21026,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21026
21026
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21027
21027
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21028
21028
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21029
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
21029
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21030
21030
|
let fetchResult;
|
|
21031
21031
|
try {
|
|
21032
21032
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21147,7 +21147,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21147
21147
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21148
21148
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21149
21149
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21150
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
21150
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21151
21151
|
let fetchResult;
|
|
21152
21152
|
try {
|
|
21153
21153
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21268,7 +21268,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21268
21268
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21269
21269
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21270
21270
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21271
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
21271
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21272
21272
|
let fetchResult;
|
|
21273
21273
|
try {
|
|
21274
21274
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21399,7 +21399,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21399
21399
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21400
21400
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21401
21401
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21402
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
21402
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21403
21403
|
let fetchResult;
|
|
21404
21404
|
try {
|
|
21405
21405
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21519,7 +21519,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21519
21519
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21520
21520
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21521
21521
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21522
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
21522
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21523
21523
|
let fetchResult;
|
|
21524
21524
|
try {
|
|
21525
21525
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21639,7 +21639,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21639
21639
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21640
21640
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21641
21641
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21642
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
21642
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21643
21643
|
let fetchResult;
|
|
21644
21644
|
try {
|
|
21645
21645
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21759,7 +21759,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21759
21759
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21760
21760
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21761
21761
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21762
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
21762
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21763
21763
|
let fetchResult;
|
|
21764
21764
|
try {
|
|
21765
21765
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21879,7 +21879,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21879
21879
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21880
21880
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21881
21881
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21882
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
21882
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21883
21883
|
let fetchResult;
|
|
21884
21884
|
try {
|
|
21885
21885
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21999,7 +21999,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21999
21999
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22000
22000
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22001
22001
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22002
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
22002
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22003
22003
|
let fetchResult;
|
|
22004
22004
|
try {
|
|
22005
22005
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22119,7 +22119,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22119
22119
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22120
22120
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22121
22121
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22122
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
22122
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22123
22123
|
let fetchResult;
|
|
22124
22124
|
try {
|
|
22125
22125
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22239,7 +22239,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22239
22239
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22240
22240
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22241
22241
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22242
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
22242
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22243
22243
|
let fetchResult;
|
|
22244
22244
|
try {
|
|
22245
22245
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22688,7 +22688,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22688
22688
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22689
22689
|
*/
|
|
22690
22690
|
static async fromJsonLd(json, options = {}) {
|
|
22691
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
22691
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22692
22692
|
try {
|
|
22693
22693
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
22694
22694
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23168,7 +23168,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
23168
23168
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23169
23169
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23170
23170
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23171
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
23171
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23172
23172
|
let fetchResult;
|
|
23173
23173
|
try {
|
|
23174
23174
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23289,7 +23289,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
23289
23289
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23290
23290
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23291
23291
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23292
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
23292
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23293
23293
|
let fetchResult;
|
|
23294
23294
|
try {
|
|
23295
23295
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23409,7 +23409,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
23409
23409
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23410
23410
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23411
23411
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23412
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
23412
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23413
23413
|
let fetchResult;
|
|
23414
23414
|
try {
|
|
23415
23415
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23695,7 +23695,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
23695
23695
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23696
23696
|
*/
|
|
23697
23697
|
static async fromJsonLd(json, options = {}) {
|
|
23698
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
23698
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23699
23699
|
try {
|
|
23700
23700
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
23701
23701
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23938,7 +23938,7 @@ var Create = class Create extends Activity {
|
|
|
23938
23938
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23939
23939
|
*/
|
|
23940
23940
|
static async fromJsonLd(json, options = {}) {
|
|
23941
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
23941
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23942
23942
|
try {
|
|
23943
23943
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
23944
23944
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24113,7 +24113,7 @@ var Delete = class Delete extends Activity {
|
|
|
24113
24113
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24114
24114
|
*/
|
|
24115
24115
|
static async fromJsonLd(json, options = {}) {
|
|
24116
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
24116
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24117
24117
|
try {
|
|
24118
24118
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
24119
24119
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24265,7 +24265,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
24265
24265
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24266
24266
|
*/
|
|
24267
24267
|
static async fromJsonLd(json, options = {}) {
|
|
24268
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
24268
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24269
24269
|
try {
|
|
24270
24270
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
24271
24271
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24610,7 +24610,7 @@ var Endpoints = class {
|
|
|
24610
24610
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24611
24611
|
*/
|
|
24612
24612
|
static async fromJsonLd(json, options = {}) {
|
|
24613
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
24613
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24614
24614
|
try {
|
|
24615
24615
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
24616
24616
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24856,7 +24856,7 @@ var Event = class Event extends Object$1 {
|
|
|
24856
24856
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24857
24857
|
*/
|
|
24858
24858
|
static async fromJsonLd(json, options = {}) {
|
|
24859
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
24859
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24860
24860
|
try {
|
|
24861
24861
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
24862
24862
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25006,7 +25006,7 @@ var Flag = class Flag extends Activity {
|
|
|
25006
25006
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25007
25007
|
*/
|
|
25008
25008
|
static async fromJsonLd(json, options = {}) {
|
|
25009
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
25009
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25010
25010
|
try {
|
|
25011
25011
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
25012
25012
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25160,7 +25160,7 @@ var Follow = class Follow extends Activity {
|
|
|
25160
25160
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25161
25161
|
*/
|
|
25162
25162
|
static async fromJsonLd(json, options = {}) {
|
|
25163
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
25163
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25164
25164
|
try {
|
|
25165
25165
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
25166
25166
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25555,7 +25555,7 @@ var Group = class Group extends Object$1 {
|
|
|
25555
25555
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25556
25556
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25557
25557
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25558
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
25558
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25559
25559
|
let fetchResult;
|
|
25560
25560
|
try {
|
|
25561
25561
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25717,7 +25717,7 @@ var Group = class Group extends Object$1 {
|
|
|
25717
25717
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25718
25718
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25719
25719
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25720
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
25720
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25721
25721
|
let fetchResult;
|
|
25722
25722
|
try {
|
|
25723
25723
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25897,7 +25897,7 @@ var Group = class Group extends Object$1 {
|
|
|
25897
25897
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25898
25898
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25899
25899
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25900
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
25900
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25901
25901
|
let fetchResult;
|
|
25902
25902
|
try {
|
|
25903
25903
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26039,7 +26039,7 @@ var Group = class Group extends Object$1 {
|
|
|
26039
26039
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26040
26040
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26041
26041
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26042
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
26042
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26043
26043
|
let fetchResult;
|
|
26044
26044
|
try {
|
|
26045
26045
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26178,7 +26178,7 @@ var Group = class Group extends Object$1 {
|
|
|
26178
26178
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26179
26179
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26180
26180
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26181
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
26181
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26182
26182
|
let fetchResult;
|
|
26183
26183
|
try {
|
|
26184
26184
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26302,7 +26302,7 @@ var Group = class Group extends Object$1 {
|
|
|
26302
26302
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26303
26303
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26304
26304
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26305
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
26305
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26306
26306
|
let fetchResult;
|
|
26307
26307
|
try {
|
|
26308
26308
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26429,7 +26429,7 @@ var Group = class Group extends Object$1 {
|
|
|
26429
26429
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26430
26430
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26431
26431
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26432
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
26432
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26433
26433
|
let fetchResult;
|
|
26434
26434
|
try {
|
|
26435
26435
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26554,7 +26554,7 @@ var Group = class Group extends Object$1 {
|
|
|
26554
26554
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26555
26555
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26556
26556
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26557
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
26557
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26558
26558
|
let fetchResult;
|
|
26559
26559
|
try {
|
|
26560
26560
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26677,7 +26677,7 @@ var Group = class Group extends Object$1 {
|
|
|
26677
26677
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26678
26678
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26679
26679
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26680
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
26680
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26681
26681
|
let fetchResult;
|
|
26682
26682
|
try {
|
|
26683
26683
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26800,7 +26800,7 @@ var Group = class Group extends Object$1 {
|
|
|
26800
26800
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26801
26801
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26802
26802
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26803
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
26803
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26804
26804
|
let fetchResult;
|
|
26805
26805
|
try {
|
|
26806
26806
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26962,7 +26962,7 @@ var Group = class Group extends Object$1 {
|
|
|
26962
26962
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26963
26963
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26964
26964
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26965
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
26965
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26966
26966
|
let fetchResult;
|
|
26967
26967
|
try {
|
|
26968
26968
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27128,7 +27128,7 @@ var Group = class Group extends Object$1 {
|
|
|
27128
27128
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27129
27129
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27130
27130
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27131
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
27131
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27132
27132
|
let fetchResult;
|
|
27133
27133
|
try {
|
|
27134
27134
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27342,7 +27342,7 @@ var Group = class Group extends Object$1 {
|
|
|
27342
27342
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27343
27343
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27344
27344
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27345
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
27345
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27346
27346
|
let fetchResult;
|
|
27347
27347
|
try {
|
|
27348
27348
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28027,7 +28027,7 @@ var Group = class Group extends Object$1 {
|
|
|
28027
28027
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28028
28028
|
*/
|
|
28029
28029
|
static async fromJsonLd(json, options = {}) {
|
|
28030
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
28030
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28031
28031
|
try {
|
|
28032
28032
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
28033
28033
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28753,7 +28753,7 @@ var Link = class Link {
|
|
|
28753
28753
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28754
28754
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28755
28755
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28756
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
28756
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28757
28757
|
let fetchResult;
|
|
28758
28758
|
try {
|
|
28759
28759
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29045,7 +29045,7 @@ var Link = class Link {
|
|
|
29045
29045
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29046
29046
|
*/
|
|
29047
29047
|
static async fromJsonLd(json, options = {}) {
|
|
29048
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
29048
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29049
29049
|
try {
|
|
29050
29050
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
29051
29051
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29393,7 +29393,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
29393
29393
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29394
29394
|
*/
|
|
29395
29395
|
static async fromJsonLd(json, options = {}) {
|
|
29396
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
29396
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29397
29397
|
try {
|
|
29398
29398
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
29399
29399
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29555,7 +29555,7 @@ var Image = class Image extends Document {
|
|
|
29555
29555
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29556
29556
|
*/
|
|
29557
29557
|
static async fromJsonLd(json, options = {}) {
|
|
29558
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
29558
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29559
29559
|
try {
|
|
29560
29560
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
29561
29561
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29705,7 +29705,7 @@ var Offer = class Offer extends Activity {
|
|
|
29705
29705
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29706
29706
|
*/
|
|
29707
29707
|
static async fromJsonLd(json, options = {}) {
|
|
29708
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
29708
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29709
29709
|
try {
|
|
29710
29710
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
29711
29711
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29855,7 +29855,7 @@ var Invite = class Invite extends Offer {
|
|
|
29855
29855
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29856
29856
|
*/
|
|
29857
29857
|
static async fromJsonLd(json, options = {}) {
|
|
29858
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
29858
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29859
29859
|
try {
|
|
29860
29860
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
29861
29861
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30004,7 +30004,7 @@ var Join = class Join extends Activity {
|
|
|
30004
30004
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30005
30005
|
*/
|
|
30006
30006
|
static async fromJsonLd(json, options = {}) {
|
|
30007
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
30007
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30008
30008
|
try {
|
|
30009
30009
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
30010
30010
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30153,7 +30153,7 @@ var Leave = class Leave extends Activity {
|
|
|
30153
30153
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30154
30154
|
*/
|
|
30155
30155
|
static async fromJsonLd(json, options = {}) {
|
|
30156
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
30156
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30157
30157
|
try {
|
|
30158
30158
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
30159
30159
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30306,7 +30306,7 @@ var Like = class Like extends Activity {
|
|
|
30306
30306
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30307
30307
|
*/
|
|
30308
30308
|
static async fromJsonLd(json, options = {}) {
|
|
30309
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
30309
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30310
30310
|
try {
|
|
30311
30311
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
30312
30312
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30454,7 +30454,7 @@ var Listen = class Listen extends Activity {
|
|
|
30454
30454
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30455
30455
|
*/
|
|
30456
30456
|
static async fromJsonLd(json, options = {}) {
|
|
30457
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
30457
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30458
30458
|
try {
|
|
30459
30459
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
30460
30460
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30605,7 +30605,7 @@ var Mention = class Mention extends Link {
|
|
|
30605
30605
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30606
30606
|
*/
|
|
30607
30607
|
static async fromJsonLd(json, options = {}) {
|
|
30608
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
30608
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30609
30609
|
try {
|
|
30610
30610
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
30611
30611
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30755,7 +30755,7 @@ var Move = class Move extends Activity {
|
|
|
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.
|
|
30758
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30759
30759
|
try {
|
|
30760
30760
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
30761
30761
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30886,7 +30886,7 @@ var Note = class Note extends Object$1 {
|
|
|
30886
30886
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30887
30887
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30888
30888
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30889
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
30889
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30890
30890
|
let fetchResult;
|
|
30891
30891
|
try {
|
|
30892
30892
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31024,7 +31024,7 @@ var Note = class Note extends Object$1 {
|
|
|
31024
31024
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31025
31025
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31026
31026
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31027
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
31027
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31028
31028
|
let fetchResult;
|
|
31029
31029
|
try {
|
|
31030
31030
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31310,7 +31310,7 @@ var Note = class Note extends Object$1 {
|
|
|
31310
31310
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31311
31311
|
*/
|
|
31312
31312
|
static async fromJsonLd(json, options = {}) {
|
|
31313
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
31313
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31314
31314
|
try {
|
|
31315
31315
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
31316
31316
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31483,7 +31483,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
31483
31483
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31484
31484
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31485
31485
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31486
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
31486
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31487
31487
|
let fetchResult;
|
|
31488
31488
|
try {
|
|
31489
31489
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31753,7 +31753,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
31753
31753
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31754
31754
|
*/
|
|
31755
31755
|
static async fromJsonLd(json, options = {}) {
|
|
31756
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
31756
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31757
31757
|
try {
|
|
31758
31758
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
31759
31759
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31968,7 +31968,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
31968
31968
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31969
31969
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31970
31970
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31971
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
31971
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31972
31972
|
let fetchResult;
|
|
31973
31973
|
try {
|
|
31974
31974
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32261,7 +32261,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
32261
32261
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32262
32262
|
*/
|
|
32263
32263
|
static async fromJsonLd(json, options = {}) {
|
|
32264
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
32264
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32265
32265
|
try {
|
|
32266
32266
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
32267
32267
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32764,7 +32764,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32764
32764
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32765
32765
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32766
32766
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32767
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
32767
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32768
32768
|
let fetchResult;
|
|
32769
32769
|
try {
|
|
32770
32770
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32926,7 +32926,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32926
32926
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32927
32927
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32928
32928
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32929
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
32929
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32930
32930
|
let fetchResult;
|
|
32931
32931
|
try {
|
|
32932
32932
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33106,7 +33106,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33106
33106
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33107
33107
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33108
33108
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33109
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
33109
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33110
33110
|
let fetchResult;
|
|
33111
33111
|
try {
|
|
33112
33112
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33248,7 +33248,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33248
33248
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33249
33249
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33250
33250
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33251
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
33251
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33252
33252
|
let fetchResult;
|
|
33253
33253
|
try {
|
|
33254
33254
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33387,7 +33387,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33387
33387
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33388
33388
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33389
33389
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33390
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
33390
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33391
33391
|
let fetchResult;
|
|
33392
33392
|
try {
|
|
33393
33393
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33511,7 +33511,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33511
33511
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33512
33512
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33513
33513
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33514
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
33514
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33515
33515
|
let fetchResult;
|
|
33516
33516
|
try {
|
|
33517
33517
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33638,7 +33638,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33638
33638
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33639
33639
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33640
33640
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33641
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
33641
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33642
33642
|
let fetchResult;
|
|
33643
33643
|
try {
|
|
33644
33644
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33763,7 +33763,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33763
33763
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33764
33764
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33765
33765
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33766
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
33766
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33767
33767
|
let fetchResult;
|
|
33768
33768
|
try {
|
|
33769
33769
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33886,7 +33886,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33886
33886
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33887
33887
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33888
33888
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33889
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
33889
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33890
33890
|
let fetchResult;
|
|
33891
33891
|
try {
|
|
33892
33892
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34009,7 +34009,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34009
34009
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34010
34010
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34011
34011
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34012
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
34012
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34013
34013
|
let fetchResult;
|
|
34014
34014
|
try {
|
|
34015
34015
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34171,7 +34171,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34171
34171
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34172
34172
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34173
34173
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34174
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
34174
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34175
34175
|
let fetchResult;
|
|
34176
34176
|
try {
|
|
34177
34177
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34337,7 +34337,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34337
34337
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34338
34338
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34339
34339
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34340
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
34340
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34341
34341
|
let fetchResult;
|
|
34342
34342
|
try {
|
|
34343
34343
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34551,7 +34551,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34551
34551
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34552
34552
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34553
34553
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34554
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
34554
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34555
34555
|
let fetchResult;
|
|
34556
34556
|
try {
|
|
34557
34557
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35236,7 +35236,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35236
35236
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35237
35237
|
*/
|
|
35238
35238
|
static async fromJsonLd(json, options = {}) {
|
|
35239
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
35239
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35240
35240
|
try {
|
|
35241
35241
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
35242
35242
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35836,7 +35836,7 @@ var Page = class Page extends Document {
|
|
|
35836
35836
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35837
35837
|
*/
|
|
35838
35838
|
static async fromJsonLd(json, options = {}) {
|
|
35839
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
35839
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35840
35840
|
try {
|
|
35841
35841
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
35842
35842
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36231,7 +36231,7 @@ var Person = class Person extends Object$1 {
|
|
|
36231
36231
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36232
36232
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36233
36233
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36234
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
36234
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36235
36235
|
let fetchResult;
|
|
36236
36236
|
try {
|
|
36237
36237
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36393,7 +36393,7 @@ var Person = class Person extends Object$1 {
|
|
|
36393
36393
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36394
36394
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36395
36395
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36396
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
36396
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36397
36397
|
let fetchResult;
|
|
36398
36398
|
try {
|
|
36399
36399
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36573,7 +36573,7 @@ var Person = class Person extends Object$1 {
|
|
|
36573
36573
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36574
36574
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36575
36575
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36576
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
36576
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36577
36577
|
let fetchResult;
|
|
36578
36578
|
try {
|
|
36579
36579
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36715,7 +36715,7 @@ var Person = class Person extends Object$1 {
|
|
|
36715
36715
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36716
36716
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36717
36717
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36718
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
36718
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36719
36719
|
let fetchResult;
|
|
36720
36720
|
try {
|
|
36721
36721
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36854,7 +36854,7 @@ var Person = class Person extends Object$1 {
|
|
|
36854
36854
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36855
36855
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36856
36856
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36857
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
36857
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36858
36858
|
let fetchResult;
|
|
36859
36859
|
try {
|
|
36860
36860
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36978,7 +36978,7 @@ var Person = class Person extends Object$1 {
|
|
|
36978
36978
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36979
36979
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36980
36980
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36981
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
36981
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36982
36982
|
let fetchResult;
|
|
36983
36983
|
try {
|
|
36984
36984
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37105,7 +37105,7 @@ var Person = class Person extends Object$1 {
|
|
|
37105
37105
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37106
37106
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37107
37107
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37108
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
37108
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37109
37109
|
let fetchResult;
|
|
37110
37110
|
try {
|
|
37111
37111
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37230,7 +37230,7 @@ var Person = class Person extends Object$1 {
|
|
|
37230
37230
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37231
37231
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37232
37232
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37233
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
37233
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37234
37234
|
let fetchResult;
|
|
37235
37235
|
try {
|
|
37236
37236
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37353,7 +37353,7 @@ var Person = class Person extends Object$1 {
|
|
|
37353
37353
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37354
37354
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37355
37355
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37356
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
37356
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37357
37357
|
let fetchResult;
|
|
37358
37358
|
try {
|
|
37359
37359
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37476,7 +37476,7 @@ var Person = class Person extends Object$1 {
|
|
|
37476
37476
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37477
37477
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37478
37478
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37479
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
37479
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37480
37480
|
let fetchResult;
|
|
37481
37481
|
try {
|
|
37482
37482
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37638,7 +37638,7 @@ var Person = class Person extends Object$1 {
|
|
|
37638
37638
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37639
37639
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37640
37640
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37641
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
37641
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37642
37642
|
let fetchResult;
|
|
37643
37643
|
try {
|
|
37644
37644
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37804,7 +37804,7 @@ var Person = class Person extends Object$1 {
|
|
|
37804
37804
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37805
37805
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37806
37806
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37807
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
37807
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37808
37808
|
let fetchResult;
|
|
37809
37809
|
try {
|
|
37810
37810
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38018,7 +38018,7 @@ var Person = class Person extends Object$1 {
|
|
|
38018
38018
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38019
38019
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38020
38020
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38021
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
38021
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38022
38022
|
let fetchResult;
|
|
38023
38023
|
try {
|
|
38024
38024
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38703,7 +38703,7 @@ var Person = class Person extends Object$1 {
|
|
|
38703
38703
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38704
38704
|
*/
|
|
38705
38705
|
static async fromJsonLd(json, options = {}) {
|
|
38706
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
38706
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38707
38707
|
try {
|
|
38708
38708
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
38709
38709
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39480,7 +39480,7 @@ var Place = class Place extends Object$1 {
|
|
|
39480
39480
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39481
39481
|
*/
|
|
39482
39482
|
static async fromJsonLd(json, options = {}) {
|
|
39483
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
39483
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39484
39484
|
try {
|
|
39485
39485
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
39486
39486
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39681,7 +39681,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
39681
39681
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39682
39682
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39683
39683
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39684
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
39684
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39685
39685
|
let fetchResult;
|
|
39686
39686
|
try {
|
|
39687
39687
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39882,7 +39882,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
39882
39882
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39883
39883
|
*/
|
|
39884
39884
|
static async fromJsonLd(json, options = {}) {
|
|
39885
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
39885
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39886
39886
|
try {
|
|
39887
39887
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
39888
39888
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40079,7 +40079,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
40079
40079
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40080
40080
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40081
40081
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40082
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
40082
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40083
40083
|
let fetchResult;
|
|
40084
40084
|
try {
|
|
40085
40085
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40201,7 +40201,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
40201
40201
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40202
40202
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40203
40203
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40204
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
40204
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40205
40205
|
let fetchResult;
|
|
40206
40206
|
try {
|
|
40207
40207
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40339,7 +40339,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
40339
40339
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40340
40340
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40341
40341
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40342
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
40342
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40343
40343
|
let fetchResult;
|
|
40344
40344
|
try {
|
|
40345
40345
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40477,7 +40477,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
40477
40477
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40478
40478
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40479
40479
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40480
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
40480
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40481
40481
|
let fetchResult;
|
|
40482
40482
|
try {
|
|
40483
40483
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40729,7 +40729,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
40729
40729
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40730
40730
|
*/
|
|
40731
40731
|
static async fromJsonLd(json, options = {}) {
|
|
40732
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
40732
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40733
40733
|
try {
|
|
40734
40734
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
40735
40735
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41006,7 +41006,7 @@ var Read = class Read extends Activity {
|
|
|
41006
41006
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41007
41007
|
*/
|
|
41008
41008
|
static async fromJsonLd(json, options = {}) {
|
|
41009
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
41009
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41010
41010
|
try {
|
|
41011
41011
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
41012
41012
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41155,7 +41155,7 @@ var Reject = class Reject extends Activity {
|
|
|
41155
41155
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41156
41156
|
*/
|
|
41157
41157
|
static async fromJsonLd(json, options = {}) {
|
|
41158
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
41158
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41159
41159
|
try {
|
|
41160
41160
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
41161
41161
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41328,7 +41328,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
41328
41328
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41329
41329
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41330
41330
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41331
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
41331
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41332
41332
|
let fetchResult;
|
|
41333
41333
|
try {
|
|
41334
41334
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41451,7 +41451,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
41451
41451
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41452
41452
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41453
41453
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41454
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
41454
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41455
41455
|
let fetchResult;
|
|
41456
41456
|
try {
|
|
41457
41457
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41613,7 +41613,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
41613
41613
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41614
41614
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41615
41615
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41616
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
41616
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41617
41617
|
let fetchResult;
|
|
41618
41618
|
try {
|
|
41619
41619
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41891,7 +41891,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
41891
41891
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41892
41892
|
*/
|
|
41893
41893
|
static async fromJsonLd(json, options = {}) {
|
|
41894
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
41894
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41895
41895
|
try {
|
|
41896
41896
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
41897
41897
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42106,7 +42106,7 @@ var Remove = class Remove extends Activity {
|
|
|
42106
42106
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42107
42107
|
*/
|
|
42108
42108
|
static async fromJsonLd(json, options = {}) {
|
|
42109
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
42109
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42110
42110
|
try {
|
|
42111
42111
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
42112
42112
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42501,7 +42501,7 @@ var Service = class Service extends Object$1 {
|
|
|
42501
42501
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42502
42502
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42503
42503
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42504
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
42504
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42505
42505
|
let fetchResult;
|
|
42506
42506
|
try {
|
|
42507
42507
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42663,7 +42663,7 @@ var Service = class Service extends Object$1 {
|
|
|
42663
42663
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42664
42664
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42665
42665
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42666
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
42666
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42667
42667
|
let fetchResult;
|
|
42668
42668
|
try {
|
|
42669
42669
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42843,7 +42843,7 @@ var Service = class Service extends Object$1 {
|
|
|
42843
42843
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42844
42844
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42845
42845
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42846
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
42846
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42847
42847
|
let fetchResult;
|
|
42848
42848
|
try {
|
|
42849
42849
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42985,7 +42985,7 @@ var Service = class Service extends Object$1 {
|
|
|
42985
42985
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42986
42986
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42987
42987
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42988
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
42988
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42989
42989
|
let fetchResult;
|
|
42990
42990
|
try {
|
|
42991
42991
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43124,7 +43124,7 @@ var Service = class Service extends Object$1 {
|
|
|
43124
43124
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43125
43125
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43126
43126
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43127
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
43127
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43128
43128
|
let fetchResult;
|
|
43129
43129
|
try {
|
|
43130
43130
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43248,7 +43248,7 @@ var Service = class Service extends Object$1 {
|
|
|
43248
43248
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43249
43249
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43250
43250
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43251
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
43251
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43252
43252
|
let fetchResult;
|
|
43253
43253
|
try {
|
|
43254
43254
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43375,7 +43375,7 @@ var Service = class Service extends Object$1 {
|
|
|
43375
43375
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43376
43376
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43377
43377
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43378
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
43378
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43379
43379
|
let fetchResult;
|
|
43380
43380
|
try {
|
|
43381
43381
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43500,7 +43500,7 @@ var Service = class Service extends Object$1 {
|
|
|
43500
43500
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43501
43501
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43502
43502
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43503
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
43503
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43504
43504
|
let fetchResult;
|
|
43505
43505
|
try {
|
|
43506
43506
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43623,7 +43623,7 @@ var Service = class Service extends Object$1 {
|
|
|
43623
43623
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43624
43624
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43625
43625
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43626
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
43626
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43627
43627
|
let fetchResult;
|
|
43628
43628
|
try {
|
|
43629
43629
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43746,7 +43746,7 @@ var Service = class Service extends Object$1 {
|
|
|
43746
43746
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43747
43747
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43748
43748
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43749
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
43749
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43750
43750
|
let fetchResult;
|
|
43751
43751
|
try {
|
|
43752
43752
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43908,7 +43908,7 @@ var Service = class Service extends Object$1 {
|
|
|
43908
43908
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43909
43909
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43910
43910
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43911
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
43911
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43912
43912
|
let fetchResult;
|
|
43913
43913
|
try {
|
|
43914
43914
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44074,7 +44074,7 @@ var Service = class Service extends Object$1 {
|
|
|
44074
44074
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44075
44075
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44076
44076
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44077
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
44077
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44078
44078
|
let fetchResult;
|
|
44079
44079
|
try {
|
|
44080
44080
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44288,7 +44288,7 @@ var Service = class Service extends Object$1 {
|
|
|
44288
44288
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44289
44289
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44290
44290
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44291
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
44291
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44292
44292
|
let fetchResult;
|
|
44293
44293
|
try {
|
|
44294
44294
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44973,7 +44973,7 @@ var Service = class Service extends Object$1 {
|
|
|
44973
44973
|
* @throws {TypeError} If the given `json` is invalid.
|
|
44974
44974
|
*/
|
|
44975
44975
|
static async fromJsonLd(json, options = {}) {
|
|
44976
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
44976
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
44977
44977
|
try {
|
|
44978
44978
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
44979
44979
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45655,7 +45655,7 @@ var Source = class {
|
|
|
45655
45655
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45656
45656
|
*/
|
|
45657
45657
|
static async fromJsonLd(json, options = {}) {
|
|
45658
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
45658
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45659
45659
|
try {
|
|
45660
45660
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
45661
45661
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45833,7 +45833,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
45833
45833
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45834
45834
|
*/
|
|
45835
45835
|
static async fromJsonLd(json, options = {}) {
|
|
45836
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
45836
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45837
45837
|
try {
|
|
45838
45838
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
45839
45839
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45982,7 +45982,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
45982
45982
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45983
45983
|
*/
|
|
45984
45984
|
static async fromJsonLd(json, options = {}) {
|
|
45985
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
45985
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45986
45986
|
try {
|
|
45987
45987
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
45988
45988
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46220,7 +46220,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
46220
46220
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46221
46221
|
*/
|
|
46222
46222
|
static async fromJsonLd(json, options = {}) {
|
|
46223
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
46223
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46224
46224
|
try {
|
|
46225
46225
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
46226
46226
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46406,7 +46406,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
46406
46406
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46407
46407
|
*/
|
|
46408
46408
|
static async fromJsonLd(json, options = {}) {
|
|
46409
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
46409
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46410
46410
|
try {
|
|
46411
46411
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
46412
46412
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46569,7 +46569,7 @@ var Undo = class Undo extends Activity {
|
|
|
46569
46569
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46570
46570
|
*/
|
|
46571
46571
|
static async fromJsonLd(json, options = {}) {
|
|
46572
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
46572
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46573
46573
|
try {
|
|
46574
46574
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
46575
46575
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46780,7 +46780,7 @@ var Update = class Update extends Activity {
|
|
|
46780
46780
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46781
46781
|
*/
|
|
46782
46782
|
static async fromJsonLd(json, options = {}) {
|
|
46783
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
46783
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46784
46784
|
try {
|
|
46785
46785
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
46786
46786
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46942,7 +46942,7 @@ var Video = class Video extends Document {
|
|
|
46942
46942
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46943
46943
|
*/
|
|
46944
46944
|
static async fromJsonLd(json, options = {}) {
|
|
46945
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
46945
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46946
46946
|
try {
|
|
46947
46947
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
46948
46948
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -47090,7 +47090,7 @@ var View = class View extends Activity {
|
|
|
47090
47090
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47091
47091
|
*/
|
|
47092
47092
|
static async fromJsonLd(json, options = {}) {
|
|
47093
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
47093
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47094
47094
|
try {
|
|
47095
47095
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
47096
47096
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|